body {
    font-family: 'Lato', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background-color: white;
    margin: 0 auto;
}

.login-banner {
    flex: 1;
    background: linear-gradient(135deg, rgba(182, 132, 65, 0.65), rgba(212, 168, 104, 0.65)), url('../images/familia.png');
    background-size: cover;
    background-position: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.banner-content {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-content img {
    margin: 0 auto;
    display: block;
}

.login-container {
    flex: 1;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    /* max-width: 400px; */
    background-color: white;
    /* border-radius: 10px; */
    overflow: hidden;
    border: none;
    margin: 0 auto;
}

.login-header {
    background: linear-gradient(45deg, #b68441, #d4a868);
    padding: 20px 0;
    text-align: center;
    color: white;
}

.login-header h2 {
    margin: 0;
    font-weight: 700;
}

.login-body {
    padding: 30px;
}

.login-logo {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 5px;
    padding: 12px;
    height: auto;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #b68441;
    box-shadow: 0 0 0 0.2rem rgba(182, 132, 65, 0.25);
}

.btn-signin {
    background: #b68441;
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-signin:hover, 
.btn-signin:focus {
    background: #9e6f32;
    color: white;
    transform: translateY(-2px);
}

.password-toggle {
    cursor: pointer;
    color: #b68441;
}

.forgot-password {
    text-align: center;
    margin: 15px 0;
}

.forgot-password a {
    color: #b68441;
    text-decoration: none;
}

.forgot-password a:hover {
    color: #9e6f32;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 450px;
    }
    
    .login-banner {
        display: none;
    }
    
    .login-container {
        padding: 0;
    }
    
    .login-card {
        max-width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    body {
        padding: 0;
    }
    
    .login-wrapper {
        box-shadow: none;
        border-radius: 0;
    }
    
    .login-body {
        padding: 20px;
    }
}