/**
 * Guard Dog User Registration Styles
 *
 * @package GuardDog
 * @since 1.9.0
 */

/* Email verification UI */
.guard-dog-email-verification-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin: 20px 0;
}

.guard-dog-email-verification-notice p {
    margin: 0 0 10px 0;
}

.guard-dog-resend-verification {
    margin-top: 10px;
}

/* Verification status in user list */
.column-email_verified {
    width: 120px;
}

.column-email_verified a {
    text-decoration: none;
}

/* Password Policy Styles */
.guard-dog-password-requirements {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
}

.guard-dog-password-requirements strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23282d;
}

.password-requirements-list {
    margin: 8px 0 0 0;
    padding: 0;
    list-style: none;
}

.password-requirements-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 28px;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.password-requirements-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 11px;
    line-height: 1;
}

.password-requirements-list li.met:before {
    background: #46b450;
    content: '✓';
    color: white;
}

.password-requirements-list li.unmet:before {
    background: #dc3232;
    content: '✗';
    color: white;
}

.password-requirements-list li.met {
    color: #46b450;
    font-weight: 500;
}

.password-requirements-list li.unmet {
    color: #666;
}

/* Password Match Indicator */
.guard-dog-password-match {
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    padding: 8px 12px !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.guard-dog-password-match.match {
    background: #ecf7ed;
    border: 1px solid #46b450;
    color: #2e7d32;
}

.guard-dog-password-match.mismatch {
    background: #fef7f1;
    border: 1px solid #dc3232;
    color: #c62828;
}

.guard-dog-password-match .match-icon,
.guard-dog-password-match .mismatch-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-right: 6px;
}

.guard-dog-password-match .match-icon {
    background: #46b450;
    color: white;
}

.guard-dog-password-match .mismatch-icon {
    background: #dc3232;
    color: white;
}

/* Tab Navigation */
.nav-tab-wrapper {
    margin-bottom: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Manual Trigger Results */
#guard-dog-trigger-results {
    padding: 10px;
    border-radius: 4px;
}

#guard-dog-trigger-results.success {
    background: #d4edda;
}

#guard-dog-trigger-results.error {
    background: #f8d7da;
}

#guard-dog-trigger-results .result-success {
    color: #155724;
    font-weight: bold;
}

#guard-dog-trigger-results .result-error {
    color: #721c24;
    font-weight: bold;
}

/* Expired Password Reset Form */
#guard-dog-password-reset-container {
    max-width: 100%;
}

#guard-dog-password-reset-container .message {
    margin-bottom: 16px;
}

.guard-dog-password-requirements {
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 12px 16px !important;
    margin: 16px 0 !important;
}

.guard-dog-password-requirements .description {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #1d2327;
}

.guard-dog-password-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guard-dog-password-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: #646970;
}

.guard-dog-password-checklist li .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.guard-dog-password-checklist li .dashicons-no {
    color: #d63638;
}

.guard-dog-password-checklist li .dashicons-yes {
    color: #00a32a;
}

.guard-dog-password-checklist li.met {
    color: #1d2327;
}

.guard-dog-password-checklist li.met .dashicons-no {
    display: none;
}

.guard-dog-password-checklist li:not(.met) .dashicons-yes {
    display: none;
}
