/* =========================================================================
   auth-common.css
   Shared styling for Authentication and Admin pages
   ========================================================================= */

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    font-size: 14px;
    color: #000000;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background: #d32f2f; width: 25%; }
.strength-fair { background: #f57c00; width: 50%; }
.strength-good { background: #1976d2; width: 75%; }
.strength-strong { background: #388e3c; width: 100%; }

/* Password Requirements Box */
.requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.requirements h4 {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 14px;
    color: #666;
}

.requirement.met {
    color: #388e3c;
}

.requirement .icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Feedback Messages */
.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.success-message {
    color: #388e3c;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

/* Loading Spinner */
.loading {
    display: none;
    text-align: center;
    margin-top: 16px;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #696cff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
