/* FUTURISTIC SCROLLBAR */

/* Width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track (background lintasan) */
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 6px;
  box-shadow: inset 0 0 4px rgba(0, 255, 255, 0.1);
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
  background: var(--glow-orange);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--glow-orange);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 10px var(--accent-cyan);
}

/* Corner between horizontal and vertical scrollbar */
::-webkit-scrollbar-corner {
  background: transparent;
}

/* CSS Variables for Theming using body classes */
body.dark-theme {
  --bg-primary: #05080d;
  --bg-secondary: #0d111c;
  --bg-green: #04ce56;
  --text-primary: #e0e6f0;
  --text-secondary: #a0a8b8;
  --accent-blue: #0080ff;
  --logo-fill: #00f2ff;
  --border-color: rgba(0, 128, 255, 0.3);
  --accent-cyan: #00f2ff;
  --accent-pink: #ff00e6;
  --glow-green: #00ff7f;
  --logo-sadow: #ff9900;
  --glow-orange: #ff9900;
  --glow-red: #ff3b3b;

  /* Tambahan futuristik */
  --neon-purple: #b026ff;
  --neon-blue: #00cfff;
  --neon-green: #00ff9c;
  --neon-yellow: #f8ff00;
  --neon-pink: #ff1493;
  --neon-cyan: #00ffff;
  --deep-space: #1b0033;
  --plasma-orange: #ff6600;
  --electric-lime: #ccff00;
  --infrared-red: #ff004d;
}

body.light-theme {
  --bg-primary: #f9fafb;
  --bg-secondary: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --accent-blue: #3b82f6;
  --accent-cyan: #0891b2;
  --logo-fill: #293239;
  --logo-sadow: none;
  --accent-pink: #db2777;
  --glow-green: #16a34a;
  --glow-orange: #f59e0b;
  --glow-red: #ef4444;

  /* Tambahan futuristik */
  --sky-blue: #38bdf8;
  --electric-pink: #ec4899;
  --mint-green: #10b981;
  --sunshine-yellow: #facc15;
  --peach-orange: #fb923c;
  --cool-grey: #94a3b8;
  --warm-grey: #e2e8f0;
  --violet-blue: #6366f1;
  --aqua-marine: #22d3ee;
  --laser-green: #4ade80;
  --plasma-orange: #ff6600;
}

body {
  font-family: "Roboto Mono", monospace;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}



.GradientBorder {
  position: relative;
  
  background: #020117;
}
.GradientBorder::after {
content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #27ff00, #ddff20, #750cf2, #0cbcf2);
    z-index: -1;
    border-radius: 13px;
}
@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}

.GradientBorder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(var(--rotate), #27ff00, #ddff20, #750cf2, #0cbcf2);
    opacity .5s;
    animation: spin 2.5s linear infinite;
    z-index: -2;
    filter: blur(5px);
}
.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 128, 255, 0.1);
}
 .panel:hover {
            box-shadow: 0 10px 30px rgba(0, 128, 255, 0.2);
            border-color: var(--accent-cyan);
        }
        
