/**
 * NetworkDashboard - Modern Dark Theme Styles
 * Gymnasium Borghorst
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-main: #0B0F19;
    --bg-card: #111827;
    --bg-card-hover: #162032;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.3);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: #E2E8F0;
    overflow-x: hidden;
}

code, kbd, samp, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Cards */
.card-glass {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.card-glass-hover {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass-hover:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -3px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Status Glowing Dots */
.status-dot-online {
    box-shadow: 0 0 10px #10B981, 0 0 20px rgba(16, 185, 129, 0.4);
}

.status-dot-warning {
    box-shadow: 0 0 10px #F59E0B, 0 0 20px rgba(245, 158, 11, 0.4);
}

.status-dot-offline {
    box-shadow: 0 0 8px #EF4444, 0 0 16px rgba(239, 68, 68, 0.3);
}

.status-dot-maintenance {
    box-shadow: 0 0 8px #8B5CF6, 0 0 16px rgba(139, 92, 246, 0.3);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0B0F19;
}

::-webkit-scrollbar-thumb {
    background: #1F2937;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Pulse animation for active tickets */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

.ticket-pulse {
    animation: pulse-subtle 2s infinite ease-in-out;
}

/* Refresh countdown bar */
.refresh-progress-bar {
    transition: width 1s linear;
}

/* Table zebra striping */
.table-dark tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.015);
}

.table-dark tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}
