/* ============================================================
   login.css
   Estilos personalizados para modernizar la pantalla de login
   de estudiantes (estudiante/index.php).
   ============================================================ */

:root {
    --cbc-rojo: #ce1e2a;
    --cbc-azul: #2e3094;
    --cbc-azul-claro: #5457c9;
}

body {
    background: #f4f6fb;
}

.cbc-auth-wrapper {
    min-height: 100vh;
}

.cbc-auth-art {
    background: linear-gradient(160deg, #1c1e54 0%, var(--cbc-azul) 55%, #3a3d9e 100%);
    position: relative;
    overflow: hidden;
}

.cbc-auth-art::before,
.cbc-auth-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.cbc-auth-art::before {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -140px;
    background: rgba(255, 255, 255, 0.05);
}

.cbc-auth-art::after {
    width: 320px;
    height: 320px;
    bottom: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(206, 30, 42, 0.35) 0%, rgba(206, 30, 42, 0) 70%);
}

.cbc-auth-art-img {
    max-width: 640px;
    width: 100%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25));
    animation: cbc-float 5s ease-in-out infinite;
}

@keyframes cbc-float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-16px);
    }
    100% {
        transform: translateY(0px);
    }
}

.cbc-auth-art-text {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 520px;
}

.cbc-auth-art-text h3 {
    font-weight: 700;
    margin-top: 1.5rem;
    color: #ffffff;
}

.cbc-auth-art-text p {
    color: rgba(255, 255, 255, .75);
}

.cbc-login-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 12px 40px rgba(33, 37, 90, 0.10);
    padding: 2.5rem 2.25rem;
}

.cbc-login-logo img {
    width: 220px;
}

.cbc-login-title {
    font-weight: 700;
    color: var(--cbc-azul);
    letter-spacing: .02em;
}

.cbc-login-card .form-control {
    border-radius: .6rem;
    padding: .7rem 1rem;
}

.cbc-login-card .form-control:focus {
    border-color: var(--cbc-azul-claro);
    box-shadow: 0 0 0 .2rem rgba(84, 87, 201, .15);
}

.cbc-tipo-usuario .custom-option-icon {
    border-radius: .75rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cbc-tipo-usuario .custom-option-icon:hover {
    transform: translateY(-2px);
}

.cbc-tipo-usuario .custom-option-icon.checked {
    border-color: var(--cbc-azul) !important;
    box-shadow: 0 0 0 .2rem rgba(46, 48, 148, .12);
}

.cbc-tipo-usuario i {
    color: var(--cbc-azul);
    font-size: 1.4rem;
}

.cbc-btn-ingresar,
.cbc-btn-ingresar i {
    color: #ffffff;
}

.cbc-btn-ingresar {
    background: linear-gradient(135deg, var(--cbc-rojo), #ff4d57);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .75rem 1rem;
    box-shadow: 0 8px 18px rgba(206, 30, 42, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cbc-btn-ingresar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(206, 30, 42, .32);
    color: #fff;
}

.cbc-login-footer {
    color: #9aa3b2;
    font-size: .8rem;
}
