.login-container {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/bg-colorido.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    margin-top: 0;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(212, 35, 12, 0.2);
}

.login-title-container {
    margin-bottom: 1rem;
}

.login-title-container .title-MI,
.login-title-container .title-TIERRA,
.login-title-container .title-QUERIDA {
    font-size: 2.5rem;
    display: inline;
    margin: 0;
}

.login-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    color: #212121;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #d4230c;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 35, 12, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #d4230c;
}

.checkbox-label {
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #004c93, #0c31d4);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-transform: none;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(12, 49, 212, 0.3);
    background: linear-gradient(135deg, #0c31d4, #dc002e);
}

.login-button:active {
    transform: translateY(0);
}

.forgot-password {
    color: #dc002e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #004c93;
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-list li {
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem;
        margin: 1rem;
    }

    .login-title-container .title-MI,
    .login-title-container .title-TIERRA,
    .login-title-container .title-QUERIDA {
        font-size: 2rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }
    
    .login-container {
        padding: 1rem;
    }
}