/* ================================================
   CSS PARA LOGIN - EDUTIC 2026
   Agregar después de congresosecciones2026.css
   SOLO USA COLORES: --edutic-blue, --edutic-dark
   ================================================ */

/* Banner de login */
.hero-login {
    background: linear-gradient(135deg, var(--edutic-dark) 0%, var(--edutic-blue) 100%);
    min-height: 280px;
    padding: 120px 0 80px;
}


.login-banner-content {
    text-align: center;
    color: white;
}

.login-banner-content .title{
    font-size: 2rem;
}

.badge-login {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.login-banner-date {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Formulario 2 columnas */
.login-wrapper {
    margin-top: -60px;
    padding-bottom: 3rem;
}

.login-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.login-info-col {
    background: var(--edutic-blue);
    color: white;
    padding: 3rem 2.5rem;
}

.login-form-col {
    background: white;
    padding: 3rem 2.5rem;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Inputs con iconos */
.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 5;
}

.form-control-login {
    padding-left: 3rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.form-control-login:focus {
    border-color: var(--edutic-blue);
    box-shadow: 0 0 0 0.2rem rgba(95, 131, 232, 0.15);
}

/* Botones */
.btn-login {
    background: var(--edutic-orange);
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    color: white;
    font-weight: 600;
}

.btn-login:hover {
    background: var(--edutic-orange);
    color: var(--edutic-yellow);
}

/* Botones */
.btn-recover {
    background: var(--edutic-blue);
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    color: white;
    font-weight: 600;
}

.btn-recover:hover {
    background: var(--edutic-blue);
    color: var(--edutic-yellow);
}

.btn-register {
    background: white;
    border: 2px solid var(--edutic-blue);
    color: var(--edutic-blue);
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-register:hover {
    background: var(--edutic-blue);
    color: white;
    text-decoration: none;
}

.register-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-login {
        min-height: 240px;
        padding: 120px 0 50px;
    }

    .login-wrapper {
        margin-top: -60px;
    }

    .login-info-col,
    .login-form-col {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767px) {
    .hero-login {
        padding: 100px 0 40px;
    }

    .login-wrapper {
        margin-top: -40px;
    }
}

   /* ================================================
           COMPONENTE DE RESULTADO MEJORADO
           ================================================ */

        .resultado-wrapper {
            padding: 3rem 0;
            min-height: 60vh;
            display: flex;
            align-items: center;
        }

        .resultado-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(95, 131, 232, 0.15);
            max-width: 600px;
            margin: 0 auto;
            border: 2px solid rgba(95, 131, 232, 0.1);
        }

        /* Header del card */
        .resultado-header {
            background: linear-gradient(135deg, var(--edutic-blue) 0%, #4a6fd6 100%);
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .resultado-header::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .resultado-header::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: -30px;
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        .resultado-icon-container {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            position: relative;
            z-index: 1;
            animation: pulseIcon 2s ease-in-out infinite;
        }

        @keyframes pulseIcon {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .resultado-icon-container i {
            font-size: 2.5rem;
            color: white;
        }

        .resultado-header h1 {
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        /* Body del card */
        .resultado-body {
            padding: 2.5rem 2rem;
            text-align: center;
        }

        .resultado-mensaje {
            background: linear-gradient(135deg, rgba(128, 179, 39, 0.1) 0%, rgba(128, 179, 39, 0.05) 100%);
            border: 2px solid var(--edutic-green);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .resultado-mensaje::before {
            content: '';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 24px;
            background: var(--edutic-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .resultado-mensaje::after {
            content: '✓';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-weight: 700;
            font-size: 0.9rem;
        }

        .resultado-mensaje p {
            color: var(--edutic-dark);
            font-size: 1rem;
            line-height: 1.6;
            margin: 0;
        }

        .resultado-mensaje .email-highlight {
            display: inline-block;
            background: white;
            color: var(--edutic-blue);
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            margin: 0.5rem 0;
            border: 1px solid rgba(95, 131, 232, 0.3);
        }

        /* Nota importante */
        .resultado-nota {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
            border: 1px solid var(--edutic-yellow);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            text-align: left;
            margin-bottom: 1.5rem;
        }

        .resultado-nota i {
            color: var(--edutic-orange);
            font-size: 1.25rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .resultado-nota p {
            color: var(--edutic-dark);
            font-size: 0.9rem;
            margin: 0;
            line-height: 1.5;
        }

        .resultado-nota strong {
            color: var(--edutic-orange);
        }

        /* Acciones */
        .resultado-acciones {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .btn-volver {
            background: var(--edutic-blue);
            color: white;
            border: none;
            padding: 0.85rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-volver:hover {
            background: #4a6fd6;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(95, 131, 232, 0.3);
            color: white;
        }

        .btn-reenviar {
            background: transparent;
            color: var(--edutic-blue);
            border: 2px solid var(--edutic-blue);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-reenviar:hover {
            background: var(--edutic-blue);
            color: white;
        }

        /* Footer info */
        .resultado-footer {
            background: #f8f9fa;
            padding: 1.25rem 2rem;
            border-top: 1px solid #e9ecef;
        }

        .resultado-footer p {
            color: #6c757d;
            font-size: 0.85rem;
            margin: 0;
        }

        .resultado-footer a {
            color: var(--edutic-blue);
            text-decoration: none;
            font-weight: 600;
        }

        .resultado-footer a:hover {
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 767px) {
            .resultado-wrapper {
                padding: 2rem 1rem;
            }

            .resultado-header {
                padding: 1.5rem;
            }

            .resultado-icon-container {
                width: 70px;
                height: 70px;
            }

            .resultado-icon-container i {
                font-size: 2rem;
            }

            .resultado-header h1 {
                font-size: 1.3rem;
            }

            .resultado-body {
                padding: 2rem 1.5rem;
            }

            .resultado-mensaje {
                padding: 1.25rem;
            }

            .resultado-nota {
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }

            .resultado-footer {
                padding: 1rem 1.5rem;
            }
        }