body {
    background: linear-gradient(135deg, #6fc2c3 0%, #4a9c9d 100%);
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
}

.login-container {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.left-panel {
    position: relative;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 194, 195, 0.3) 0%, rgba(74, 156, 157, 0.4) 100%);
    z-index: 1;
}

.left-panel img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.card {
    border: none;
    border-radius: 0 10px 10px 0;
}

.card-body {
    padding: 3rem;
    background: linear-gradient(145deg, #fafbfc 0%, #f8f9fa 100%);
}

.logo-brand {
    margin-bottom: 2rem;
}

.btn-login {
    background: linear-gradient(135deg, #6fc2c3 0%, #5ab4b5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(111, 194, 195, 0.3);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 194, 195, 0.4);
    background: linear-gradient(135deg, #5ab4b5 0%, #4a9c9d 100%);
    color: white;
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(111, 194, 195, 0.3);
}

.card-title {
    font-weight: 800;
    color: #4a9c9d;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(74, 156, 157, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

/* Mensajes de estado armonizados */
#mensaje {
    display: none;
    text-align: center;
    color: #0f4f4f;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border-left: 4px solid #6fc2c3;
    box-shadow: 0 2px 8px rgba(111, 194, 195, 0.2);
}

.mensaje {
    display: none;
    text-align: center;
    color: #0f4f4f;
    background: linear-gradient(135deg, #bee5eb 0%, #a2d2ff 100%);
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border-left: 4px solid #6fc2c3;
    box-shadow: 0 2px 8px rgba(111, 194, 195, 0.2);
}

/* Estilos de inputs con fondo blanco */
.input-group-text {
    background-color: white !important;
    border-right: 0 !important;
    padding-right: 0 !important;
    height: 3.0rem !important;
    border-color: #ced4da !important;
    color: #e1b768 !important;
}

.form-control {
    border-left: 0 !important;
    height: 3.0rem !important;
    border-color: #ced4da !important;
    background-color: white !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6fc2c3 !important;
    box-shadow: 0 0 0 0.25rem rgba(111, 194, 195, 0.25) !important;
    background-color: white !important;
}

.form-control:hover:not(:focus) {
    border-color: #adb5bd;
    background-color: white !important;
}

/* Iconos armonizados con color dorado */
i {
    color: #e1b768 !important;
    transition: color 0.3s ease;
}

.input-group:hover i {
    color: #d4a850 !important;
}

.btn-outline-secondary {
    border-radius: 0 8px 8px 0;
    border-right-color: #ced4da;
    border-top-color: #ced4da;
    border-bottom-color: #ced4da;
    border-left-color: transparent;
    background-color: white !important;
    color: #4a9c9d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa !important;
    border-color: #6fc2c3;
    color: #4a9c9d;
}

/* Efectos adicionales de armonización */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(111, 194, 195, 0.02) 0%, rgba(111, 194, 195, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Animaciones suaves */
* {
    transition: all 0.3s ease;
}

/* Mejora de accesibilidad manteniendo la armonía */
.form-control:focus,
.btn-login:focus {
    outline: 2px solid rgba(111, 194, 195, 0.5);
    outline-offset: 2px;
}

/* Responsive harmony */
@media (max-width: 768px) {
    .card-body {
        padding: 2rem;
    }
    
    .login-container {
        margin: 1rem;
        box-shadow: 0 10px 25px rgba(111, 194, 195, 0.15);
    }
}

/* Efectos hover adicionales para mejor UX */
.input-group:hover .input-group-text {
    background-color: #f8f9fa !important;
    border-color: #6fc2c3 !important;
}

.input-group:hover .form-control {
    border-color: #6fc2c3 !important;
}