.toastpanel {
  background: var(--bg-secondary);
  border: 3px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 128, 255, 0.2);
}
body.dark-theme .panel {
  background: linear-gradient(145deg, var(--bg-secondary), #0f1a2f);
}

.panel-title {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* Navbar Styles */
.navbar {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s, border-color 0.3s;
}
body.dark-theme,
.highcharts-tooltip-box {
  fill: #ffffff !important;
}

/* Highcharts dark theme customization */
.highcharts-background {
  fill: var(--bg-secondary) !important;
}

.highcharts-title,
.highcharts-subtitle,
.highcharts-tooltip-text,
.highcharts-axis-labels,
.highcharts-legend-item text {
  fill: var(--text-primary) !important;
}
.highcharts-axis-line,
.highcharts-grid-line,
.highcharts-tooltip-box {
  stroke: var(--border-color) !important;
}
.highcharts-no-data text {
  fill: var(--text-secondary) !important;
  font-size: 1.25rem !important;
}
.text-secondary {
  color: var(--text-secondary);
}
/* Text Glow Effects */
.text-glow-red {
  color: var(--glow-red);
  text-shadow: 0 0 6px var(--glow-red);
}
.text-glow-orange {
  color: var(--glow-orange);
  text-shadow: 0 0 6px var(--glow-orange);
}
.text-glow-green {
  color: var(--glow-green);
  text-shadow: 0 0 6px var(--glow-green);
}
.text-glow-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px var(--accent-cyan);
}
.text-glow-blue {
  color: var(--accent-blue);
  text-shadow: 0 0 8px var(--accent-blue);
}
.text-glow-pink {
  color: var(--accent-pink);
  text-shadow: 0 0 8px var(--accent-pink);
}
.text-glow-logo {
  color: var(--logo-fill);
  text-shadow: 0 0 8px var(--logo-sadow);
}

/* Futuristic Text Glows */
.text-glow-neon-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple);
}
.text-glow-neon-blue {
  color: var(--neon-blue);
  text-shadow: 0 0 10px var(--neon-blue);
}
.text-glow-neon-green {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}
.text-glow-neon-yellow {
  color: var(--neon-yellow);
  text-shadow: 0 0 10px var(--neon-yellow);
}
.text-glow-neon-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}
.text-glow-neon-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}
.text-glow-deep-space {
  color: var(--deep-space);
  text-shadow: 0 0 10px var(--deep-space);
}
.text-glow-plasma-orange {
  color: var(--plasma-orange);
  text-shadow: 0 0 10px var(--plasma-orange);
}
.text-glow-electric-lime {
  color: var(--electric-lime);
  text-shadow: 0 0 10px var(--electric-lime);
}
.text-glow-infrared-red {
  color: var(--infrared-red);
  text-shadow: 0 0 10px var(--infrared-red);
}

/* Light Theme Futuristic Colors */
.text-glow-sky-blue {
  color: var(--sky-blue);
  text-shadow: 0 0 8px var(--sky-blue);
}
.text-glow-electric-pink {
  color: var(--electric-pink);
  text-shadow: 0 0 8px var(--electric-pink);
}
.text-glow-mint-green {
  color: var(--mint-green);
  text-shadow: 0 0 8px var(--mint-green);
}
.text-glow-sunshine-yellow {
  color: var(--sunshine-yellow);
  text-shadow: 0 0 8px var(--sunshine-yellow);
}
.text-glow-peach-orange {
  color: var(--peach-orange);
  text-shadow: 0 0 8px var(--peach-orange);
}
.text-glow-cool-grey {
  color: var(--cool-grey);
  text-shadow: 0 0 6px var(--cool-grey);
}
.text-glow-warm-grey {
  color: var(--warm-grey);
  text-shadow: 0 0 6px var(--warm-grey);
}
.text-glow-violet-blue {
  color: var(--violet-blue);
  text-shadow: 0 0 8px var(--violet-blue);
}
.text-glow-aqua-marine {
  color: var(--aqua-marine);
  text-shadow: 0 0 8px var(--aqua-marine);
}
.text-glow-laser-green {
  color: var(--laser-green);
  text-shadow: 0 0 8px var(--laser-green);
}
/* ==== FUTURISTIC BUTTON STYLES ==== */

/* Tombol utama dengan gradasi aksen */
.btn-primary {
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Tombol aksen neon / donate */
.btn-neon {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-cyan);
    transition: all 0.3s ease;
}
.btn-neon:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-cyan);
}

/* Tombol transparan garis luar neon */
.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 8px var(--accent-blue);
}

/* Tombol kecil fixed position */
.btn-donate-fixed {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--electric-lime), var(--accent-cyan));
    color: var(--bg-primary);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}
.btn-donate-fixed:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Info Table Styles */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid var(--border-color);
}
.info-table tr:last-child {
  border-bottom: none;
}
.info-table td {
  padding: 0.5rem 0;
  font-size: 0.875rem;
}
.info-table td:first-child {
  color: var(--text-secondary);
  padding-right: 1rem;
}
/* Stat Panel Style */
.stat-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 128, 255, 0.2);
  border-color: var(--neon-purple);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.stat-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Toast Notification */
.toast {
  width: 320px;
  background: linear-gradient(135deg, var(--bg-secondary), #0f1a2f);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(100%);
  animation: slideUpFadeOut 5s ease-in-out forwards;
}
.toast-success {
  border-left: 4px solid var(--glow-green);
}

.toast-error {
  border-left: 4px solid var(--glow-red);
}
@keyframes slideUpFadeOut {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}





