/* ===================================================================
   Daily Downtime Tracker — Cyberpunk HUD & Dark Glassmorphism Styles
   Colors: BG #080808 | Surface #121217 | Accent Red #FF2A2A | Orange #FF5722
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #080808;
  --surface-panel: #111116;
  --surface-card: rgba(22, 22, 29, 0.75);
  --surface-elevated: #1a1a23;
  --primary-red: #ff2a2a;
  --primary-orange: #ff5722;
  --glow-red: 0 0 16px rgba(255, 42, 42, 0.45);
  --glow-orange: 0 0 16px rgba(255, 87, 34, 0.45);
  --glow-subtle: 0 0 24px rgba(255, 42, 42, 0.15);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 42, 42, 0.4);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: #f3f4f6;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Card Style (Mirip Image 1 & design.md) */
.glass-panel {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-elevated {
  background: linear-gradient(135deg, rgba(30, 30, 40, 0.8) 0%, rgba(18, 18, 24, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-panel-danger {
  background: linear-gradient(135deg, rgba(60, 10, 10, 0.5) 0%, rgba(20, 10, 12, 0.8) 100%);
  border: 1px solid rgba(255, 42, 42, 0.35);
  box-shadow: 0 4px 20px rgba(255, 42, 42, 0.15);
}

.glass-input {
  background: rgba(14, 14, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.glass-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.2), var(--glow-red);
}

/* HUD Glowing Effects */
.hud-glow-red {
  box-shadow: var(--glow-red);
}

.hud-glow-orange {
  box-shadow: var(--glow-orange);
}

.hud-text-glow {
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.6);
}

.hud-tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Arc Gauge Styles (Image 1 Style) */
.arc-gauge-container {
  position: relative;
  width: 220px;
  height: 125px;
  margin: 0 auto;
  overflow: hidden;
}

.arc-gauge-svg {
  width: 220px;
  height: 220px;
  transform: rotate(-180deg);
}

.arc-bg-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 14;
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
}

.arc-value-track {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 283;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom Floating Dock Navigation (Image 1 Style) */
.dock-bar {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
}

.dock-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-btn.active {
  background: linear-gradient(135deg, #ff5722 0%, #ff2a2a 100%);
  color: #ffffff;
  box-shadow: var(--glow-red);
  transform: translateY(-2px);
}

/* Pulsing Status Dot */
.status-pulse {
  position: relative;
}

.status-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Custom Scrollbar for cyber feel */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0d0d12;
}

::-webkit-scrollbar-thumb {
  background: #282836;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff2a2a;
}
