/* ========== STYLE.CSS =====  Styles halaman Index ========== */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Orbitron:wght@700;900&family=Rajdhani:wght@400;600;700&display=swap");

:root {
  --get-bg: #000000;
  --get-top: #15151a;
  --get-all: #000000;
  --get-wrap: rgba(21, 21, 26, 0.65);
  --bg-primary: #0a0a0c;
  --bg-card: rgba(26, 26, 32, 0.75);
  --bg: #0a0a0c;
  --bg2: #15151a;
  --bg3: #1a1a20;
  --border: #3a3a3f;
  --border-color: rgba(192, 57, 43, 0.18);
  --border-glow: rgba(255, 59, 59, 0.4);
  --get-fix: #861717;
  --get-hover: #c02b2b;
  --get-ulhover: #6c6c72;
  --accent-cyan: #ad1a1a;
  --accent-cyon: #ac0a0a;
  --accent-cyan-dim: rgba(192, 57, 43, 0.1);
  --accent-red: #a31212;
  --accent-orange: #f5b21f;
  --accent-yellow: #f5b21f;
  --accent-green: #1f9d3a;
  --maroon-deepest: #3a0509;
  --maroon-deep: #5a0a14;
  --maroon: #8b1a1a;
  --maroon-bright: #c0392b;
  --maroon-glow: #f52525;
  --silver-darkest: #2a2a2e;
  --silver-dark: #3a3a3f;
  --silver-mid: #6c6c72;
  --silver: #8c8c92;
  --silver-light: #c8c8d0;
  --silver-chrome: #e8e8ec;
  --black-deep: #000000;
  --black: #0a0a0c;
  --black-soft: #15151a;
  --black-panel: #1a1a20;
  --black-border: #2a2a30;
  --get-text: #e8e8ec;
  --get-text-hover: #ffffff;
  --text-primary: #e8e8ec;
  --text-secondary: rgba(200, 200, 208, 0.7);
  --text-muted: rgba(140, 140, 146, 0.55);
  --text: #c8c8d0;
  --muted: #6c6c72;
  --blue: #c0392b;
  --cyan: #c0392b;
  --green: #1f9d3a;
  --yellow: #f5b21f;
  --purple: #c0392b;
  --red: #c0392b;
  --teal: #1f9d3a;
  --get-on-green: #1f9d3a;
  --card-radius: 2px;
  --get-font: "Orbitron", monospace;
  --mono: "JetBrains Mono", monospace;
  --display: "Orbitron", sans-serif;
  --body: "Rajdhani", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Orbitron", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--get-font);
  background-color: var(--get-bg);
  color: var(--get-text);
  line-height: 1.6;
}

/* Background Fixe */
body::before {
  content: "";
  background: url(/get/run/Background-AutoGet-X.png) center / cover no-repeat
    fixed;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

a,
h1,
h2,
h3,
h4,
ul,
ol,
li,
p {
  text-decoration: none;
  list-style: none;
  color: var(--get-text);
}

a:visited {
  color: var(--get-text);
}
a:hover {
  color: var(--get-hover);
}

/* --- 2. UTILITIES & ANIMATIONS --- */
.tooltip-box {
  position: fixed;
  z-index: 99999;
  background: var(--accent-cyon);
  color: var(--get-ulhover);
  padding: 5px 15px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 14px;
  box-shadow: 0 15px 40px var(--get-all);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tooltip-box::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--accent-cyon);
  box-shadow: -2px -2px 6px var(--get-all);
}

.tooltip-box.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* Notification (Cleaned & Merged) */
.notification {
  position: fixed;
  top: 20px;
  right: -400px;
  max-width: 350px;
  background: var(--get-top);
  backdrop-filter: blur(10px);
  border: 1px solid var(--get-ulhover);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px var(--get-all);
  z-index: 10000;
  transition:
    right 0.3s ease,
    opacity 0.3s ease;
  animation: slideInRight 0.5s ease;
}

.notification.show {
  right: 20px;
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--get-text);
}

.notification-content i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notification-warning .notification-content i {
  color: #f5b21f;
}
.notification-info .notification-content i {
  color: #c0392b;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  transition: color 0.2s;
}
.notification-close:hover {
  color: var(--get-text);
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--get-text);
  animation: styleFadeIn 0.5s ease-in-out;
}

.loading-spinner i {
  color: var(--get-hover);
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

/* Error Message */
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--get-text);
  animation: styleFadeIn 0.5s ease-in-out;
}

.error-message h2 {
  margin: 1rem 0;
}

/* Keyframes - RENAMED untuk menghindari konflikasi dengan dashboard.css */
@keyframes styleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(31, 157, 58, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(31, 157, 58, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(31, 157, 58, 0);
  }
}

@keyframes sosmed {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.925);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(31, 157, 58, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(31, 157, 58, 0);
  }
}

/* --- 3. HEADER & NAVIGATION --- */
header {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 2fr;
  grid-row-gap: 5px;
  column-gap: 10px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: solid var(--get-ulhover);
  box-shadow: 0px -1px 1rem #5a0a14;
}

header::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgb(255 0 0 / 10%) 0%, transparent 60%),
    radial-gradient(
      ellipse at 80% 30%,
      rgba(192, 57, 43, 0.05) 0%,
      transparent 50%
    );
  backdrop-filter: blur(10px);
}

header div.logo {
  position: fixed;
  grid-area: 1;
  width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(5px);
  border-top: solid var(--get-ulhover);
}

nav {
  position: fixed;
  right: 0;
  top: 0;
  left: 20%;
  display: grid;
  z-index: 100;
}
section.get-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  top: 180px;
  z-index: 998;
  display: grid;
  margin: 0;
}

.logo img {
  margin-left: 5%;
  margin-top: 30px;
}

