/* ============================================
   RESET GENERAL
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
}


/* ============================================
   PÁGINA DE LOGIN Y REGISTRO - FONDO
   ============================================ */

.login-page {
    background: linear-gradient(
        135deg,
        #1a4a5e,
        #c4a4b5,
        #e8b4b8,
        #2d6b7a,
        #d4a0a0
    );
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}


/* ============================================
   BLOBS (círculos decorativos del fondo)
   ============================================ */

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.blob-1 {
    width: 250px;
    height: 250px;
    background: #e74c6f;
    top: -50px;
    left: 15%;
    opacity: 0.7;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #2d6b5a;
    bottom: -80px;
    right: 10%;
    opacity: 0.6;
}

.blob-3 {
    width: 150px;
    height: 150px;
    background: #f28b7d;
    bottom: 15%;
    left: 20%;
    opacity: 0.7;
}


/* ============================================
   TARJETA DE VIDRIO (GLASSMORPHISM)
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}


/* ============================================
   TARJETA DE LOGIN
   ============================================ */

.login-card {
    width: 90%;
    max-width: 420px;
    padding: 50px 40px;
    text-align: center;
}


/* ============================================
   TARJETA DE REGISTRO
   ============================================ */

.registro-card {
    width: 90%;
    max-width: 450px;
    padding: 45px 40px;
    text-align: center;
}


/* ============================================
   TÍTULOS LOGIN / REGISTRO
   ============================================ */

.login-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 40px;
}


/* ============================================
   CAMPOS DE FORMULARIO
   ============================================ */

.input-group {
    margin-bottom: 24px;
    text-align: left;
}

.input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   BOTÓN LOGIN
   ============================================ */

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #E497B3, #2C51B3);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s ease;
}

.btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C51B3, #E497B3);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-login:hover::after {
    transform: translateX(0);
}


/* ============================================
   BOTÓN "IR AL PAGO"
   ============================================ */

