/* Custom styles for TimeCoinMaster v1.1 - Deep Carbon & Neon Amber Theme */

body {
    background-color: #0B0C0E;
    color: #f8fafc;
    overflow-x: hidden;
}

.ambient-glow {
    background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.04) 0%, transparent 75%);
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0B0C0E;
}
::-webkit-scrollbar-thumb {
    background: #1A1D21;
    border-radius: 99px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}
::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Glassmorphism panel styling */
.glass-panel {
    background: rgba(18, 20, 23, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
        0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fef08a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Active sidebar navigation states */
.nav-link.active {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.08), transparent);
    color: #fbbf24;
    border-left: 3px solid #fbbf24;
}
.nav-link.active i {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Page transitions */
.tab-panel {
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse / float animations */
.animate-float {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.kpi-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.05);
}

/* Print Overrides according to ГОСТ standard */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-family: "PT Serif", "Times New Roman", serif !important;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .print-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 15mm !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
    table {
        width: 100%;
        border-collapse: collapse !important;
        margin-top: 15px;
    }
    th, td {
        border: 1px solid #000000 !important;
        padding: 6px 10px !important;
        font-size: 10pt !important;
        color: #000000 !important;
    }
    th {
        background-color: #F1F5F9 !important;
        font-weight: bold !important;
    }
}
