* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* --- SECCIÓN IZQUIERDA (Fondo con sombreado) --- */
.login-left {
    flex: 0 0 65%;
    position: relative;
    background-image: url('../images/login_cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.login-left-content {
    position: absolute;
    bottom: 60px;
    left: 40px;
    z-index: 2;
    color: #fff;
}


.login-left-content .tagline {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 5px 0;
    /* opacity: 0.95;
    line-height: 1.4; */
}

.login-left-content .version {
    font-size: 0.9rem;
    background: rgba(255,255,255,0.15);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* --- SECCIÓN DERECHA (Compacta) --- */
.login-right {
    flex: 0 0 35%;
    background-color: #ffffff;
    background-image: url('../images/backgrounds/panel_bg.png');
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.08);
}

.login-box-body {
    width: 100%;
    max-width: 320px;
    background: none;
    /* Reducido para compactar el ancho total del bloque */
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
}

.login-title h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.login-title p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.logo-img {
    max-width: 140px;
    /* Logo ligeramente más pequeño */
    height: auto;
}

/* Formulario */
.form-group {
    margin-bottom: 14px;
    /* Menos espacio entre campos */
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 4px;
    display: block;
}

/* Contenedor relativo para posicionar el icono */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Inputs más pequeños */
.form-control {
    width: 100%;
    padding: 9px 35px 9px 12px;
    /* Padding reducido. Espacio extra a la derecha para el icono */
    /* border: 1px solid #e2e8f0; */
    border-radius: 5px;
    font-size: 0.88rem;
    /* Tamaño de texto de entrada reducido */
    color: #333333;
    outline: none;
    height: 38px;
    /* Altura fija compacta */
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #ff4a6b;
}

/* Estilo para los Iconos dentro del Input */
.input-icon {
    position: absolute;
    right: 10px;
    top: 32px;
    color: #a0aec0;
    font-size: 1.35rem;
    pointer-events: none;
}

/* Checkbox más pequeño */
.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 22px;
    gap: 6px;
}

.form-group-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #ff4a6b;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.8rem;
    color: #8c8c8c;
    cursor: pointer;
}

/* Botón de ingreso más pequeño */
.btn-submit {
    width: 100%;
    background-color: #ff4a6b;
    color: white;
    border: none;
    height: 38px;
    /* Misma altura que los inputs para armonía visual */
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #e53e5e;
}

/* Errores */
.error-text {
    color: #e53e5e;
    font-size: 0.75rem;
    margin-top: 3px;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 35px;
}

.copyright {
    font-size: 0.68rem;
    color: #aaaaaa;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icons a {
    color: #2cb4f6;
    /* Tono azul cielo idéntico a los de la captura */
    font-size: 1rem;
    text-decoration: none;
}

.social-icons a:hover {
    opacity: 0.7;
}

.footer-tagline {
    font-size: 0.7rem;
    color: #aaaaaa;
    margin-top: 5px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
    .login-left {
        display: none;
    }

    .login-right {
        flex: 0 0 100%;
        padding: 20px;
    }
}