.btn-pago {
    background: linear-gradient(135deg, #2C51B3, #E497B3);
}

.btn-pago::after {
    background: linear-gradient(135deg, #E497B3, #2C51B3);
}


/* ============================================
   LINK "¿Ya tenés cuenta?" / "¿No tenés cuenta?"
   ============================================ */

.link-login {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.link-login a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.link-login a:hover {
    border-bottom-color: #ffffff;
}


/* ============================================
   RESPONSIVE LOGIN / REGISTRO
   ============================================ */

@media (max-width: 480px) {
    .login-card,
    .registro-card {
        padding: 40px 25px;
        margin: 20px;
    }

    .login-title {
        font-size: 22px;
    }
}


/* ============================================
   ============================================
   ===    DASHBOARD (PANTALLA DE CLASES)    ===
   ============================================
   ============================================ */


/* ============================================
   PÁGINA DASHBOARD - FONDO
   ============================================ */

.dashboard-page {
    background: linear-gradient(
        160deg,
        #f0c8d0,
        #e6d2ee,
        #d8d4f8,
        #d0e0f4,
        #eecfd8
    );
    min-height: 100vh;
}


/* ============================================
   BARRA SUPERIOR
   ============================================ */

.top-bar {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding: 28px 5px 12px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dias-restantes {
    color: #1e2a4a;
    font-size: 14px;
    font-weight: 400;
}

.dias-restantes strong {
    font-weight: 800;
}


/* ============================================
   BOTÓN SALIR
   ============================================ */

.btn-salir {
    background: linear-gradient(135deg, #E497B3, #2C51B3);
    color: #ffffff;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    border: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s ease;
}

.btn-salir::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C51B3, #E497B3);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-salir:hover::after {
    transform: translateX(0);
}


/* ============================================
   BARRA DE PROGRESO
   ============================================ */

.barra-progreso-container {
    width: 90%;
    max-width: 600px;
    margin: 8px auto 28px auto;
    background: #1e2a4a;
    border-radius: 14px;
    padding: 15px 20px;
}

.barra-progreso-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.barra-progreso-titulo {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.barra-progreso-porcentaje {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
}

.barra-progreso {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

/* BARRA DE PROGRESO COLOR ROSA */
.barra-progreso-relleno {
    height: 100%;
    background: linear-gradient(90deg, #E497B3, #f0b8cc);
    border-radius: 10px;
    transition: width 0.8s ease;
}


/* ============================================
   FEED (contenedor de tarjetas)
   ============================================ */

.feed {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 50px;
}


/* ============================================
   TARJETA DE CLASE
   ============================================ */

.clase-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 38px 32px;
    margin-bottom: 28px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}


/* ============================================
   "Clase 01", "Clase 02"...
   ============================================ */

.clase-numero {
    color: #c4878c;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}


/* ============================================
   TÍTULO DE LA CLASE
   ============================================ */

.clase-titulo {
    color: #1e2a4a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}


/* ============================================
   SUBTÍTULOS
   ============================================ */

.subtitulo {
    color: #1e2a4a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}


/* ============================================
   CONTENEDOR DE VIDEO
   ============================================ */

.video-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #1a1a2e;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================
   DESCRIPCIÓN DEL VIDEO
   ============================================ */

.video-descripcion {
    color: #606060;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 8px;
    font-weight: 400;
}


/* ============================================
   LÍNEA SEPARADORA
   ============================================ */

.separador {
    border: none;
    border-top: 1px solid #eeeeee;
    margin: 24px 0;
}


/* ============================================
   CONTENEDOR DE BOTONES DE MATERIAL
   ============================================ */

.material-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}


/* ============================================
   BOTONES DE MATERIAL - BORDE DEGRADÉ
   ============================================ */

.btn-material {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
    padding: 9px 22px;
    border-radius: 25px;
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #2C51B3, #E497B3) border-box;
    color: #2C51B3;
    position: relative;
    isolation: isolate;
    clip-path: inset(0 round 25px);
    transition: color 0.4s ease;
    cursor: pointer;
}

.btn-material::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 25px;
    background: #2C51B3;
    transform: translateX(calc(-100% - 4px));
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-material:hover::after {
    transform: translateX(0);
}

.btn-material:hover {
    color: #ffffff;
}


/* ============================================
   BOTÓN YOUTUBE/ENLACES
   ============================================ */

.btn-youtube {
    color: #E497B3;
}

.btn-youtube::after {
    background: #E497B3;
}

.btn-youtube:hover {
    color: #ffffff;
}


/* ============================================
   ============================================
   ===    CLASES BLOQUEADAS - GLASS PREMIUM ===
   ============================================
   ============================================ */

/* Capa principal de bloqueo */
.bloqueo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;

    /* Glass premium - más transparente */
    background: rgba(210, 200, 230, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Borde exterior glass */
    border-radius: 22px;

    /* Centra el contenido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Transición para desbloqueo */
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Borde doble glass - borde exterior */
.bloqueo-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

/* Borde doble glass - borde interior */
.bloqueo-overlay::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

/* Ícono prohibido - solo bordes, efecto relieve glass */
.bloqueo-icono {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    position: relative;
}

/* Círculo exterior del ícono prohibido */
.bloqueo-icono::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.1),
        inset 0 0 8px rgba(255, 255, 255, 0.05);
}

/* Línea diagonal del ícono prohibido */
.bloqueo-icono::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

/* Mensaje de bloqueo */
.bloqueo-mensaje {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    max-width: 280px;
    line-height: 1.7;
    letter-spacing: 0.1px;
}

.bloqueo-mensaje strong {
    font-weight: 600;
}

/* Cuando la clase se DESBLOQUEA */
.clase-desbloqueada .bloqueo-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* ============================================
   RESPONSIVE DASHBOARD - CELULARES
   ============================================ */

@media (max-width: 480px) {

    .top-bar {
        width: 92%;
        padding: 22px 2px 10px 2px;
    }

    .dias-restantes {
        font-size: 13px;
    }

    .btn-salir {
        padding: 7px 18px;
        font-size: 12px;
    }

    .barra-progreso-container {
        width: 92%;
        padding: 13px 16px;
    }

    .feed {
        width: 92%;
    }

    .clase-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .clase-titulo {
        font-size: 19px;
    }

    .subtitulo {
        font-size: 16px;
    }

    .material-links {
        flex-direction: column;
    }

    .btn-material {
        text-align: center;
    }

    .bloqueo-overlay::before {
        border-radius: 18px;
    }

    .bloqueo-overlay::after {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 14px;
    }

    .bloqueo-overlay {
        border-radius: 18px;
    }

    .bloqueo-icono {
        width: 50px;
        height: 50px;
    }

    .bloqueo-mensaje {
        font-size: 12px;
        max-width: 230px;
    }
}/* ============================================
   PIE DE PÁGINA - FIRMA
   ============================================ */

.firma-container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto 60px auto;
    text-align: center;
}

.firma-img {
    max-width: 280px;
    width: 100%;
    opacity: 0.7;
}/* ============================================
   MENSAJE DE ERROR EN LOGIN
   ============================================ */

.mensaje-error {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}
/* ============================================
   PÁGINA DE CONFIRMACIÓN DE PAGO
   ============================================ */

.confirmacion-card {
    width: 90%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.confirmacion-icono {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.confirmacion-titulo {
    color: #1e2a4a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.confirmacion-subtitulo {
    color: #c4878c;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0;
}

.confirmacion-linea {
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #E497B3, #2C51B3);
    margin: 22px auto;
    border-radius: 2px;
}

.confirmacion-texto {
    color: #606060;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 10px;
    font-weight: 400;
}

.confirmacion-texto strong {
    color: #1e2a4a;
    font-weight: 600;
}

.confirmacion-firma {
    margin-top: 22px;
    color: #999999;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6;
}

.confirmacion-firma strong {
    color: #c4878c;
    font-weight: 600;
    font-style: normal;
}

.btn-confirmacion {
    display: inline-block;
    margin-top: 28px;
    background: linear-gradient(135deg, #E497B3, #2C51B3);
    color: #ffffff;
    padding: 13px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s ease;
}

.btn-confirmacion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C51B3, #E497B3);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-confirmacion:hover::after {
    transform: translateX(0);
}
/* ============================================
   MATERIAL EXTRA - ITEMS CON TÍTULO
   ============================================ */

.extra-item {
    margin-bottom: 8px;
}

.extra-titulo {
    color: #1e2a4a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
    line-height: 1.4;
}