.get-up {
  flex-grow: 1;
  display: flex;
  justify-content: flex-start;
  gap: 5%;
}

.get-up li {
  flex-wrap: wrap;
  position: relative;
  margin-top: 15px;
}

.get-up i {
  margin-right: -5px;
}
.get-up p {
  position: relative;
  margin-left: -15px;
}

.get-down {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Auth Section */
.user-auth-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.get-down button {
  width: 100px;
  background-color: var(--get-ulhover);
  margin: 0 auto;
  text-align: center;
  padding: 10px 0px;
  font-family: var(--get-font);
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0px 4px 1px var(--maroon-bright);
}

.get-down button:hover {
  background-color: var(--get-ulhover);
  border: 3px solid var(--accent-cyon);
  color: var(--get-text-hover);
  transform: translateY(3px);
  margin-bottom: -5px;
  box-shadow: none;
}

.get-top {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.get-top ul {
  display: flex;
  justify-content: space-around;
  column-gap: 5rem;
}

.get-top li {
  display: flex;
  width: 30px;
  border: solid 1px #1c02be00;
  justify-content: space-around;
  border-radius: 50%;
}

.get-top i {
  color: var(--silver-light);
  z-index: 1;
}

.get-top i:hover {
  color: var(--get-hover);
}

header div.get-top {
  grid-area: 1;
  column-gap: 10px;
  border: 1.375rem solid #00000000;
  border-top: 1.375rem solid var(--get-ulhover);
  border-inline-end-style: none;
  background-origin: border-box;
  padding: 0 20px;
}

header div.get-bottom {
  display: flex;
  justify-content: flex-start;
  grid-area: 2;
  border-color: #e8e8ec;
  column-gap: 10px;
  margin-top: -22px;
  border: 1.375rem solid transparent;
  border-bottom: 1.375rem solid var(--get-ulhover);
  border-inline-end-style: none;
  background-origin: border-box;
}

.get-bottom ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 5px;
}

.get-bottom li {
  position: relative;
}

.get-bottom li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--get-text);
  font-weight: 600;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  transition: all 0.25s ease;
}

.get-bottom li :hover {
  background-color: var(--get-ulhover);
  box-shadow: 0px -4px 1px var(--maroon-bright);
}

.get-bottom li a i {
  font-size: 16px;
}

.get-bottom .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  background: #0a0a0c;
  min-width: 190px;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(192, 57, 43, 0.3);
  border: 1px solid rgba(192, 57, 43, 0.2);
  animation: styleFadeIn 0.25s ease;
  z-index: 999;
}

.get-bottom .dropdown a {
  padding: 12px 15px;
  font-size: 14px;
  border-bottom: 1px solid #2a2a30;
  border-radius: 0;
  color: var(--get-text);
}

.get-bottom .dropdown a:hover {
  background: #2a2a30;
  padding-left: 20px;
  color: var(--get-hover);
}

.get-bottom li.active .dropdown {
  display: flex;
}

.arrow {
  margin-left: auto;
  transition: 0.3s;
}
.get-bottom li.active .arrow {
  transform: rotate(90deg);
}

/* --- HEADER NEON ANIMATIONS --- */
/* Background Grid & Effects */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgb(192 57 43 / 12%) 1px, #00000000 1px),
    linear-gradient(90deg, rgb(192 57 43 / 0%) 1px, #000000cf 1px);
  background-size: 40px 5px;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(192, 57, 43, 0.005) 2px,
    rgba(192, 57, 43, 0.005) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ========== HEADER ========== */
.main-header {
  position: relative;
  width: 100%;
  height: 100px;
  flex-shrink: 0;
  z-index: 20;
  margin-bottom: 0; /* diubah dari -1px */
}

/* SVG Background */
.header-svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.header-svg-container text {
  z-index: 1;
}

/* Scanline effect specifically for header */
.header-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(236 236 236 / 34%);
  box-shadow:
    0 0 10px var(--accent-cyan),
    0 0 20px var(--accent-cyan);
  opacity: 0.6;
  animation: scanDown 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scanDown {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Content Overlay */
.header-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 3;
  pointer-events: none;
}

/* Left Side: Status */
.h-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  width: 300px;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 5px;
  padding-left: 60px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow:
    0 0 8px var(--accent-green),
    0 0 15px rgba(31, 157, 58, 0.4);
  animation: blinkDot 2s infinite;
}
@keyframes blinkDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.status-text {
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(31, 157, 58, 0.4);
}
.version-text {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  padding-left: 25px;
  padding-top: 30px;
  opacity: 0.8;
}

/* Center: Title */
.h-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 600px;
}
.main-subtitle {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  letter-spacing: 1.5px;
  text-align: center;
  min-height: 18px;
  transition: opacity 0.3s ease;
}
.main-title {
  font-family: "Orbitron", sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(192, 57, 43, 0.8),
    0 0 20px rgba(192, 57, 43, 0.6),
    0 0 40px rgba(192, 57, 43, 0.4);
  line-height: 1;
  position: relative;
}
.main-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: var(--accent-cyan);
  margin: 4px auto 0;
  box-shadow: 0 0 10px var(--accent-cyan);
  opacity: 0.7;
}

/* Right Side: Clock */
.h-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  width: 300px;
}

