:root {
    --isae-dark-blue: #112240;
    --isae-cyan: #00b4d8;
}

body {
    background-color: #ffffff;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-container {
    min-height: 100vh;
}

.brand-side {
    background-color: var(--isae-dark-blue);
    position: relative;
    min-height: 25vh;
}

@media (min-width: 768px) {
    .brand-side {
        min-height: 100vh;
        clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    }
}

.form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 75vh;
    background-image: url('../imagenes/logo-isae.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
    .form-side {
        min-height: 100vh;
    }
}

/* Envoltorio principal de las tarjetas */
.auth-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    z-index: 5;
    transition: all 0.3s ease-in-out;
}

/* Animaciones entre vistas */
.auth-box {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.auth-box.fade-out {
    opacity: 0;
    transform: translateY(-15px);
}

.auth-box.fade-in {
    animation: fadeInUp 0.3s forwards ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-title {
    color: var(--isae-dark-blue);
}

/* Estilos de controles e inputs */
.form-control {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--isae-cyan);
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.25);
}

/* Botones corporativos */
.btn-isae {
    background-color: var(--isae-dark-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-isae:hover {
    background-color: var(--isae-cyan);
    color: white;
}

.login-link {
    color: var(--isae-dark-blue);
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    color: var(--isae-cyan);
    text-decoration: underline;
}