/**
 * GP Set Password — v1.1.0
 * Extends the shared gp-auth-style / gp-auth-forms-style from gripar-login.
 * Only adds set-password-specific styles (strength meter, loading state).
 */

/* ═══════════════════════ LOADING SPINNER ═══════════════════════ */

.gp-set-password-loading {
    text-align: center;
    padding: 32px 20px;
}

.gp-spinner-large {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: gp-spin 0.7s linear infinite;
}

@keyframes gp-spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════ PASSWORD STRENGTH METER ═══════════════════════ */

.gp-password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 16px;
}

.gp-strength-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.gp-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.gp-strength-label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Strength colors */
.gp-strength-fill.strength-weak   { background: #ef4444; }
.gp-strength-fill.strength-fair   { background: #f59e0b; }
.gp-strength-fill.strength-good   { background: #22c55e; }
.gp-strength-fill.strength-strong { background: #16a34a; }

.gp-strength-label.strength-weak   { color: #ef4444; }
.gp-strength-label.strength-fair   { color: #f59e0b; }
.gp-strength-label.strength-good   { color: #22c55e; }
.gp-strength-label.strength-strong { color: #16a34a; }