/* 
 * Finzora Premium - "Big Fintech" Design System
 * Focus: High-end Glassmorphism 2.0, Refracted Surfaces, Data Observability
 */

:root {
    --fintech-primary: #ff6b00;
    --fintech-primary-glow: rgba(255, 107, 0, 0.4);
    --fintech-success: #00e676;
    --fintech-danger: #ff5252;
    --fintech-warning: #ffd740;
    --fintech-dark: #0f172a;
    --glass-background: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-refraction: rgba(255, 255, 255, 0.05);
}

.fintech-dashboard {
    background: radial-gradient(circle at 0% 0%, #1e293b 0%, #0f172a 100%);
    font-family: 'Inter', sans-serif;
    color: #f1f5f9;
}

/* Glassmorphism 2.0 Card */
.glass-premium-card {
    background: var(--glass-background);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.glass-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Refractive Glow Effect */
.glass-premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Metric Gauge Styling */
.metric-gauge {
    position: relative;
    width: 120px;
    height: 120px;
}

.metric-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
}

/* System Health "Pulse" Indicator */
.health-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fintech-success);
    box-shadow: 0 0 0 rgba(0, 230, 118, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 230, 118, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

/* Data Table Aesthetic */
.fintech-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.fintech-table tr {
    transition: transform 0.2s ease;
}

.fintech-table tr:hover {
    transform: scale(1.01);
}

.fintech-table td {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fintech-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.fintech-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Status Badges */
.badge-fintech {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-fintech-success {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
}

.badge-fintech-warning {
    background: rgba(255, 215, 64, 0.15);
    color: #ffd740;
}

.badge-fintech-danger {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}