/* Login Form Styles */

.login-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px;
    min-height: 500px;
}

.login-form {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.login-title {
    color: #0092ab;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.form-group {
    margin-bottom: 20px;
}

/* Checkbox Form Group */
.checkbox-form-group {
    margin-bottom: 20px;
    margin-top: 0;
}

.margenizquierdo100 {
    margin-left: 100px;
}

/* Error Messages */
.error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffebee;
    border-left: 3px solid #d32f2f;
    border-radius: 2px;
}

#ErrorMessage {
    display: none;
}

#ErrorMessage:has(.error-message > *) {
    display: block;
}

.validation-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Links */
.form-link {
    font-size: 14px;
    color: #0092ab;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.form-link:hover {
    color: #006b89;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .login-form {
        padding: 20px;
        border: none;
        box-shadow: none;
    }

    .form-group {
        margin-bottom: 15px;
    }
}
