/**
 * Guard Dog 2FA Profile Styles
 *
 * @package Guard_Dog
 * @since 1.2.0
 */

/* Notice styling */
.guard-dog-notice-margin {
    margin: 15px 0;
}

.guard-dog-recovery-codes-list {
    list-style: disc;
    margin-left: 20px;
}

/* Section visibility */
.guard-dog-setup-section {
    display: none;
}

.guard-dog-codes-display {
    display: none;
}

.guard-dog-email-setup-hidden {
    display: none !important;
}

/* Status classes for JavaScript */
.guard-dog-2fa-status-enabled {
    color: green;
    font-weight: bold;
}

.guard-dog-2fa-status-disabled {
    color: #666;
}

.guard-dog-email-2fa-setup-section {
    display: none;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background: #f9f9f9;
}

.guard-dog-verify-button {
    margin-left: 10px;
}

.guard-dog-email-2fa-feedback {
    margin-top: 10px;
}

/* Recovery code styling */
.guard-dog-recovery-code {
    font-family: monospace;
    padding: 5px;
    margin: 2px 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Print controls styling */
.guard-dog-print-controls {
    margin-top: 30px;
}

.guard-dog-2fa-profile-section {
    margin: 20px 0;
}

.guard-dog-2fa-method-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.guard-dog-2fa-method-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1d2327;
    font-size: 16px;
}

.guard-dog-2fa-method-section h4 .dashicons {
    margin-right: 8px;
    color: #0073aa;
}

.guard-dog-status-enabled {
    color: #00a32a;
    font-weight: 500;
}

.guard-dog-status-enabled .dashicons {
    color: #00a32a;
}

.guard-dog-status-disabled {
    color: #666;
}

.guard-dog-status-disabled .dashicons {
    color: #666;
}

.guard-dog-setup-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.guard-dog-setup-section h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1d2327;
}

.guard-dog-qr-container {
    margin-bottom: 15px;
    text-align: center;
}

.guard-dog-secret-key {
    font-family: monospace;
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
}

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

.guard-dog-recovery-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.guard-dog-codes-display {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.guard-dog-codes-display h5 {
    margin-top: 0;
    margin-bottom: 10px;
}

.guard-dog-codes-list {
    margin: 10px 0;
    font-family: monospace;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.guard-dog-codes-actions {
    margin-top: 15px;
}

.guard-dog-codes-actions .button {
    margin-right: 10px;
}

.guard-dog-codes-warning {
    margin-top: 10px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 3px;
}

.guard-dog-codes-warning p {
    margin: 0;
    color: #856404;
    font-size: 13px;
}

.guard-dog-email-2fa-info,
.guard-dog-app-2fa-info {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.guard-dog-email-2fa-info h5,
.guard-dog-app-2fa-info h5 {
    margin-top: 0;
    margin-bottom: 10px;
}

.guard-dog-email-2fa-info ol,
.guard-dog-app-2fa-info ol {
    margin-left: 20px;
}

.guard-dog-notice-info {
    padding: 10px 15px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    margin: 10px 0;
}

.guard-dog-notice-warning {
    padding: 10px 15px;
    background: #fff8e5;
    border-left: 4px solid #dba617;
    margin: 10px 0;
}

/* Ensure email 2FA setup section is hidden by default */
#guard-dog-email-2fa-setup-section {
    display: none !important;
}

/* Only show when explicitly enabled via JavaScript */
#guard-dog-email-2fa-setup-section.show {
    display: block !important;
}

#guard-dog-passkeys-list tr th {
    padding: 8px 10px !important;
}