.auth-page {
    background-color: #8fc0ea;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    margin-top: -1px;
    /* Compensa borde superior si hay */
}

.auth-card {
    background: #fdf6d6;
    border-top: 6px solid #FF633C;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.auth-title {
    text-align: center;
    font-size: 36px;
    color: #3185CB;
    margin-top: 0;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #a2825c;
    font-family: 'Lato', sans-serif;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0cd98;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: #555;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3185CB;
    outline: none;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.auth-submit-btn {
    background: #3185CB;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 20px;
    font-family: 'Lobster Two', cursive;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.auth-submit-btn:hover:not(:disabled) {
    background: #FF633C;
    transform: translateY(-2px);
}

.auth-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.auth-footer-links {
    margin-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-footer-links a {
    color: #3185CB;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}

.auth-footer-links a:hover {
    text-decoration: underline;
    color: #FF633C;
}

.auth-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}

.auth-alert.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.auth-alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Password Strength Validator */
.password-strength-container {
    margin-top: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0cd98;
}

.password-progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.password-progress {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #888;
}

.password-rules li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-rules li i {
    width: 15px;
    text-align: center;
}

.password-rules li.valid {
    color: #2e7d32;
}

.password-rules li.valid i::before {
    content: "\f00c";
    /* fa-check */
}