/* ========== TICKER BAR ========== */
.ticker-bar {
  position: relative;
  z-index: 15;
  background: var(--get-wrap);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid rgba(192, 57, 43, 0.3); /* garis tipis pemisah */
  padding: 6px 0;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  box-shadow: 0px -5px 1px var(--get-ulhover);
}
.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgb(2 9 35);
  color: var(--accent-cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  font-weight: 700;
  z-index: 2;
  border-right: 1px solid var(--border-color);
}
.ticker-content {
  display: flex;
  gap: 50px;
  padding-left: 100px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item .ti-val {
  color: var(--accent-cyan);
  font-weight: bold;
}
.ticker-item .ti-val.up {
  color: var(--accent-green);
}
.ticker-item .ti-val.down {
  color: var(--accent-red);
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== DASHBOARD LAYOUT ========== */
.dashboard-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 300px 1fr 320px;
  gap: 16px;
  padding: 16px;
  height: calc(100vh - 136px); /* Header(100) + Ticker(36) */
}

/* Card System */
.card {
  background: #0a0a0c;
  border: 1px solid var(--get-ulhover);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
  margin-top: 1rem;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  background:
    linear-gradient(to right, var(--accent-cyan) 2px, transparent 2px) top left,
    linear-gradient(to bottom, var(--accent-cyan) 2px, transparent 2px) top left,
    linear-gradient(to left, var(--accent-cyan) 2px, transparent 2px) bottom
      right,
    linear-gradient(to top, var(--accent-cyan) 2px, transparent 2px) bottom
      right;
  background-size: 10px 10px;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background: var(--maroon-deepest);
}
.card-header i {
  color: var(--accent-cyan);
  font-size: 14px;
}
.card-header h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-transform: uppercase;
}
.card-body {
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.net-val {
  font-family: "Orbitron";
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 4px;
  text-shadow: 0 0 5px rgba(192, 57, 43, 0.3);
}

.net-unit {
  font-size: 10px;
  color: var(--text-secondary);
}

.net-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stats Grid */
.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.stat-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 10px;
  text-align: center;
  position: relative;
}
.stat-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}
.sb-val {
  font-family: "Orbitron";
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.sb-lbl {
  font-family: "Share Tech Mono";
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Progress Bars */
.pr-wrap {
  margin-bottom: 12px;
}
.pr-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: "Share Tech Mono";
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.pr-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  position: relative;
}
.pr-bar-fill {
  height: 100%;
  background: var(--accent-cyan);
  width: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width 0.5s ease;
}
.pr-bar-fill.orange {
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}
.pr-bar-fill.green {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* Alert Items */
.alert-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-left: 3px solid var(--accent-cyan);
  background: rgba(192, 57, 43, 0.03);
  margin-bottom: 8px;
  font-size: 12px;
  align-items: center;
}
.alert-item.high {
  border-left-color: var(--accent-red);
  background: rgba(255, 56, 96, 0.05);
}
.alert-item.med {
  border-left-color: var(--accent-orange);
}
.ai-icon {
  font-size: 14px;
  color: var(--text-primary);
}
.ai-text h4 {
  font-size: 11px;
  color: #fff;
  margin-bottom: 2px;
  font-family: "Rajdhani";
  font-weight: 700;
}
.ai-text span {
  font-size: 10px;
  color: var(--text-muted);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- 4. SIDEBAR --- */
.get-slide {
  width: 60px;
  flex-shrink: 0;
  position: relative;
  margin-top: 0;
  display: flex;
  justify-content: flex-start;
  margin-block-start: 0;
  order: -1;
}

.sidebar {
  position: sticky;
  top: 315px;
  width: 60px;
  height: fit-content;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: visible;
  z-index: 8;
  margin-left: 0;
  margin-right: 1rem;
}

.sidebar.active {
  position: fixed;
  width: 280px;
  transform: translateX(0);
  background: rgb(0 0 0 / 88%);
  height: 100vh;
  z-index: 10;
}

.toggle-btn {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  border-bottom: 1px solid rgb(251 251 251 / 13%);
  background: #0a0a0c;
}

.toggle-btn:hover {
  background: #0a0a0c;
  box-shadow: inset -4px 0px 0 var(--accent-cyan);
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  position: relative;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  color: #c8c8d0;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
}

.sidebar ul li a i {
  font-size: 18px;
  min-width: 25px;
  text-align: center;
}

.sidebar ul li a span {
  opacity: 0;
  transition: 0.3s;
}

.sidebar.active ul li a span {
  opacity: 1;
}

.sidebar ul li a:hover {
  background: rgba(102, 102, 102, 0.92);
  color: #fff;
  box-shadow: inset -4px 0px 0 var(--get-hover);
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  width: 2px;
  height: 100vh;
  max-height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--get-hover),
    transparent
  );
  animation: neonMove 3s linear infinite;
}

