:root {
    --primary: #0078D4;
    --primary-light: #50B8FF;
    --primary-dark: #005A9E;
    --accent: #D6E4F0;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --bg: #F0F4F8;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    min-height: 100vh;
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-checking {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.badge-pass {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-failed {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-retrieving {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-completed {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-error {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* Spinner */
.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse animation for active states */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Subscription row */
.subscription-row {
    transition: all 0.2s ease;
}

.subscription-row:hover {
    border-color: var(--primary);
}

/* View transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Countdown timer */
.countdown {
    font-variant-numeric: tabular-nums;
}
