﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

    html, body {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    h1:focus {
        outline: none;
    }

    a, .btn-link {
        color: #0071c1;
    }

    .btn-primary {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }

    .content {
        padding-top: 1.1rem;
    }

    .valid.modified:not([type=checkbox]) {
        outline: 1px solid #26b050;
    }

    .invalid {
        outline: 1px solid red;
    }

    .validation-message {
        color: red;
    }

    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 0;
        padding: 0.6rem 1.25rem 0.7rem 1.25rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    .blazor-error-boundary {
        background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgO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9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

    /*inicia poppins*/
    @font-face {
        font-family: 'poppinsbold';
        src: url('../css/open-iconic/font/Poppins/poppins-bold-webfont.woff2') format('woff2'), url('../css/open-iconic/font/Poppins/poppins-bold-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }


    @font-face {
        font-family: 'poppinsregular';
        src: url('../css/open-iconic/font/Poppins/poppins-regular-webfont.woff2') format('woff2'), url('../css/open-iconic/font/Poppins/poppins-regular-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }

    h1 a {
        font-family: 'poppinsbold' !important;
    }

    h2 a {
        font-family: 'poppinsbold' !important;
    }

    h3 a {
        font-family: 'poppinsbold' !important;
    }

    h4 a {
        font-family: 'poppinsbold' !important;
    }

    h5 a {
        font-family: 'poppinsbold' !important;
    }

    h6 a {
        font-family: 'poppinsbold' !important;
    }

    h1 {
        font-family: 'poppinsbold' !important;
    }

    h2 {
        font-family: 'poppinsbold' !important;
    }

    h3 {
        font-family: 'poppinsbold' !important;
    }

    h4 {
        font-family: 'poppinsbold' !important;
    }

    h5 {
        font-family: 'poppinsbold' !important;
    }

    h6 {
        font-family: 'poppinsbold' !important;
    }

    p {
        font-family: 'poppinsregular' !important;
    }

    a:not(template-header a):not(h1 a):not(h2 a):not(h3 a):not(h4 a):not(h5 a):not(h6 a) {
        font-family: 'poppinsregular' !important;
    }

    span {
        font-family: 'poppinsregular' !important;
    }

    input {
        font-family: 'poppinsregular' !important;
    }

    div {
        font-family: 'poppinsregular' !important;
    }

    body {
        font-family: 'poppinsregular' !important;
    }

    button {
        font-family: 'poppinsbold' !important;
    }

    /* CajaProductoDetalles */
    .controls-container {
        display: flex;
        gap: 20px; /* separación entre slider y select */
        align-items: center;
        justify-content: center;
        flex-wrap: wrap; /* permite que salten de línea */
    }

    /* Cuando la pantalla es angosta */
    @media (max-width: 600px) {
        .controls-container {
            flex-direction: column; /* fuerza que se apilen verticalmente */
            gap: 15px;
        }

        .employee-select,
        .pricing-toggle {
            width: 100%; /* que ocupen todo el ancho */
            max-width: 300px; /* opcional: límite para que no crezcan demasiado */
        }

        /* Ajustamos el ícono para pantallas pequeñas */
        .employee-select::after {
            right: 10px; /* más pegado al borde */
            font-size: 0.7rem; /* un poco más pequeño */
        }

        .employee-select select {
            font-size: 0.9rem; /* opcional: más compacto */
            padding-right: 35px; /* ajustamos el espacio para el icono */
        }
    }

    @media (max-width: 768px) {
        .employee-select {
            margin-bottom: 14px;
            margin-left: 60px;
        }
    }

    .pricing-toggle {
        display: flex;
        position: relative;
        background: #f8f9fa;
        border-radius: 50px;
        /*overflow: hidden;*/
        width: 400px; /* ajustado */
        height: 55px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        font-family: 'Segoe UI', sans-serif;
    }

    .pricing-toggle input {
        display: none;
    }

    .pricing-toggle label {
        flex: 1;
        text-align: center;
        line-height: 55px;
        cursor: pointer;
        z-index: 2;
        font-weight: 600;
        color: #6c757d;
        transition: color 0.3s ease;
        user-select: none;
        position: relative;
    }

    /* El slider ahora ocupa exactamente un tercio */
    .pricing-toggle .slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 33.333%;
        height: 100%;
        background: linear-gradient(135deg, #008080, #00b4d8);
        /* background: linear-gradient(135deg, #0078d7, #00b4d8); */
        border-radius: 50px;
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1;
        box-shadow: 0 4px 10px rgba(0,120,215,0.3);
    }

    /* Posiciones del slider */
    #mensual:checked ~ .slider {
        transform: translateX(0%);
    }

    #trimestral:checked ~ .slider {
        transform: translateX(100%);
    }

    #anual:checked ~ .slider {
        transform: translateX(200%);
    }

    /* Texto seleccionado */
    #mensual:checked + label,
    #trimestral:checked + label,
    #anual:checked + label {
        color: white;
    }

    /* Selector de empleados personalizado */
    .employee-select select {
        height: 55px;
        width: 180px;
        padding: 0 15px;
        border-radius: 50px;
        border: none;
        background: #f8f9fa; /* gris claro */
        font-family: 'Segoe UI', sans-serif !important;
        font-weight: 600;
        color: #6c757d; /* texto gris oscuro */
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        appearance: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    /* Flecha personalizada */
    .employee-select {
        position: relative;
        display: inline-block;
        width: 220px; /* tamaño por defecto */
    }

    .employee-select::after {
        content: '▾';
        position: absolute;
        right: 65px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #6c757d;
        font-size: 16px;
    }

    /* Hover solo cambia fondo y slider text color, no opciones */
    .employee-select select:hover {
        background: linear-gradient(135deg, #008080, #00b4d8);
        /* background: linear-gradient(135deg, #0078d7, #00b4d8); */
        color: white; /* el texto del select visible sí cambia */
    }

    /* Opciones desplegables siempre legibles */
    .employee-select select option {
        background: #f0f2f5; /* gris claro */
        color: #6c757d; /* texto gris oscuro */
    }


    /* Botón de Comprar */
    .btn-comprar {
        background: linear-gradient(135deg, #ff7e5f, #ff3d00);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 14px 40px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 6px 15px rgba(255, 61, 0, 0.3);
        transition: all 0.3s ease;
        font-family: 'Segoe UI', sans-serif;
    }

    .btn-comprar:hover {
        background: linear-gradient(135deg, #ff3d00, #ff7e5f);
        box-shadow: 0 8px 20px rgba(255, 61, 0, 0.5);
        transform: translateY(-2px);
    }

    /* Botón de Comprar */
    .btn-comprar {
        background: linear-gradient(135deg, #ff7e5f, #ff3d00);
        color: white;
        border: none;
        border-radius: 50px !important;
        padding: 14px 40px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 6px 15px rgba(255, 61, 0, 0.3);
        transition: all 0.3s ease;
        font-family: 'Segoe UI', sans-serif;
    }

    .btn-comprar:hover {
        background: linear-gradient(135deg, #ff3d00, #ff7e5f);
        box-shadow: 0 8px 20px rgba(255, 61, 0, 0.5);
        transform: translateY(-2px);
    }


    /* ESTILOS DE SPINNER */
    /* Contenedor limpio */
    .loading-alert {
        background: #fff;
        color: #333;
        padding: 25px 20px;
        border-radius: 12px;
        /*border: 1px solid #e0e0e0;*/
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Spinner más grueso */
    .spinner {
        width: 55px;
        height: 55px;
        border: 6px solid rgba(234, 101, 26, 0.2);
        border-top: 6px solid #ea651a;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 15px;
    }

    /* Animación */
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Texto normal (no cursiva) */
    .loading-alert p {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: #444;
    }

    .pricing-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap;
        /* max-width: 1200px; */
    }

    .pricing-card {
        position: relative; /* necesario para el ribbon */
        background: white;
        border-radius: 20px;
        padding: 30px;
        width: 30%;
        text-align: center;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-left: 1%;
        margin-right: 1%;
    }

    /* Para pantallas menores a 992px mostramos las descripciones de los planes en formato vertical */
    @media (max-width: 768px) {
        .pricing-container {
            flex-direction: column; /* apila en columna */
        }

        .pricing-card {
            width: 100%; /* ocupa todo el ancho */
            max-width: 100%;
        }

        .card-body {
            min-height: auto !important;
        }
    }

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }

    /*.pricing-card.featured:hover {
        transform: scale(1.05) translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }*/

    .pricing-title {
        font-size: 1.8rem !important;
        font-weight: 700;
        color: #0078d7;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
    }

    .pricing-subtitle {
        font-size: 16px;
        color: #555;
        margin-bottom: 20px;
        font-style: italic;
    }

    .features-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
        text-align: left;
    }

    .features-list li {
        font-size: 15px;
        padding: 8px 0;
        /*display: flex;*/
        /*align-items: center;*/
        /*gap: 8px;*/
        /*color: #333;*/
    }

    /* Resaltamos el "más popular" */
    .featured {
        /*border: 3px solid #ff7e5f;*/
        /*transform: scale(1.05);*/
    }

    /* Ribbon */
    .ribbon {
        width: 150px;
        height: 150px;
        overflow: hidden;
        position: absolute;
        top: -10px;
        right: -10px;
    }

    .ribbon span {
        position: absolute;
        display: block;
        width: 200px;
        padding: 8px 0;
        background: linear-gradient(135deg, #ff7e5f, #feb47b);
        color: white;
        text-align: center;
        font-weight: bold;
        font-size: 14px;
        transform: rotate(45deg);
        top: 30px;
        right: -50px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    }

    .features-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .features-list li {
        position: relative;
        padding-left: 35px; /* espacio para el icono */
        /* margin-bottom: 12px; */
        font-size: 1rem;
        color: #333;
    }

    .features-list li {
        margin-bottom: 0rem !important;
    }

    /* Icono circular con palomita */
    .features-list li::before {
        content: "✔"; /* la palomita */
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(135deg, #008080, #00b4d8);
        color: white;
        font-size: 0.8rem;
        font-weight: bold;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* Estilos popup login */
    .login-modal {
        background: #fff;
        border-radius: 20px;
        padding: 40px 30px;
        width: 100%;
        max-width: 400px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        text-align: center;
        position: relative;
    }

    /* Título */
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        color: #333;
    }

    /* Botón cerrar */
    .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        border: none;
        background: transparent;
        font-size: 24px;
        cursor: pointer;
        color: #888;
        transition: color 0.3s ease;
    }

    .close-btn:hover {
        color: #000;
    }

    /* Inputs */
    .input-field {
        width: 100%;
        padding: 12px 15px;
        margin: 10px 0;
        border-radius: 12px;
        border: 1px solid #ddd;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .input-field:focus {
        border-color: #6a11cb;
        box-shadow: 0 0 8px rgba(106,17,203,0.3);
        outline: none;
    }

    /* Botón principal (hereda estilo del comprar) */
    .btn-comprar {
        margin-top: 15px;
        width: 100%;
    }

    /* Texto de registro */
    .register-text {
        margin-top: 20px;
        font-size: 0.9rem;
        color: #555;
    }

    .register-text a {
        color: #6a11cb;
        font-weight: 600;
        text-decoration: none;
    }

    .register-text a:hover {
        text-decoration: underline;
    }

    .section-header {
        padding-top: 76px;
        text-align: center;
        margin-bottom: 10px; /* separación con lo que sigue */
    }

    .main-title {
        color: #008888 !important;
        font-size: 2rem;
        margin: 0;
    }

    .subtitle {
        font-size: 1.2rem;
        color: #666; /* gris */
        margin-top: 8px;
    }

    /* Estilos para Insignia de descuento */
    .discount-badge {
        position: absolute;
        top: -18px;
        right: -18px;
        width: 42px;
        height: 42px;
        background: url("../assets/img/svg/badge.svg") no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: bold;
        color: #fff; /* texto negro para contraste */
        text-shadow: 0 1px 2px rgba(0,0,0,0.8);
        pointer-events: none;
        filter: drop-shadow(0 3px 3px rgba(0,0,0,0.3));
    }


     /* Estilos para Menú responsivo */
    .nav-menu > ul {
        display: flex;
        list-style: none;
        margin: 0px;
    }

    .nav-menu > ul > li {
        position: relative;
        white-space: nowrap;
        padding: 10px 0 10px 28px;
    }

    .nav-menu a {
        display: block;
        position: relative;
        color: #008888 !important;
        transition: 0.3s;
        font-size: 15px;
        font-family: "Dosis", sans-serif !important;
        text-transform: uppercase;
        font-weight: 600;
    }

    #header {
        background: #fff;
        transition: all 0.5s;
        z-index: 997;
        padding: 20px 0;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
    }

    .mr-auto {
        margin-right: auto;
    }

    a {
        text-decoration: none;
        color: #008888;
        font-family: "Dosis", sans-serif;
    }

    /* Estilo del botón hamburguesa */
    .mobile-nav-toggle {
        font-size: 28px;
        background: none;
        border: none;
        color: #008888;
        cursor: pointer;
    }

    /* Estilos móviles */
    @media (max-width: 991px) {
        .nav-menu {
            display: none; /* oculto por defecto */
            position: absolute;
            top: 70px; /* justo debajo del header */
            left: 0;
            right: 0;
            background: #fff;
            padding: 20px;
            box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
            z-index: 999;
        }

            /* cuando está activo */
            .nav-menu.active {
                display: block; /* visible */
            }

            /* aquí el truco: los <ul> en móviles son columnas */
            .nav-menu > ul {
                flex-direction: column;
                align-items: flex-start; /* opcional: alinear a la izquierda */
            }

            .nav-menu > ul > li {
                padding: 14px 0; /* más espacio entre items */
            }

            .nav-menu a {
                font-size: 18px; /* texto más grande en móviles */
                padding: 12px 0; /* área de toque más amplia */
            }
    }

.disable {
    color: #919191 !important;
    display: block;
    position: relative;
    transition: 0.3s;
    font-size: 15px;
    font-family: "Dosis", sans-serif !important;
    text-transform: uppercase;
    font-weight: 600;
}