@keyframes neonMove {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

/* --- 5. MAIN CONTENT & SECTIONS --- */
main {
  background-color: #00000000;
  margin-top: 4.1rem;
  margin-bottom: 2rem;
  padding: 0.3rem 0;
  padding-bottom: 350px;
}

.main-container {
  display: flex;
  gap: 0.1rem;
  margin: 0 auto;
  margin-right: 0.3%;
  margin-top: 4.5rem;
}

.main-content {
  flex: 3;
  margin-top: 8.5rem;
  margin-left: 0.5rem;
  z-index: 9;
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--get-wrap);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 16px;
  margin-top: 2.7rem;
  margin-bottom: 1rem;
  margin-right: 0.3rem;
  border: 1px solid var(--get-ulhover);
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--get-text), var(--get-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.btn-cta-hero {
  background: linear-gradient(
    90deg,
    rgba(139, 26, 26, 0) 0%,
    rgba(90, 10, 20, 0) 5%,
    rgb(90, 10, 20) 50%,
    rgb(90, 10, 20) 0% 0%,
    rgba(139, 26, 26, 0) 100%
  );
  color: var(--silver-light);
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  z-index: 5;
}

.btn-cta-hero:hover {
  background: linear-gradient(
    90deg,
    rgba(139, 26, 26, 0) 0%,
    rgba(192, 57, 43, 0) 5%,
    rgba(192, 57, 43, 1) 50%,
    rgb(192, 57, 43) 0% 0%,
    rgba(139, 26, 26, 0) 100%
  );
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
}
.hero-image img {
  width: 100%;
  max-height: 350px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.content-section {
  margin-bottom: 3rem;
  margin-top: 2rem;
  margin-right: 0.3rem;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(to right, var(--get-text), var(--get-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.content-section h4 {
  text-align: center;
}
.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--get-text);
}

.section {
  margin-bottom: 60px;
  scroll-margin-top: 20px;
}

 svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.status-card {
  background: var(--get-wrap);
  backdrop-filter: blur(10px);
  border: 1px solid var(--get-ulhover);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.status-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--get-all);
  border-color: var(--get-hover);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.status-header span {
  font-weight: 600;
  color: var(--get-text);
}

.status-body {
  flex-grow: 1;
}
.status-body h4 {
  margin-bottom: 1rem;
  color: var(--get-text);
}
.status-body p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--get-ulhover);
}

.uptime {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.status-footer button {
  background: var(--get-ulhover);
  color: var(--get-text);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.status-footer button:hover {
  background: var(--get-hover);
  color: var(--silver-light);
}

.quick-actions-panel {
  flex: 1;
  background: var(--get-wrap);
  backdrop-filter: blur(10px);
  border: 1px solid var(--get-ulhover);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 20%;
  min-width: 250px;
  margin-top: 11rem;
  height: fit-content;
  position: sticky;
  top: 325px;
  z-index: 5;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.panel-header h3 {
  font-size: 1.2rem;
  color: var(--get-text);
}
.panel-header i {
  cursor: pointer;
  color: var(--text-secondary);
}

.panel-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-btn {
  background: var(--get-ulhover);
  color: var(--get-text);
  border: 1px solid var(--get-ulhover);
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.action-btn:hover {
  background: var(--get-hover);
  color: var(--silver-light);
  border-color: var(--get-hover);
  transform: translateX(5px);
}

/* --- 6. MODALS --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: url(/get/run/Background-AutoGet-X.png) no-repeat;
  background-size: cover;
  margin: 25% auto;
  padding: 2.5rem;
  border: 1px solid #c0392b;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 60px var(--get-all);
  position: relative;
  animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c6c72;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

button .fa-eye {
  margin-left: -25px;
}

.fa-eye-slash:before {
  content: "\f070";
  margin-left: -33px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.close-btn {
  color: var(--text-secondary);
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover {
  color: var(--get-text);
}

#login-form-modal h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--get-text);
  font-size: 1.8rem;
}

#login-form-modal .input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

#login-form-modal .input-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

#login-form-modal .input-group input,
#login-form-modal .input-group select {
  width: 100%;
  padding: 16px 16px 16px 50px;
  background: var(--get-bg);
  border: 1px solid var(--get-ulhover);
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  color: var(--get-text);
  transition: all 0.3s ease;
}

#login-form-modal .input-group select {
  padding-left: 45px;
}

#login-form-modal .input-group input:focus,
#login-form-modal .input-group select:focus {
  outline: none;
  border-color: var(--get-hover);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

#login-form-modal .login-btn {
  width: 100%;
  padding: 16px;
  background: var(--get-hover);
  color: var(--silver-light);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

#login-form-modal .login-btn:hover {
  background: #8b1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

/* Login Status */
.login-status-indicator {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-right: 15px;
  padding: 5px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.login-status-indicator.logged-in {
  display: flex;
  color: #1f9d3a;
  background: rgba(34, 197, 94, 0.1);
}

.login-status-indicator i.fa-circle-notch {
  animation: spin 1s linear infinite;
}

.form-links {
  text-align: center;
  margin-top: 1.5rem;
}
.forgot-link {
  color: var(--get-hover);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.forgot-link:hover {
  text-decoration: underline;
}

.btn-logout {
  background: var(--get-hover);
  color: var(--silver-light);
  border: 1px solid var(--get-hover);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-logout:hover {
  background: #8b1a1a;
  transform: translateY(-3px);
}

#current-user {
  color: var(--get-text);
  font-weight: 500;
  padding: 10px 15px;
  border-right: 1px solid var(--get-ulhover);
  margin-right: 10px;
}

.get-hub ul {
  display: flex;
  padding: 0;
  margin: 0;
  column-gap: 30px;
}

.get-hub {
  position: absolute;
  top: 93%;
  right: 45px;
}

/* --- 7. FOOTER --- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: white;
  text-align: center;
  padding: 10px;
}

.get-footer {
  margin-top: 4rem;
  padding: 0px;
  z-index: 1000;
  background: linear-gradient(233deg, var(--get-top), #0000008f);
}

.get-v1-footer {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  position: static;
  flex-direction: column;
}

.get-v2-footer {
  height: 120px;
  background-origin: border-box;
  padding: 0 5rem;
  border-bottom: 1.375rem solid var(--get-ulhover);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.get-v3-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 25px;
  margin-right: 25px;
  padding: 1rem 2rem;
}

.get-main1 {
  margin-top: 1%;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column-reverse;
}

.get-pass h4 {
  font-size: 0.9rem;
  padding: 0px 16px;
}

.get-pass ul {
  text-align: justify;
  margin-top: 15px;
}

.get-main2 {
  margin-top: 3%;
}

.get-main3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid #000000;
  border-radius: 7px;
  width: 320px;
  height: 200px;
  background-color: gray;
  margin-top: 18px;
}

.app-stores {
  display: flex;
  width: 17.5rem;
  height: 5rem;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  border: 3px solid #000000;
  border-radius: 7px;
  margin-top: 10%;
}

footer div.get-call {
  display: flex;
  justify-content: flex-start;
  border-color: #e8e8ec;
  border-inline-end-style: none;
  background-origin: border-box;
}

.get-call ul {
  display: flex;
  padding: 0;
  margin: 0;
  column-gap: 30px;
}

.get-call i {
  width: 20px;
}

.get-call a {
  border-radius: 50%;
  animation: sosmed 5s infinite;
  background: #3a3a3f;
}

/* --- 8. COMPONENT SPECIFIC (Bot, Error) --- */
.bot-status-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--get-all);
  border-radius: 8px;
  border: 1px solid var(--get-ulhover);
  transition: all 0.2s ease;
}

.bot-item:hover {
  background: var(--get-all);
  border-color: var(--get-hover);
  transform: translateX(5px);
}

.bot-item i {
  font-size: 1.2rem;
  color: var(--get-hover);
  width: 20px;
  text-align: center;
}

.bot-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--get-text);
}

/* Status Dot */
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--get-on-green);
  margin-top: -8px;
}

.bot-item .status-indicator {
  background: #1f9d3a;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

#lang {
  background: var(--get-ulhover);
  border: 1px solid var(--get-all);
  padding: 5px 3px;
  border-radius: 6px;
  color: var(--get-text);
}

/* Error Page Specific */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
  text-align: center;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #8b1a1a;
}

