:root {
    --uas-blue: #002b5c;
    --uas-blue-light: #003b7a;
    --uas-gold: #f2a900;
    --uas-gold-hover: #d49400;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

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

/* Lado Izquierdo - Banner */
.login-banner {
    flex: 1.2;
    /* background: linear-gradient(135deg, rgba(0, 43, 92, 0.85), rgba(0, 59, 122, 0.75)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat; */
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.85), rgba(0, 59, 122, 0.75));

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 3rem;
    text-align: center;
    position: relative;
}

.login-banner h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-banner p {
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 80%;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--uas-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--uas-gold);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Lado Derecho - Formulario */
.login-form-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow-y: auto;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    margin: auto;
}

.login-header {
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-weight: 800;
    color: var(--uas-blue);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #6c757d;
    font-size: 1rem;
}

.form-label {
    color: var(--uas-blue);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.input-group-container {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    overflow: hidden;
    background: #f8fafc;
}

.input-group-container:focus-within {
    border-color: var(--uas-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.1);
}

.input-group-text {
    background-color: transparent;
    color: #94a3b8;
    padding-left: 1.2rem;
}

.input-group-container:focus-within .input-group-text {
    color: var(--uas-gold);
}

.form-control,
.form-select {
    background-color: transparent;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: none;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    background-color: transparent;
    outline: none;
}

.btn-login {
    background-color: var(--uas-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 43, 92, 0.1);
}

.btn-login:hover {
    background-color: var(--uas-blue-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 43, 92, 0.2);
}

.forgot-link {
    color: var(--uas-blue);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--uas-gold);
    text-decoration: underline;
}

.register-link {
    color: var(--uas-gold);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.register-link:hover {
    color: var(--uas-gold-hover);
    text-decoration: underline;
}

.institution-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .login-banner {
        flex: 0.8;
        padding: 2rem;
    }

    .login-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-banner {
        display: none;
    }

    .login-form-wrapper {
        box-shadow: none;
        padding-bottom: 40px;
    }

    .login-form-container {
        padding: 1.5rem;
    }
}