/* ============================================
   UTILITIES – Loading, Empty State, Btn, Misc
   ============================================ */

/* Loading */
.loading {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.spinner {
    width: 44px; height: 44px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top: 3px solid var(--blue);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin: 0 auto 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 40px;
    background: var(--glass);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    grid-column: 1 / -1;
}

.empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    opacity: 0.5;
    animation: bounce 2.5s ease-in-out infinite;
}

.empty-icon svg { width: 72px; height: 72px; color: var(--blue); }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-16px); }
    60%       { transform: translateY(-8px); }
}

.empty-state h3 {
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 12px; letter-spacing: -0.02em;
}

.empty-state p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }

/* Button Primary */
.btn-primary {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.875rem; font-weight: 600;
    font-family: inherit;
    transition: all var(--transition-spring);
    border: none; cursor: pointer;
    letter-spacing: 0.01em;
    margin: 5px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

/* Disclaimer */
.disclaimer {
    background: transparent;
    border: none;
    padding: 20px 0 0;
    margin: 24px 0 0;
}

.disclaimer-content {
    display: flex;
    align-items: center; gap: 8px;
    justify-content: center;
}

.disclaimer-icon {
    display: flex; align-items: center;
    flex-shrink: 0; opacity: 0.8;
}

.disclaimer-icon svg {
    width: 14px; height: 14px;
    color: var(--text-dark); opacity: 0.5;
}

.disclaimer p {
    font-size: 0.72rem;
    color: var(--text-dark);
    opacity: 0.5; line-height: 1.5; margin: 0;
}

.disclaimer strong { color: var(--text-dark); font-weight: 600; }

/* Live Pulse Keyframe (shared) */
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