.error-page p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #c8c8d0;
  max-width: 600px;
}

.error-details {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #3a3a3f;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: left;
}

.error-details h3 {
  color: #f5b21f;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.error-details pre {
  background: #1a1a20;
  color: #c8c8d0;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre-wrap;
  font-size: 0.8rem;
  max-height: 200px;
  font-family: monospace;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-secondary {
  background: var(--get-ulhover);
  color: var(--get-text);
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #8b1a1a;
  color: var(--silver-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

/* Active States */
.get-bottom li.active a {
  background-color: var(--get-ulhover);
  box-shadow: 0px -4px 1px var(--maroon-bright);
}

.sidebar ul li.active a {
  background: rgba(102, 102, 102, 0.92);
  color: #fff;
  box-shadow: inset -4px 0px 0 var(--get-hover);
  border-radius: 0px 0px 15px 0;
}

.get-footer a {
  transition: color 0.2s ease;
}
.get-footer a:hover {
  color: var(--get-hover);
}

/* === FOOTER DROPUP (SATU MENU, BUKA KE ATAS) === */
.footer-dropup {
  position: relative;
  width: 200px;
  top: 20px;
  bottom: 0;
  left: -2rem;
  background-color: var(--get-ulhover);
  border-radius: 10px 10px 0 0;
}

.footer-dropup-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.footer-dropup-trigger:hover {
  color: var(--get-hover);
}

.footer-dropup-trigger span i {
  margin-right: 6px;
  font-size: 0.85rem;
}

.arrow-drop {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.footer-dropup.open .arrow-drop {
  transform: rotate(180deg);
}

/* Body menu: posisi di ATAS trigger */
.footer-dropup-body {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  display: flex;
  gap: 30px;
  background: var(--get-top);
  border: 1px solid var(--get-ulhover);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 16px 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    transform 0.3s ease,
    padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 100;
  box-shadow: 0 -4px 20px var(--get-all);
}

.footer-dropup.open .footer-dropup-body {
  max-height: 450px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Kolom di dalam menu */
.footer-dropup-col {
  flex: 1;
  min-width: 0;
}

.footer-dropup-col h5 {
  font-size: 0.6rem;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--get-ulhover);
}

.footer-dropup-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-dropup-col ul li {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-dropup.open .footer-dropup-col ul li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation per item */
.footer-dropup.open .footer-dropup-col ul li:nth-child(1) {
  transition-delay: 0.06s;
}
.footer-dropup.open .footer-dropup-col ul li:nth-child(2) {
  transition-delay: 0.12s;
}
.footer-dropup.open .footer-dropup-col ul li:nth-child(3) {
  transition-delay: 0.18s;
}
.footer-dropup.open .footer-dropup-col ul li:nth-child(4) {
  transition-delay: 0.24s;
}

.footer-dropup-col ul li a {
  display: block;
  padding: 5px 0;
  color: var(--get-text);
  text-decoration: none;
  font-size: 0.6rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-dropup-col ul li a:hover {
  color: var(--get-hover);
  padding-left: 8px;
}

.get-svg-footer svg {
  height: 100px;
}

.get-svg-footer button {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 50%;
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(135deg, #0a0a0c 0%, #15151a 50%, #0a0a0c 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 60px 32px;
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(192, 57, 43, 0.03) 60px,
      rgba(192, 57, 43, 0.03) 61px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(192, 57, 43, 0.03) 60px,
      rgba(192, 57, 43, 0.03) 61px
    );
}
.site-header h1 {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--blue);
  letter-spacing: 3px;
  text-shadow: 0 0 30px rgba(192, 57, 43, 0.5);
  position: relative;
}
.site-header .sub {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  position: relative;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 8px;
}
.badge-blue {
  background: rgba(192, 57, 43, 0.15);
  color: var(--blue);
  border: 1px solid rgba(192, 57, 43, 0.3);
}
.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-yellow {
  background: rgba(245, 158, 11, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-purple {
  background: rgba(192, 57, 43, 0.15);
  color: var(--purple);
  border: 1px solid rgba(192, 57, 43, 0.3);
}
.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-teal {
  background: rgba(192, 57, 43, 0.15);
  color: var(--teal);
  border: 1px solid rgba(192, 57, 43, 0.3);
}

/* ── LAYOUT ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 40px;
}

/* ── SECTIONS ── */
.section {
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--blue);
  border-left: 3px solid var(--blue);
  padding-left: 14px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* ── CARDS ── */
.card-page {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
}
.card-page .card-title,
.card-title {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ── FLOWCHART ── */
.flowchart {
  background: var(--get-wrap);
  backdrop-filter: blur(10px);
  border: 1px solid var(--get-ulhover);
  border-radius: 12px;
  margin-top: 2.8rem;
  padding: 32px;
  overflow-x: auto;
}

.flow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-node {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  min-width: 140px;
  max-width: 160px;
  line-height: 1.4;
  border: 1px solid;
  white-space: normal;
}
.fn-blue {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.4);
  color: #ff8888;
}
.fn-green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  color: #7adb8e;
}
.fn-yellow {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbd45e;
}
.fn-purple {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.4);
  color: #c8c8d0;
}
.fn-red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ff8888;
}
.fn-teal {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.4);
  color: #7adb8e;
}
.fn-gray {
  background: rgba(108, 108, 114, 0.12);
  border-color: rgba(108, 108, 114, 0.4);
  color: #c8c8d0;
}

.flow-diamond {
  width: 130px;
  height: 60px;
  transform: rotate(45deg) scale(0.85);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  margin: 8px 0;
}
.flow-diamond span {
  transform: rotate(-45deg);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fbd45e;
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

.arr-r {
  width: 40px;
  height: 2px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
}
.arr-r::after {
  content: "▶";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 10px;
}
.arr-d {
  width: 2px;
  height: 32px;
  background: var(--border);
  position: relative;
}
.arr-d::after {
  content: "▼";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--border);
  font-size: 10px;
}
.arr-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin: 4px 0;
  text-align: center;
}

/* ── TREE ── */
.tree {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.9;
}
.tree .dir {
  color: var(--blue);
  font-weight: 700;
}
.tree .file {
  color: var(--text);
}
.tree .desc {
  color: var(--muted);
  font-style: italic;
  margin-left: 4px;
}
.tree .py {
  color: #f5b21f;
}
.tree .js {
  color: #1f9d3a;
}
.tree .css {
  color: #ff8888;
}
.tree .json {
  color: #f5b21f;
}
.tree .html {
  color: #c0392b;
}

/* ── API TABLE ── */
.api-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.api-table th {
  background: rgba(192, 57, 43, 0.1);
  color: var(--blue);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.api-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(58, 58, 63, 0.5);
  vertical-align: top;
}
.api-table tr:hover td {
  background: rgba(192, 57, 43, 0.04);
}
.method {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
}
.m-get {
  background: rgba(34, 197, 94, 0.15);
  color: #7adb8e;
}
.m-post {
  background: rgba(192, 57, 43, 0.15);
  color: #ff8888;
}
.m-put {
  background: rgba(245, 158, 11, 0.15);
  color: #fbd45e;
}
.m-del {
  background: rgba(239, 68, 68, 0.15);
  color: #ff8888;
}
.path {
  color: #c8c8d0;
}
.note {
  color: var(--muted);
  font-size: 0.72rem;
}

/* ── STEP BOXES ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.step-num {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  min-width: 36px;
  line-height: 1;
}
.step-content h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 700;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--muted);
}
.step-content code {
  display: block;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #7adb8e;
  white-space: pre;
  overflow-x: auto;
}

/* ── ROLE TABLE ── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role-card {
  background: var(--bg2);
  border-radius: 10px;
  padding: 18px;
  border-top: 3px solid;
}
.role-card.master {
  border-color: var(--yellow);
}
.role-card.admin {
  border-color: var(--blue);
}
.role-card.user {
  border-color: var(--green);
}
.role-card h3 {
  font-family: var(--display);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.role-card.master h3 {
  color: var(--yellow);
}
.role-card.admin h3 {
  color: var(--blue);
}
.role-card.user h3 {
  color: var(--green);
}
.role-card ul {
  list-style: none;
  font-size: 0.8rem;
}
.role-card li {
  padding: 3px 0;
  color: var(--muted);
}
.role-card li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

/* ── GRID ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── BOT FLOW ── */
.bot-flow-wrap {
  overflow-x: auto;
  padding-bottom: 16px;
}
.bot-flow {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 900px;
}

/* ── TOC ── */
.toc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.toc-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--muted);
  cursor: default;
  transition: border-color 0.2s;
}
.toc-item:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.toc-item .num {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

/* --- 9. RESPONSIVE DESIGN --- */

#mobile-menu-overlay.show {
  z-index: 100000;
}

