/* ============================================================================
   SCREEN 2C VERIFICATION UI STYLES (Phase 4 Part 2)
   
   Styles for:
   - Verify button states
   - Verification badges
   - Claim status icons
   - Evidence display in preview
   - Verify All progress indicator
   ============================================================================ */

/* ============================================================================
   VERIFY BUTTON
   ============================================================================ */

.repair-btn-verify {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.repair-btn-verify:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.repair-btn-verify.verifying {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    cursor: wait;
}

.repair-btn-verify.verified {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.repair-btn-verify.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--vc-status-unsupported);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Verify spinner */
.repair-verify-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: verifySpinner 0.8s linear infinite;
}

@keyframes verifySpinner {
    to { transform: rotate(360deg); }
}

/* ============================================================================
   VERIFICATION BADGE (Card Header)
   ============================================================================ */

.repair-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

.repair-verify-badge.repair-verify-high {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.repair-verify-badge.repair-verify-medium {
    background: rgba(251, 191, 36, 0.15);
    color: var(--vc-status-partial);
}

.repair-verify-badge.repair-verify-low {
    background: rgba(239, 68, 68, 0.15);
    color: var(--vc-status-unsupported);
}

/* ============================================================================
   CLAIM STATUS ICONS (Enhanced)
   ============================================================================ */

.repair-claim-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.repair-claim-status.repair-claim-pending {
    color: #64748b;
    background: rgba(71, 85, 105, 0.2);
}

.repair-claim-status.repair-claim-verified {
    color: var(--vc-status-supported);
    background: rgba(16, 185, 129, 0.15);
    animation: verifyPulse 0.5s ease;
}

.repair-claim-status.repair-claim-partial {
    color: var(--vc-status-partial);
    background: rgba(245, 158, 11, 0.15);
    animation: verifyPulse 0.5s ease;
}

.repair-claim-status.repair-claim-failed {
    color: var(--vc-status-unsupported);
    background: rgba(239, 68, 68, 0.15);
    animation: verifyPulse 0.5s ease;
}

@keyframes verifyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ============================================================================
   VERIFY ALL BUTTON (Quick Actions)
   ============================================================================ */

.repair-btn-verify-all {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.repair-btn-verify-all:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

/* ============================================================================
   VERIFY ALL PROGRESS INDICATOR
   ============================================================================ */

.verify-all-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-progress-content {
    background: var(--vc-bg-surface);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 32px 48px;
    text-align: center;
    min-width: 320px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.verify-progress-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: verifySpinner 1s linear infinite;
    margin: 0 auto 20px;
}

.verify-progress-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.verify-progress-title {
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
}

.verify-progress-detail {
    font-size: 14px;
    color: var(--vc-text-secondary);
}

.verify-progress-current {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.verify-progress-bar {
    height: 6px;
    background: rgba(71, 85, 105, 0.4);
    border-radius: 3px;
    overflow: hidden;
}

.verify-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ============================================================================
   EVIDENCE SECTION IN PREVIEW MODAL
   ============================================================================ */

.repair-preview-evidence {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
}

.repair-evidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.repair-evidence-header h5 {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.repair-evidence-summary {
    display: flex;
    gap: 12px;
}

.repair-evidence-stat {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.repair-evidence-stat.verified {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.repair-evidence-stat.partial {
    background: rgba(251, 191, 36, 0.15);
    color: var(--vc-status-partial);
}

.repair-evidence-stat.failed {
    background: rgba(239, 68, 68, 0.15);
    color: var(--vc-status-unsupported);
}

.repair-evidence-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repair-evidence-item {
    padding: 14px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border-left: 3px solid;
}

.repair-evidence-item.verified {
    border-left-color: var(--vc-status-supported);
}

.repair-evidence-item.partial {
    border-left-color: var(--vc-status-partial);
}

.repair-evidence-item.failed {
    border-left-color: var(--vc-status-unsupported);
}

.repair-evidence-claim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.repair-evidence-claim-ref {
    font-size: 11px;
    font-weight: 600;
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.repair-evidence-score {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.repair-evidence-score.high {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.repair-evidence-score.medium {
    background: rgba(251, 191, 36, 0.15);
    color: var(--vc-status-partial);
}

.repair-evidence-score.low {
    background: rgba(239, 68, 68, 0.15);
    color: var(--vc-status-unsupported);
}

.repair-evidence-claim-text {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 10px;
}

.repair-evidence-snippet {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.repair-evidence-snippet-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.repair-evidence-snippet blockquote {
    margin: 0;
    font-size: 12px;
    color: var(--vc-text-secondary);
    font-style: italic;
    line-height: 1.5;
}

.repair-evidence-reasoning {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
    .verify-progress-content {
        margin: 20px;
        min-width: auto;
        padding: 24px;
    }

    .repair-evidence-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .repair-evidence-summary {
        flex-wrap: wrap;
    }
}