/* ========================================================
   Fast Services API Hub - Modern Cyber Tech Stylesheet
   ======================================================== */

:root {
    --bg-main: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.25);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

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

/* Glassmorphism Card */
.glass-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.glow-primary {
    box-shadow: 0 0 25px var(--primary-glow);
}

.glow-cyan {
    box-shadow: 0 0 25px var(--cyan-glow);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulse Ring Animation for Live Payment Polling */
.pulse-ring {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.pulse-ring:before, .pulse-ring:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--cyan);
    opacity: 0.6;
    animation: pulse-wave 2s infinite ease-out;
}

.pulse-ring:after {
    animation-delay: 1s;
}

@keyframes pulse-wave {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Code Snippet Styles */
pre code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Table styling */
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.custom-table th {
    background: rgba(30, 41, 59, 0.6);
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.custom-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.875rem;
}
.custom-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