#mobile-menu-btn {
  display: none;
  background: none;
  border: 0 solid rgba(192, 57, 43, 0.3);
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 0;
  color: var(--get-text);
  font-size: 1.1rem;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
}
#mobile-menu-btn:hover,
#mobile-menu-btn[aria-expanded="true"] {
  border-color: var(--maroon-bright);
  color: var(--maroon-bright);
  border-radius: 50%;
}

/* Overlay backdrop menu navigasi */
#mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
}

/* ═══ FILE MODAL ═══  */
#vpf-editor-modal.open { display:flex !important; }
        #vpf-editor-modal .vpf-ed-box {
            background:#0f1124;border:1px solid rgba(99,102,241,0.35);border-radius:12px;
            width:min(900px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden;
            box-shadow:0 0 40px rgba(99,102,241,0.2);
        }
        #vpf-editor-modal .vpf-ed-head {
            display:flex;align-items:center;justify-content:space-between;
            padding:0.85rem 1.2rem;border-bottom:1px solid rgba(255,255,255,0.07);flex-shrink:0;
        }
        #vpf-editor-modal .vpf-ed-head h3 {
            margin:0;font-size:0.95rem;color:#c7d2fe;font-family:monospace;
            display:flex;align-items:center;gap:8px;
        }
        #vpf-editor-modal .vpf-ed-meta {
            font-size:0.72rem;color:#4b5563;margin-left:4px;font-style:normal;font-family:sans-serif;
        }
        #vpf-editor-modal .vpf-ed-textarea {
            flex:1;width:100%;border:none;outline:none;resize:none;
            background:#060818;color:#c8d3f5;font-family:'Fira Code','Cascadia Code','Consolas',monospace;
            font-size:0.82rem;line-height:1.6;padding:1rem 1.2rem;tab-size:4;
            min-height:400px;box-sizing:border-box;
        }
        #vpf-editor-modal .vpf-ed-foot {
            display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.5rem;
            padding:0.7rem 1.2rem;border-top:1px solid rgba(255,255,255,0.07);flex-shrink:0;
            background:rgba(0,0,0,0.2);
        }
        #vpf-editor-modal .vpf-ed-status { font-size:0.82rem;flex:1; }
        #vpf-editor-modal .vpf-ed-hint { font-size:0.72rem;color:#374151; }
        #vpf-editor-modal .vpf-ed-btn-save {
            background:linear-gradient(135deg,#4f46e5,#6d28d9);color:#fff;border:none;
            padding:7px 18px;border-radius:7px;cursor:pointer;font-size:0.85rem;
            display:flex;align-items:center;gap:6px;font-weight:600;
        }
        #vpf-editor-modal .vpf-ed-btn-save:disabled { opacity:0.6;cursor:not-allowed; }
        #vpf-editor-modal .vpf-ed-btn-close {
            background:rgba(255,255,255,0.06);color:#9ca3af;border:1px solid rgba(255,255,255,0.1);
            padding:6px 14px;border-radius:7px;cursor:pointer;font-size:0.82rem;
        }
        #vpf-editor-modal .vpf-ed-btn-close:hover { background:rgba(255,255,255,0.1); }


@media screen and (max-width: 768px) and (min-width: 375px) {
  main {
    padding-bottom: 60px;
    margin-top: 170px !important;
  }

  .main-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto;
    gap: 8px !important;
    padding: 8px !important;
    margin: 0 !important;
    margin-top: 5rem !important;
    margin-bottom: 20% !important;
  }

  .main-container {
    margin-top: 0 !important;
  }

  header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 100px !important;
    min-height: 52px;
    gap: 8px;
    border: 1rem solid #00000000;
    border-bottom: 0.5rem solid var(--get-ulhover);
    border-top: 0.5rem solid var(--get-ulhover);
    border-right: 0.6rem solid var(--get-ulhover);
    border-style: double;
    z-index: 1000;
    overflow: visible;
  }

  header div.logo {
    position: static;
    flex-shrink: 0;
    width: auto;
    margin: 0.5rem;
    display: flex;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(0);
    border-top: none;
  }

  .logo img {
    height: 75px !important;
    width: 100px !important;
    margin: 0 !important;
    border-radius: 0;
  }

  .get-top {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 5px;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .get-up {
    position: fixed;
    top: 3.5rem;
    left: 10rem;
    font-size: 7px;
  }

  .get-top ul {
    column-gap: 0.5rem;
  }

  .get-up p {
    position: relative;
    margin-left: -6px;
  }

  .get-up span {
    display: none !important;
  }

  .fa-circle-question {
    display: none !important;
  }

  .get-down {
    display: flex !important;
    align-items: center;
    position: fixed;
    top: 10px;
    right: 10px;
    gap: 5px;
    flex-shrink: 0;
  }

  #current-time {
    font-size: 0.6rem;
    white-space: nowrap;
    color: var(--text-muted);
  }

  .get-down button {
    width: 60px;
    padding: 5px 0px;
    font-size: 0.6rem;
  }

  .get-down .fa-bell,
  .get-down p:has(.fa-bell),
  #login-status-indicator,
  #lang {
    display: none !important;
  }

  #btn-show-login-modal,
  .btn-logout {
    font-size: 0.64rem;
    padding: 5px 9px;
    width: auto;
    box-shadow: none;
  }

  #current-user {
    font-size: 0.64rem;
    padding: 3px 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 1px solid var(--get-ulhover);
    margin-right: 3px;
  }

  /* 5. Hamburger tampil */
  #mobile-menu-btn {
    display: flex !important;
    position: fixed;
    right: 0.8rem;
    top: 4rem;
  }

  header div.get-bottom {
    display: none !important;
    border: 1.375rem solid transparent;
    border-bottom: 1.375rem solid var(--get-ulhover);
  }

  header div.get-top {
    border: 1.375rem solid #00000000;
    border-top: 1.375rem solid var(--get-ulhover);
  }

  header div.get-bottom.open {
    display: flex !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  header div.get-bottom::before {
    content: "AUTO GET X";
    display: block;
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.2);
    margin-bottom: 10px;
    font-family: var(--get-font);
  }

  .get-bottom ul {
    flex-direction: column !important;
    gap: 4px !important;
    width: 100%;
  }

  .get-bottom li {
    width: 100%;
  }

  .get-bottom li a {
    padding: 13px 16px !important;
    border-radius: 8px !important;
    font-size: 0.86rem !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(192, 57, 43, 0.12) !important;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    box-shadow: none !important;
  }

  .get-bottom li a i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    color: var(--accent-red);
    flex-shrink: 0;
  }

  .get-bottom .dropdown {
    position: static !important;
    margin-top: 4px;
    margin-left: 28px;
    background: rgba(26, 26, 32, 0.9) !important;
    border-radius: 8px !important;
    min-width: unset !important;
    box-shadow: none !important;
    animation: none !important;
    border: 1px solid rgba(192, 57, 43, 0.15) !important;
    display: none;
    flex-direction: column;
  }

  .get-bottom li.active .dropdown {
    display: flex;
  }

  .get-bottom .dropdown a {
    padding: 10px 16px !important;
    font-size: 0.8rem !important;
    border-bottom: 1px solid rgba(58, 58, 63, 0.4) !important;
    border-radius: 0 !important;
  }

  /* FIX: selector .open tadinya catch-all → diganti spesifik ke .get-bottom.open
     agar tidak mengenai .footer-dropup.open yang juga punya class .open */
  .get-bottom.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 120px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: calc(-52px + 100dvh);
    z-index: 1060;
    background: rgba(10, 10, 12, 0.97);
    padding: 16px 14px;
    overflow-y: auto;
    border-top: 1px solid rgba(192, 57, 43, 0.3);
  }

  section.get-lock {
    top: 105px !important;
  }

  .ticker-bar {
    height: 24px !important;
    font-size: 0.62rem;
    padding: 0;
  }

  .ticker-label {
    font-size: 0.56rem;
  }

  .main-header {
    height: auto !important;
    min-height: 60px;
    padding: 6px 10px;
  }

  .content-section p {
    font-size: 0.7rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--get-text);
  }

  .h-left,
  .h-right {
    display: none !important;
  }

  .h-center {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    text-align: center;
    padding: 4px 0;
  }

  .main-title {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  .main-subtitle {
    font-size: 0.58rem;
  }
  .header-scan-line main {
    margin-top: 0 !important;
    padding-top: 136px !important;
    padding-bottom: 80px !important;
  }

  .status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: -3rem;
  }

  .status-card {
    padding: 0.5rem;
  }

  .status-grid h3,
  h4 {
    font-size: 10px;
  }
  .status-grid p {
    font-size: 10px;
  }
  .status-grid h3 h4 p {
    font-size: 10px;
  }
  .status-grid span {
    font-size: 10px;
  }

  .status-grid button {
    font-size: 10px;
  }

  .get-slide {
    width: 100% !important;
    height: auto !important;
    flex-shrink: 0;
    order: -1;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
  }

  .sidebar {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    margin-bottom: -3.7rem;
    width: 41px !important;
    height: 35px !important;
    border-radius: 8px;
    z-index: 10;
    background: rgba(10, 10, 12, 0.85);
    overflow: hidden;
    flex-shrink: 0;
  }

  .sidebar ul {
    display: none !important;
  }

  .toggle-btn {
    height: 36px !important;
    width: 43px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .sidebar.mobile-open {
    position: fixed !important;
    top: 188px !important;
    left: 0 !important;
    width: 240px !important;
    height: calc(50dvh - 0px) !important;
    z-index: 1070;
    border-radius: 0 !important;
  }

  .sidebar.mobile-open::before {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-align: center;
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.2);
    margin-bottom: 8px;
    font-family: var(--get-font);
  }

  .sidebar.mobile-open .toggle-btn {
    height: 36px !important;
    width: 242px !important;
    justify-content: flex-end;
    padding-right: 14px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.15);
  }

  .sidebar.mobile-open ul {
    display: block !important;
  }

  .sidebar.mobile-open ul li a {
    padding: 13px 18px;
    gap: 12px;
    font-size: 0.86rem;
  }

  .sidebar.mobile-open ul li a i {
    font-size: 16px;
    min-width: 22px;
  }

  .sidebar.mobile-open ul li a span {
    opacity: 1 !important;
    font-size: 0.85rem;
  }

  /* ── MAIN-CONTENT: full width ── */
  .main-content {
    width: 100% !important;
    height: 100% !important;
    flex: unset !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding: 0;
  }

  /* ── QUICK-ACTIONS-PANEL: full width, di bawah main-content ── */
  .quick-actions-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    position: static !important;
    top: auto !important;
    flex: unset !important;
    margin-top: 0;
    border-radius: 10px;
  }

  /* Modal */
  .modal-content {
    width: 94% !important;
    max-width: 94% !important;
    margin: 8vh auto;
    padding: 1.4rem 1rem;
  }

  /* ── FOOTER ─────────────────────────────────────────── */
  footer {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 800;
  }
  .get-footer {
    margin-top: 0 !important;
    padding: 0 !important;
  }
  .get-v1-footer {
    padding: 0 !important;
  }
  .get-v2-footer {
    flex-direction: row !important;
    height: 80px !important;
    padding: 0 10px !important;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
  }

  .get-svg-footer svg {
    backdrop-filter: blur(10px);
    position: fixed;
    top: 85.5%;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
  }

  .get-svg-footer button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 105px;
    left: 0;
    right: 0;
    margin: auto;
    width: 50%;
    height: 30px;
    font-size: 10px;
  }

  .get-pass h4 {
    font-size: 10px !important;
    padding: 0px 35px !important;
    margin-top: 5px !important;
  }

  .footer-dropup {
    position: relative;
    width: 200px !important;
    top: 37px !important;
    bottom: 0px !important;
    left: 0rem !important;
    background-color: var(--get-ulhover);
    border-radius: 10px 10px 0 0;
  }

  .footer-dropup-trigger {
    font-size: 0.7rem;
    padding: 5px 9px;
  }
  .footer-dropup-body {
    padding: 10px 11px;
    gap: 7px;
  }
  .footer-dropup-col h5 {
    font-size: 0.68rem;
  }
  .footer-dropup-col ul li a {
    font-size: 0.68rem;
    padding: 2px 0;
  }

  .get-v3-footer {
    backdrop-filter: blur(10px);
    padding: 1rem 0rem !important;
  }
  .get-v3-footer p {
    font-size: 10px;
  }
}

/* @media 900px — halaman docs */
@media (max-width: 900px) {
  .container {
    padding: 24px 16px;
  }
  .grid-2,
  .grid-3,
  .role-grid,
  .toc {
    grid-template-columns: 1fr;
  }
  .site-header {
    padding: 24px 20px;
  }
  .site-header h1 {
    font-size: 1.2rem;
  }
}