/* ==========================================================================
   ALDO API — Modern Developer Dashboard UI
   A clean, high-performance, dark-mode developer dashboard stylesheet.
   ========================================================================== */

:root {
  /* iOS Dark UI Surface Tokens */
  --bg-app: #0f0f0f;
  --bg-sidebar: #141416;
  --bg-header: rgba(28, 28, 30, 0.92);
  --bg-card: #1c1c1e;
  --bg-card-hover: #242426;
  --bg-surface: #1c1c1e;
  --bg-surface-elevated: #242426;
  --bg-input: #141416;
  --bg-code: #141416;
  
  --border-subtle: #2c2c2e;
  --border-card: #2c2c2e;
  --border-focus: #ff6b2b;
  --border-separator: #2c2c2e;
  
  --text-primary: #FFFFFF;
  --text-secondary: #8e8e93;
  --text-muted: #636366;
  
  /* Scheme Colors */
  --color-orange: #ff6b2b;
  --color-orange-hover: #ff8c42;
  --color-orange-dim: rgba(255, 107, 43, 0.14);
  
  --color-green: #22c55e;
  --color-green-hover: #16a34a;
  --color-green-dim: rgba(34, 197, 94, 0.14);
  
  --color-red: #ef4444;
  --color-red-hover: #dc2626;
  --color-red-dim: rgba(239, 68, 68, 0.14);
  
  --color-pink: #ec4899;
  --color-pink-hover: #db2777;
  --color-pink-dim: rgba(236, 72, 153, 0.14);
  
  --color-blue: #3b82f6;
  --color-blue-hover: #2563eb;
  --color-blue-dim: rgba(59, 130, 246, 0.14);

  /* Semantic Compatibility (NO CYAN) */
  --accent-emerald: var(--color-green);
  --accent-emerald-hover: var(--color-green-hover);
  --accent-emerald-dim: var(--color-green-dim);
  
  --accent-cyan: var(--color-orange);
  --accent-cyan-dim: var(--color-orange-dim);
  
  --accent-amber: var(--color-orange);
  --accent-amber-dim: var(--color-orange-dim);
  
  --accent-rose: var(--color-red);
  --accent-rose-dim: var(--color-red-dim);

  --accent-violet: var(--color-pink);
  --accent-violet-dim: var(--color-pink-dim);

  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  
  --sidebar-w: 260px;
  --header-h: 60px;
  --bottom-nav-h: 0px;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-card: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 107, 43, 0.12);
  --shadow-glow: 0 0 25px rgba(255, 107, 43, 0.2);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14.5px;
  scroll-behavior: smooth;
  background-color: var(--bg-app);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

body.no-scroll {
  overflow: hidden !important;
}

/* Force remove all underlines globally across all links, buttons, and elements */
a,
a *,
a:hover,
a:hover *,
a:focus,
a:focus *,
a:active,
a:active *,
a:visited,
a:visited *,
button,
button *,
button:hover,
button:hover *,
button:focus,
button:focus *,
.btn,
.btn *,
.btn:hover,
.btn:hover *,
.side-nav-link,
.side-nav-link *,
.side-cta,
.side-cta *,
.brand-footer-list a,
.brand-footer-list a *,
.brand-footer-list li a,
.brand-footer-list li a *,
.legal-list a,
.legal-list a *,
.dash-btn,
.dash-btn *,
.nav-link,
.nav-link *,
.modal a,
.modal a *,
.card a,
.card a * {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

a {
  color: inherit;
  transition: color 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
  background: #27354A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3B4D66;
}

/* ==========================================================================
   LOADING SCREEN & PAGE TRANSITIONS
   ========================================================================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  background: #090a0d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
}
#loadingScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.loader-ambient-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.25) 0%, transparent 70%);
  top: 20%;
  left: 20%;
  animation: ambientFloat1 8s ease-in-out infinite alternate;
}
.loader-ambient-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  bottom: 20%;
  right: 20%;
  animation: ambientFloat2 8s ease-in-out infinite alternate;
}
@keyframes ambientFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}
@keyframes ambientFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, -20px) scale(1.08); }
}
.loader-wrap {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 20px;
}
.loader-card {
  background: rgba(18, 19, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 34px 38px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 107, 43, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px;
  max-width: 90vw;
  box-sizing: border-box;
}
.loader-icon-container {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-icon-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}
.loader-ring-spinner {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-top-color: #ff6b2b;
  border-right-color: #ff8c42;
  animation: loaderRingSpin 1.4s linear infinite;
  box-shadow: 0 0 14px rgba(255, 107, 43, 0.3);
}
@keyframes loaderRingSpin {
  to { transform: rotate(360deg); }
}
.loader-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.loader-name {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}
.loader-badge {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(255, 107, 43, 0.35);
}
.loader-brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  color: #71717a;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.loader-track-box {
  width: 100%;
  margin-bottom: 16px;
}
.loader-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b2b, #ff8c42, #ffa500);
  border-radius: 9999px;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(255, 107, 43, 0.75);
}
.loader-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.72rem;
  color: #71717a;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}
.loader-percentage {
  color: #ff6b2b;
  font-weight: 800;
}
.loader-status-sub {
  color: #a1a1aa;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
}
.loader-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d4d4d8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.loader-spinner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-app);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.15s ease;
}
.page-transition.active {
  opacity: 0.6;
  pointer-events: auto;
}

/* ==========================================================================
   APP LAYOUT (SIDEBAR, HEADER, MAIN CONTENT)
   ========================================================================== */
.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  max-width: 100%;
  overflow-x: hidden;
  transition: margin-left 0.25s ease, width 0.25s ease;
  position: relative;
}

/* --- SIDEBAR --- */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.side-nav-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  min-height: var(--header-h);
}

.side-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-name {
  color: var(--text-primary);
}
.logo-badge {
  background: var(--color-orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.nav-close-btn {
  display: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding: 4px;
}
.nav-close-btn:hover {
  color: var(--color-orange);
}

/* Sidebar Links */
.side-nav-links {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-section-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 14px 10px 6px;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
}

.side-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.side-nav-link:hover {
  color: var(--color-orange);
  background-color: rgba(255, 107, 43, 0.08);
}
.side-nav-link:hover i {
  color: var(--color-orange);
}

.side-nav-link.active {
  color: var(--color-orange);
  background-color: var(--color-orange-dim);
  font-weight: 700;
}
.side-nav-link.active i {
  color: var(--color-orange);
}
.side-nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background-color: var(--color-orange);
}

/* Sidebar Footer */
.side-nav-footer {
  padding: 16px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.side-cta-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}
.side-cta-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}
.side-cta-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.side-cta-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
.side-cta small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sidebar-backdrop {
  display: none;
}

/* --- MAIN HEADER --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--header-h);
  background: rgba(20, 20, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #2c2c2e;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 0 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .main-header {
    margin-left: var(--sidebar-w) !important;
    width: calc(100% - var(--sidebar-w)) !important;
    border-left: 1px solid var(--border-subtle);
    padding: 0 28px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2c2c2e;
  object-fit: cover;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-title {
  color: #FFFFFF;
}
.brand-badge {
  background: var(--color-orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #242426;
  border: 1px solid #2c2c2e;
  transition: all 0.15s ease;
}
.menu-toggle-btn:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.notif-btn,
.header-profile-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #242426;
  border: 1px solid #2c2c2e;
  color: var(--text-secondary);
  transition: all 0.18s ease;
  cursor: pointer;
}
.notif-btn:hover,
.header-profile-btn:hover {
  color: var(--color-orange);
  background: rgba(255, 107, 43, 0.12);
  border-color: var(--color-orange);
  transform: translateY(-1px);
}
.notif-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  display: none;
}
.notif-badge.active {
  display: block;
}

/* Quick Status Header Pill */
.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 700;
}
.header-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* --- MAIN CONTENT CONTAINER --- */
.main-content {
  flex: 1 0 auto;
  margin-left: 0;
  width: 100%;
  max-width: 1400px;
  overflow-x: hidden;
  padding: 24px 28px 60px;
}

.content-section {
  display: none;
  animation: fadeIn 0.2s ease-out;
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.content-section.active-section {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   UNIFIED DASHBOARD TYPOGRAPHY & HEADERS
   ========================================================================= */
.section-header {
  margin-bottom: 24px;
}
.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-green);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.2;
}
.section-desc {
  font-size: 14px;
  color: #8e8e93;
  line-height: 1.5;
  max-width: 780px;
}

/* Common Card (iOS Surface) */
.stat-unified-card, .aldo-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 22px 24px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.stat-unified-card:hover, .aldo-card:hover {
  border-color: #3a3a3c;
}
.stat-unified-card.active, .aldo-card.active {
  border-color: #ff6b2b !important;
}

.stat-unified-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.stat-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}
.stat-header-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #8e8e93;
  text-transform: uppercase;
}
.stat-header-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(236, 72, 153, 0.15) !important;
  color: #ec4899 !important;
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}

/* Standard Buttons — iOS CTA Pill Style */
.btn-aldo-primary, .dash-btn.primary, .btn-beranda-cta.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  gap: 10px;
  background: linear-gradient(135deg, #ff6b2b 0%, #ff8c42 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 9999px !important;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
  cursor: pointer;
  text-decoration: none;
}
.btn-aldo-primary:hover, .dash-btn.primary:hover, .btn-beranda-cta.primary:hover {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b2b 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 107, 43, 0.5);
}
.btn-aldo-primary:active, .dash-btn.primary:active, .btn-beranda-cta.primary:active {
  transform: scale(0.98);
}

.btn-aldo-outline, .dash-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  background: #1c1c1e;
  color: #8e8e93;
  border: 1px solid #2c2c2e;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-aldo-outline:hover, .dash-btn.secondary:hover {
  background: rgba(255, 107, 43, 0.08);
  border-color: #ff6b2b;
  color: #ff6b2b;
}

/* ==========================================================================
   BERANDA / DASHBOARD MODULE
   ========================================================================== */
.dash-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-new-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  width: fit-content;
}
.dash-new-badge {
  background: #22c55e;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}
.dash-new-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8e8e93;
}
.dash-new-pill i {
  font-size: 0.7rem;
  color: #22c55e;
}

.dash-hero {
  background: linear-gradient(180deg, rgba(255, 107, 43, 0.08) 0%, rgba(28, 28, 30, 0) 100%), #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.dash-hero-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.dash-hero-title .text-chip,
.text-chip-orange {
  color: #ff6b2b !important;
}
.text-chip-mint,
.text-chip-green {
  color: #22c55e !important;
}
.text-chip-yellow {
  color: #ff6b2b !important;
}
.dash-hero-sub {
  font-size: 14px;
  color: #8e8e93;
  line-height: 1.55;
  max-width: 740px;
  margin-bottom: 22px;
}
.dash-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.dash-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8e8e93;
  flex-wrap: wrap;
}
.dash-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-trust i {
  color: #22c55e;
}

/* Code Window */
.dash-code-window {
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.dash-code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid #2c2c2e;
}
.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots .d {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dots .d.red { background: #FF5F56; }
.dash-dots .d.yellow { background: #FFBD2E; }
.dash-dots .d.green { background: #27C93F; }

.dash-code-tabs {
  display: flex;
  gap: 4px;
}
.dash-code-tab {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8e8e93;
  transition: all 0.15s ease;
}
.dash-code-tab:hover {
  color: #ffffff;
}
.dash-code-tab.active {
  color: #ff6b2b;
  background: rgba(255, 107, 43, 0.14);
}
.dash-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8e8e93;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid #2c2c2e;
  background: rgba(255, 255, 255, 0.03);
}
.dash-code-copy:hover {
  color: #ff6b2b;
  border-color: #ff6b2b;
  background: rgba(255, 107, 43, 0.08);
}
.dash-code-body {
  padding: 18px 20px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #F8FAFC;
  overflow-x: auto;
}
.dash-code-status {
  padding: 10px 18px;
  border-top: 1px solid #2c2c2e;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.03);
}

/* 4 Metric Cards Grid */
.dash-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-metric-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.dash-metric-card:hover {
  border-color: #ff6b2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 107, 43, 0.15);
}
.dash-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dash-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  font-size: 1.1rem;
}
.dash-metric-icon.users { background: rgba(59, 130, 246, 0.14); color: #3b82f6; }
.dash-metric-icon.up { background: rgba(34, 197, 94, 0.14); color: #22c55e; }
.dash-metric-icon.req { background: rgba(255, 107, 43, 0.14); color: #ff6b2b; }

.dash-metric-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2c2c2e;
  color: #8e8e93;
}
.dash-metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ff6b2b !important;
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.dash-metric-label {
  font-size: 14px;
  font-weight: 600;
  color: #8e8e93;
}
.dash-metric-hint {
  font-size: 12px;
  color: #636366;
  margin-top: 3px;
}

/* Capabilities 4-Grid */
.dash-section-head {
  margin-top: 18px;
  margin-bottom: 12px;
}
.dash-section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #22c55e;
  text-transform: uppercase;
}
.dash-section-title {
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.dash-section-title .text-chip {
  color: #ff6b2b !important;
}
.dash-section-sub {
  font-size: 14px;
  color: #8e8e93;
}

.dash-cap-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-cap-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.dash-cap-card:hover {
  border-color: #ff6b2b;
  transform: translateY(-2px);
}
.dash-cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.dash-cap-icon.ai { background: rgba(236, 72, 153, 0.14); color: #ec4899; }
.dash-cap-icon.tools { background: rgba(255, 107, 43, 0.14); color: #ff6b2b; }
.dash-cap-icon.edge { background: rgba(59, 130, 246, 0.14); color: #3b82f6; }
.dash-cap-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}
.dash-cap-card p {
  font-size: 13.5px;
  color: #8e8e93;
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}
.dash-cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dash-cap-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* 3-Step Flow */
.dash-flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dash-flow-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.dash-flow-card:hover {
  border-color: #ff6b2b;
  transform: translateY(-2px);
}
.dash-flow-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ff6b2b;
  font-family: var(--font-mono);
  line-height: 1;
}
.dash-flow-body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FFFFFF;
}
.dash-flow-body p {
  font-size: 13.5px;
  color: #8e8e93;
  line-height: 1.4;
  margin: 0;
}

/* Plans CTA Strip */
.dash-plans-cta {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dash-plans-cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FFFFFF;
}
.dash-plans-cta p {
  font-size: 14px;
  color: #8e8e93;
  margin: 0;
}
.dash-plans-checks {
  display: flex;
  gap: 16px;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8e8e93;
}
.dash-plans-checks i {
  color: #22c55e;
  margin-right: 6px;
}

.dash-dark-cta {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dash-dark-cta h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 800;
  color: #FFFFFF;
}
.dash-dark-cta p {
  font-size: 14px;
  color: #8e8e93;
  max-width: 500px;
  margin-bottom: 12px;
}
.dash-btn.glow {
  background: linear-gradient(135deg, #ff6b2b 0%, #ff8c42 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.dash-btn.glow:hover {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b2b 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 107, 43, 0.5);
}

/* ==========================================================================
   DOKUMENTASI / API CATALOG & PLAYGROUND
   ========================================================================== */
.api-search-container {
  margin-bottom: 20px;
}
.api-search-box {
  display: flex;
  align-items: center;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 9999px;
  padding: 12px 20px;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.api-search-box:focus-within {
  border-color: #ff6b2b;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}
.api-search-icon {
  color: var(--text-muted);
  font-size: 1rem;
}
.api-search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.92rem;
  color: var(--text-primary);
  box-shadow: none !important;
  padding: 0;
}
.api-search-input::placeholder {
  color: var(--text-muted);
}
.api-search-clear {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px;
}
.api-search-clear:hover {
  color: var(--text-primary);
}

/* Accordion Categories */
.api-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-accordion-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.category-accordion-card:hover {
  border-color: #3a3a3c;
}
.category-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  background: #1c1c1e;
  transition: background 0.15s ease;
}
.category-accordion-header:hover {
  background: #242426;
}
.category-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-folder-icon {
  color: #22c55e !important;
}
.category-title-text {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}
.category-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.category-chevron {
  color: #8e8e93;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.category-accordion-card.expanded .category-chevron {
  transform: rotate(180deg);
}
.category-accordion-body {
  border-top: 1px solid #2c2c2e;
  background: #141416;
  padding: 8px 0;
}

/* Endpoint Rows as Cards */
.api-endpoints-list {
  display: flex;
  flex-direction: column;
}
.api-endpoint-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin: 6px 12px;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.api-endpoint-row:hover {
  background: #242426;
  border-color: #ff6b2b;
  transform: translateY(-1px);
}

.api-row-method {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  min-width: 52px;
  text-align: center;
  text-transform: uppercase;
}
.method-get {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.method-post {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
.method-get-post {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.method-put, .method-patch {
  background: rgba(236, 72, 153, 0.15) !important;
  color: #ec4899 !important;
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}
.method-delete {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.api-row-info {
  flex: 1;
  min-width: 0;
}
.api-row-path {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.api-row-desc {
  font-size: 13px;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.api-row-action {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b2b;
  color: #ffffff;
  font-size: 0.85rem;
  border: none;
  transition: all 0.2s ease;
}
.api-endpoint-row:hover .api-row-action {
  background: #ff8c42;
  transform: scale(1.08);
}

/* Category Drilldown View */
.cat-detail-view {
  animation: fadeIn 0.2s ease-out;
}
.cat-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin-bottom: 18px;
  transition: all 0.15s ease;
}
.cat-detail-back:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}
.cat-detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.cat-detail-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cat-detail-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}
.cat-detail-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.cat-detail-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
.cat-detail-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 16px;
}
.cat-detail-search i {
  color: var(--text-muted);
}
.cat-detail-search input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: none !important;
}

/* Interactive Endpoint Card (Try-It) */
.cat-detail-endpoints {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cat-ep-card {
  background: #1c1c1e !important;
  border: 1px solid #2c2c2e !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease;
}
.cat-ep-card.open {
  border-color: #ff6b2b !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 107, 43, 0.15) !important;
}
.cat-ep-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  background: #1c1c1e;
  user-select: none;
  transition: background 0.15s ease;
}
.cat-ep-head:hover {
  background: #242426;
}
.cat-ep-method {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  min-width: 52px;
  text-align: center;
  background: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.cat-ep-method.post {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
.cat-ep-meta {
  flex: 1;
  min-width: 0;
}
.cat-ep-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-ep-vip {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(236, 72, 153, 0.15) !important;
  color: #ec4899 !important;
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}
.cat-ep-path {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #8e8e93;
  margin-top: 2px;
}
.cat-ep-chevron {
  color: #8e8e93;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.cat-ep-card.open .cat-ep-chevron {
  transform: rotate(180deg);
  color: #ff6b2b;
}

.cat-ep-body {
  border-top: 1px solid #2c2c2e;
  padding: 20px;
  background: #141416;
  display: none;
}
.cat-ep-card.open .cat-ep-body {
  display: block;
}
.cat-try-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff6b2b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-try-desc {
  font-size: 14px;
  color: #8e8e93;
  line-height: 1.45;
  margin-bottom: 16px;
}
.cat-params-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8e8e93;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-params-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.cat-param-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 12px;
}
.cat-param-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}
.cat-param-label small,
.cat-param-label .req {
  color: #ef4444;
  margin-left: 2px;
}
.cat-param-input {
  padding: 9px 14px;
  font-size: 0.88rem;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 10px;
  color: #FFFFFF;
  width: 100%;
}
.cat-param-input:focus {
  border-color: #ff6b2b;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.cat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.cat-btn-exec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff6b2b !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.3);
}
.cat-btn-exec:hover {
  background: #ff8c42 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 43, 0.45);
}
.cat-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}
.cat-btn-icon:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Try-It Response Panel */
.cat-response-wrap {
  margin-top: 16px;
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cat-resp-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}
.cat-resp-tab {
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.cat-resp-tab.active {
  color: #ff6b2b;
  border-bottom: 2px solid #ff6b2b;
  background: rgba(255, 107, 43, 0.08);
}
.cat-resp-status {
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  border-bottom: 1px solid #2c2c2e;
}
.cat-resp-body {
  padding: 14px 16px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #FFFFFF;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ==========================================================================
   STATS & ANALYTICS MODULE
   ========================================================================== */
.stats-hero {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.stats-hero-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #22c55e;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stats-hero-title {
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.stats-hero-title .text-chip {
  color: #ff6b2b !important;
}
.stats-hero-sub {
  font-size: 14px;
  color: #8e8e93;
  margin-bottom: 10px;
}
.stats-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseDot 1.4s infinite;
}

.stats-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stats-metric-card {
  background: #1c1c1e !important;
  border: 1px solid #2c2c2e !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease;
}
.stats-metric-card:hover {
  border-color: #ff6b2b !important;
  transform: translateY(-2px);
}
.stats-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.stats-metric-icon.users { background: rgba(59, 130, 246, 0.14) !important; color: #3b82f6 !important; }
.stats-metric-icon.req { background: rgba(255, 107, 43, 0.14) !important; color: #ff6b2b !important; }
.stats-metric-icon.up { background: rgba(34, 197, 94, 0.14) !important; color: #22c55e !important; }
.stats-metric-value {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  line-height: 1.1;
  color: #ff6b2b !important;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.stats-metric-label {
  font-size: 14px !important;
  font-weight: 600;
  color: #8e8e93 !important;
}
.stats-chart-wrap {
  width: 100%;
  padding: 10px 0;
}
.stats-chart-wrap canvas {
  width: 100% !important;
  height: auto !important;
}

/* ==========================================================================
   REQUEST LOG MODULE
   ========================================================================== */
.rlog-hero {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rlog-hero-title {
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.rlog-hero-title .text-chip {
  color: #ff6b2b !important;
}
.rlog-hero-sub {
  font-size: 14px;
  color: #8e8e93;
  margin: 0;
}
.rlog-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 9999px;
  color: #8e8e93;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
}
.rlog-export-btn:hover {
  background: rgba(255, 107, 43, 0.1);
  color: #ff6b2b;
  border-color: #ff6b2b;
}

.rlog-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rlog-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.rlog-search {
  padding: 10px 16px;
  font-size: 0.85rem;
  min-width: 220px;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 9999px;
  color: #FFFFFF;
}
.rlog-search:focus {
  border-color: #ff6b2b;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}
.rlog-chip-group {
  display: flex;
  gap: 6px;
}
.rlog-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8e8e93;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  transition: all 0.15s ease;
  cursor: pointer;
}
.rlog-chip:hover {
  color: #ff6b2b;
  border-color: #ff6b2b;
}
.rlog-chip.active {
  color: #ff6b2b;
  background: rgba(255, 107, 43, 0.14);
  border-color: #ff6b2b;
}

.rlog-table-wrap {
  overflow-x: auto;
}
.rlog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.rlog-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8e8e93;
  border-bottom: 1px solid #2c2c2e;
  background: #141416;
}
.rlog-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #2c2c2e;
  color: #8e8e93;
  font-size: 14px;
}
.rlog-table tr:hover td {
  background: #242426;
}
.rlog-path {
  color: #FFFFFF !important;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Badge Method in Rlog */
.rlog-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.rlog-method.get {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.rlog-method.post {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}
.rlog-method.put, .rlog-method.patch {
  background: rgba(236, 72, 153, 0.15) !important;
  color: #ec4899 !important;
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}
.rlog-method.delete {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Status in Rlog: SUCCESS hijau #22c55e, ERROR merah #ef4444 */
.rlog-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
}
.rlog-status.ok {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.rlog-status.err, .rlog-status.warn {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Latency: Angka latency orange #ff6b2b */
.rlog-table td:last-child {
  color: #ff6b2b !important;
  font-weight: 700 !important;
  font-family: var(--font-mono) !important;
}
.rlog-empty-row td {
  text-align: center;
  padding: 24px;
  color: #8e8e93;
}

/* ==========================================================================
   CODE SNIPPETS & UPLOAD
   ========================================================================== */
.snippet-search-bar {
  margin-bottom: 16px;
}
.snippet-search-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}
.snippet-search-icon {
  color: var(--text-muted);
}
.snippet-search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: none !important;
}

.category-filter-wrapper {
  margin-bottom: 18px;
}
.category-filter-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.category-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.category-filter-btn:hover {
  color: var(--text-primary);
}
.category-filter-btn.active {
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.snippet-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}
.snippet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.snippet-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.snippet-lang-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.14);
  color: var(--color-blue);
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.snippet-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.snippet-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

/* ==========================================================================
   PROFIL & DEVELOPER ACCOUNT
   ========================================================================== */
.profile-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.owner-profile-banner {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(17, 24, 39, 1) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.owner-profile-banner .tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-rose);
  margin-bottom: 4px;
}

.profile-hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-hero-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  object-fit: cover;
  background: var(--bg-surface);
}
.profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-name-row h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
}
.profile-role-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.profile-role-badge.vip {
  background: rgba(236, 72, 153, 0.15) !important;
  color: #ec4899 !important;
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}
.profile-email {
  font-size: 14px;
  color: #8e8e93;
  margin: 2px 0 0;
}
.profile-sub-id {
  font-size: 12px;
  color: #636366;
  margin: 2px 0 0;
}

.profile-info-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #2c2c2e;
}
.profile-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-info-row span {
  font-size: 12px;
  color: #8e8e93;
  text-transform: uppercase;
  font-weight: 700;
}
.profile-info-row strong {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 700;
}

/* API Key Card */
.profile-section-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-section-card h3 i {
  color: #ff6b2b;
}
.profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mini-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  border: 1px solid rgba(255, 107, 43, 0.25);
}
.apikey-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apikey-input {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 12px;
  color: #ff8c42;
}
.apikey-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.apikey-hint {
  font-size: 13px;
  color: #8e8e93;
  margin: 0;
}
.apikey-hint code {
  color: #ff6b2b;
  font-family: var(--font-mono);
}

/* Quota Bar */
.quota-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #8e8e93;
}
.quota-row strong {
  color: #FFFFFF;
  font-family: var(--font-mono);
}
.quota-bar {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #2c2c2e;
  overflow: hidden;
  margin-bottom: 8px;
}
.quota-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b2b, #ff8c42);
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.quota-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #8e8e93;
  margin-bottom: 14px;
}
.quota-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #2c2c2e;
}
.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-stat .stat-label {
  font-size: 12px;
  color: #8e8e93;
}
.profile-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ff6b2b;
  font-family: var(--font-mono);
}
#profileRoleStat {
  font-family: var(--font-main) !important;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

/* Device Metrics Grid */
.device-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.device-metric {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.device-metric:hover {
  border-color: #ff6b2b;
  transform: translateY(-1px);
}
.device-metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 43, 0.12) !important;
  color: #ff6b2b !important;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.device-metric .stat-label {
  font-size: 12px;
  color: #8e8e93;
  display: block;
}
.device-metric strong {
  font-size: 14px;
  color: #FFFFFF;
}

.login-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.login-log-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.login-log-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.login-log-right {
  font-size: 13px;
  color: #8e8e93;
  font-family: var(--font-mono);
}

.btn-logout-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 14px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-logout-full:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   LOGIN / AUTH GATEWAY MODULE
   ========================================================================== */
.auth-card {
  max-width: 480px;
  margin: 40px auto 0;
  text-align: center;
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.28);
  font-size: 1.5rem;
  color: var(--color-orange);
  margin-bottom: 18px;
}
.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.auth-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}
.btn-auth-google {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-auth-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 43, 0.45);
  color: #ffffff;
}
.auth-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   VIP PLANS / PRICING MODULE
   ========================================================================== */
.plan-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.plan-tab-btn {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}
.plan-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-card);
}
.plan-tab-btn.active {
  color: var(--color-orange);
  background: rgba(255, 107, 43, 0.12);
  border-color: rgba(255, 107, 43, 0.38);
  box-shadow: 0 2px 10px rgba(255, 107, 43, 0.2);
}

.plan-card-main {
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.stat-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(236, 72, 153, 0.14);
  color: var(--color-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
}
.plan-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.plan-price-big {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-orange);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.plan-price-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan-price-note {
  font-size: 0.78rem;
  color: var(--color-green);
  margin-bottom: 18px;
  font-weight: 600;
}
.plan-features-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}
.plan-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.plan-feat.ok i { color: var(--color-green); }
.plan-feat.no { color: var(--text-muted); }
.plan-feat.no i { color: var(--color-red); }

.plan-custom-wrap {
  margin-bottom: 18px;
}
.plan-custom-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.plan-custom-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.88rem;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}
.plan-custom-input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.2);
}
.plan-buy-btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.plan-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 43, 0.45);
  color: #ffffff;
}

.plan-qris-box {
  text-align: center;
  padding: 28px 24px;
  color: var(--text-muted);
}
.plan-qris-box i {
  font-size: 2.8rem;
  margin-bottom: 12px;
  color: var(--color-orange);
}
.plan-qris-box p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.plan-qris-box small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ADMIN PANEL MODULE
   ========================================================================== */
.admin-mode-bar {
  margin-bottom: 16px;
}
.btn-admin-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 43, 0.12);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 43, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
}
.btn-admin-mode.show {
  display: inline-flex;
}

/* ==========================================================================
   ADMIN MANAGEMENT PANEL (DARK THEME COMPLIANT)
   ========================================================================== */
.admin-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Admin Hero Banner */
.admin-hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-hero-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 107, 43, 0.12);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 43, 0.28);
  width: fit-content;
}

.admin-hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.admin-hero-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 750px;
}

/* Admin Stats Strip */
.admin-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.admin-stat-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.admin-stat-chip:hover {
  border-color: var(--border-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.admin-stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--color-orange);
}

.admin-stat-chip.stat-active .admin-stat-value {
  color: var(--color-green);
}

.admin-stat-chip.stat-maint .admin-stat-value {
  color: var(--color-red);
}

.admin-stat-chip.stat-cat .admin-stat-value {
  color: var(--color-orange);
}

/* Admin Tabs Navigation */
.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
}

.admin-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab.active {
  color: var(--color-orange);
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.38);
}

/* Admin Panels */
.admin-panel {
  display: none;
  animation: fadeIn 0.2s ease-out;
}

.admin-panel.active {
  display: block;
}

.admin-panel-header {
  margin-bottom: 20px;
}

.admin-panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.admin-panel-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Admin Filter & Search */
.admin-filter-bar {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-search-wrap {
  position: relative;
  width: 100%;
}

.admin-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.admin-search-input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.18);
}

.admin-cat-filter-wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.admin-cat-filter-wrap::-webkit-scrollbar {
  height: 4px;
}
.admin-cat-filter-wrap::-webkit-scrollbar-thumb {
  background: #3c3c3e;
  border-radius: 4px;
}

.admin-cat-pill,
.cat-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: #8e8e93;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  user-select: none;
}

.admin-cat-pill:hover,
.cat-filter-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 107, 43, 0.4);
  background: #252528;
}

.admin-cat-pill.active,
.cat-filter-pill.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 107, 43, 0.35);
}

/* Admin Category Block & Endpoints Grid */
.admin-category-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-cat-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.admin-cat-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-cat-title-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-cat-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
  border: 1px solid rgba(34, 197, 94, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.admin-cat-title-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.admin-cat-desc-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.admin-cat-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-cat-badge-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

.chip-total {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.chip-online {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: var(--color-green);
}

.chip-offline {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: var(--color-red);
}

.admin-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.admin-ep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}

.admin-ep-card:hover {
  border-color: var(--border-card);
  box-shadow: var(--shadow-card);
}

.admin-ep-card.is-disabled {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.03);
}

.admin-ep-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-pill-tag {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.method-get {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.method-post {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.method-put, .method-patch {
  background: rgba(236, 72, 153, 0.15);
  color: var(--color-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.method-delete {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.method-any {
  background: rgba(255, 107, 43, 0.15);
  color: var(--color-orange);
  border: 1px solid rgba(255, 107, 43, 0.3);
}

.tag-vip {
  background: rgba(236, 72, 153, 0.15);
  color: var(--color-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.status-on {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
}

.status-off {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-red);
}

.admin-ep-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.admin-ep-route-box {
  margin-bottom: 6px;
}

.admin-ep-route-pill code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ff8c42;
  background: rgba(255, 107, 43, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 107, 43, 0.18);
  word-break: break-all;
}

.admin-ep-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.admin-toggle-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-to-maint {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-red);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-to-maint:hover {
  background: var(--color-red);
  color: #ffffff;
}

.btn-to-online {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
  border-color: rgba(34, 197, 94, 0.3);
}

.btn-to-online:hover {
  background: var(--color-green);
  color: #ffffff;
}

/* Admin Form Cards & Controls */
.admin-form-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.admin-section-card-header {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.admin-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.admin-input-styled,
.admin-select-styled,
.admin-textarea-styled {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.admin-input-styled:focus,
.admin-select-styled:focus,
.admin-textarea-styled:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.18);
}

.admin-select-styled option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.admin-field-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.admin-field-hint code {
  color: #ff8c42;
}

.admin-radio-toggle-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-radio-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-radio-btn input {
  margin-right: 6px;
}

.admin-radio-btn:hover {
  border-color: var(--border-card);
  color: var(--text-primary);
}

.admin-opt-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-opt-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.admin-opt-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
}

.admin-code-editor-area {
  width: 100%;
  padding: 14px;
  background: #141416;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  outline: none;
}
.admin-code-editor-area:focus {
  border-color: var(--color-orange);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.admin-btn-save {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.35);
}

.admin-btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 43, 0.45);
  color: #ffffff;
}

.admin-btn-outline {
  background: transparent;
  border-color: var(--border-card);
  color: var(--text-secondary);
}

.admin-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.admin-card .title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.admin-card .meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.admin-badge-on {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.14);
  color: var(--color-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-badge-off {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(239, 68, 68, 0.14);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-actions .admin-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e5ea;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-actions .admin-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@media (max-width: 576px) {
  .admin-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .admin-actions .admin-btn {
    width: 100%;
    padding: 7px 10px;
    font-size: 0.76rem;
  }
  .admin-actions .admin-btn[data-act="del"] {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}

.admin-btn.ok {
  background: rgba(34, 197, 94, 0.14) !important;
  color: var(--color-green) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.admin-btn.ok:hover {
  background: var(--color-green) !important;
  color: #ffffff !important;
}

.admin-btn.danger {
  background: rgba(239, 68, 68, 0.14) !important;
  color: var(--color-red) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
.admin-btn.danger:hover {
  background: var(--color-red) !important;
  color: #ffffff !important;
}

.admin-actions .admin-btn[data-act="ent"] {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.admin-actions .admin-btn[data-act="ent"]:hover {
  background: #8b5cf6;
  color: #ffffff;
}

.admin-checkbox-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.admin-empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   MAIN FOOTER (ARASBOT / ALDO MODERN STYLE)
   ========================================================================== */
.main-footer {
  width: 100%;
  margin-top: auto;
  background: #141416;
  border-top: 1px solid var(--border-card);
  padding: 48px 24px calc(80px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 10;
}

.main-footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.brand-footer-header {
  margin-bottom: 32px;
}

.brand-footer-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.brand-footer-avatar-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.6), rgba(255, 140, 66, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-footer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card);
}

.brand-footer-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-footer-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.brand-engine-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-blue);
  border: 1px solid rgba(59, 130, 246, 0.28);
  letter-spacing: 0.04em;
}

.brand-footer-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 3px 0 0;
}

.brand-footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 16px;
}

.brand-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.brand-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.brand-tag-chip:hover {
  background: rgba(255, 107, 43, 0.1);
  border-color: rgba(255, 107, 43, 0.3);
  color: var(--color-orange);
}

.brand-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 28px 0 32px;
}

.brand-footer-section {
  display: flex;
  flex-direction: column;
}

.brand-footer-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.brand-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-footer-list li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.brand-footer-list li a:hover {
  color: var(--color-orange);
  text-decoration: none !important;
  text-decoration-line: none !important;
  transform: translateX(4px);
}

.brand-footer-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.brand-footer-list li a:hover .brand-footer-icon-box {
  background: rgba(255, 107, 43, 0.15);
  border-color: rgba(255, 107, 43, 0.35);
  color: var(--color-orange);
}

.legal-list .legal-symbol {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  width: 16px;
  text-align: center;
  font-size: 0.95rem;
}

.brand-footer-list.legal-list li a:hover .legal-symbol {
  color: var(--color-orange);
}

.brand-footer-hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 28px 0;
  opacity: 0.7;
}

.brand-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-copyright {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.brand-online-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-green);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  transition: all 0.2s ease;
}

.brand-online-badge:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
}

.brand-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
  animation: footerDotPulse 2s infinite ease-in-out;
}

@keyframes footerDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px var(--color-green);
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
    box-shadow: 0 0 14px var(--color-green);
  }
}

/* Custom Legal Modal Styling */
.custom-legal-modal {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-card) !important;
}
.custom-legal-modal .modal-header {
  border-bottom: 1px solid var(--border-subtle) !important;
}
.custom-legal-modal .modal-footer {
  border-top: 1px solid var(--border-subtle) !important;
}
.custom-legal-modal h6 {
  color: var(--color-orange);
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.custom-legal-modal p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .main-footer {
    padding: 32px 16px calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .brand-footer-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .brand-online-badge {
    width: 100%;
  }
}

/* ==========================================================================
   MODALS (BOOTSTRAP ADAPTATION)
   ========================================================================== */
.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card) !important;
}
.modal-header {
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 16px 20px !important;
}
.modal-title {
  color: var(--text-primary) !important;
  font-weight: 800 !important;
}
.modal-body {
  padding: 20px !important;
}
.modal-footer {
  border-top: 1px solid var(--border-subtle) !important;
  padding: 14px 20px !important;
}
.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (Removed as per user request, hamburger used instead)
   ========================================================================== */
.bottom-nav-bar {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .dash-cap-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .device-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  :root {
    --sidebar-w: 260px;
  }

  .side-nav {
    transform: translateX(-100%);
  }
  .side-nav.active {
    transform: translateX(0);
  }
  .nav-close-btn {
    display: block;
  }
  
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1035;
  }
  .sidebar-backdrop.active {
    display: block;
  }
  
  .main-header {
    margin: 0 0 16px 0 !important;
    padding: 0 16px;
    width: 100% !important;
    border-radius: 0;
  }
  .menu-toggle-btn {
    display: inline-flex;
  }
  
  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .main-footer {
    width: 100% !important;
  }
  
  .dash-metric-grid, .stats-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-flow-list {
    grid-template-columns: 1fr;
  }
  .snippet-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dash-metric-grid, .stats-metric-grid {
    grid-template-columns: 1fr;
  }
  .dash-cap-list {
    grid-template-columns: 1fr;
  }
  .snippet-gallery-grid {
    grid-template-columns: 1fr;
  }
  .dash-hero-title {
    font-size: 1.6rem;
  }
  .device-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-info-table {
    grid-template-columns: 1fr;
  }
  .cat-param-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ==========================================================================
   TERMINAL WINDOW, MODAL TESTING & CODE BLOCKS
   ========================================================================== */
.terminal-window {
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1c1c1e;
  border-bottom: 1px solid #2c2c2e;
  gap: 12px;
}
.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dots .dot,
.mini-terminal-header .dot,
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot.dot-red, .dot-red { background: #ef4444 !important; }
.dot.dot-yellow, .dot-yellow { background: #eab308 !important; }
.dot.dot-green, .dot-green { background: #22c55e !important; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8e8e93;
  text-transform: uppercase;
}
.terminal-body {
  padding: 16px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f4f4f5;
  overflow-x: auto;
  background: #141416;
}
.mac-terminal-body {
  padding: 16px;
}
.code-block {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  white-space: pre-wrap;
  word-break: break-all;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2c2c2e;
  color: #8e8e93;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.copy-btn:hover {
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  border-color: #ff6b2b;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.3);
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 43, 0.45);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mini-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 107, 43, 0.2);
  border-top-color: #ff6b2b;
  border-radius: 50%;
  animation: miniSpin 0.7s linear infinite;
  margin: 0 auto;
}
@keyframes miniSpin {
  to { transform: rotate(360deg); }
}

/* Modal Parameters Container */
.param-container {
  margin-bottom: 20px;
  padding: 16px;
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius-md);
}
.param-form-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff6b2b;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.param-label-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.param-label-container label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.required-indicator {
  color: #ef4444;
  font-weight: 800;
}
.param-info {
  color: #8e8e93;
  font-size: 0.75rem;
  cursor: help;
}
.custom-input {
  background: #1c1c1e !important;
  border: 1px solid #2c2c2e !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 9px 14px !important;
  font-size: 0.88rem !important;
}
.custom-input:focus {
  border-color: #ff6b2b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15) !important;
}

/* ==========================================================================
   STATS POPULAR ENDPOINTS & CATEGORY LISTS
   ========================================================================== */
.stats-popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 6px;
}
.stats-pop-row {
  display: grid;
  grid-template-columns: 36px 1fr 70px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 12px;
  transition: border-color 0.15s ease;
}
.stats-pop-row:hover {
  border-color: #ff6b2b;
}
.stats-pop-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.14);
  color: #ff6b2b;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.stats-pop-path {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  word-break: break-all;
}
.stats-pop-bar-wrap {
  width: 100%;
  height: 6px;
  background: #2c2c2e;
  border-radius: 999px;
  overflow: hidden;
}
.stats-pop-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6b2b, #ff8c42);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.stats-pop-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ff6b2b;
  text-align: right;
}
.stats-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  padding: 14px 0 6px;
}
.stats-cat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 14px;
  transition: all 0.2s ease;
}
.stats-cat-item:hover {
  border-color: #ff6b2b;
  transform: translateY(-1px);
}
.stats-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.stats-cat-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.stats-cat-count {
  font-size: 0.74rem;
  color: #8e8e93;
  font-family: var(--font-mono);
  margin-top: 2px;
}
.stats-empty {
  text-align: center;
  padding: 28px;
  color: #8e8e93;
  font-size: 0.88rem;
}

/* ==========================================================================
   INFORMASI & SYSTEM INFO MODULE
   ========================================================================== */
.info-page {
  max-width: 900px;
  margin: 0 auto;
}
.info-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.info-page-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.info-page-card:hover {
  border-color: #ff6b2b;
  transform: translateY(-2px);
}
.info-page-card h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.info-page-card h4 i {
  color: #ff6b2b;
}
.info-page-card p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.info-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #8e8e93;
}

/* ==========================================================================
   SNIPPET GALLERY CARDS, PREVIEW & SYNTAX TOKENS
   ========================================================================== */
.snippet-category-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
}
.snippet-author-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #8e8e93;
}
.snippet-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 4px;
}
.snippet-card-desc {
  font-size: 0.82rem;
  color: #8e8e93;
  line-height: 1.45;
  margin-bottom: 12px;
}
.mini-terminal {
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  max-width: 100%;
}
.mini-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1c1c1e;
  border-bottom: 1px solid #2c2c2e;
}
.mini-terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8e8e93;
}
.snippet-code-preview {
  padding: 10px 12px;
  max-height: 120px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #141416;
  max-width: 100%;
}
.snippet-code-preview pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.4;
  color: #e4e4e7;
  overflow-x: auto;
  max-width: 100%;
}
.snippet-card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #2c2c2e;
}
.snippet-card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.snippet-btn-share {
  background: rgba(255, 255, 255, 0.05);
  color: #8e8e93;
  border: 1px solid #2c2c2e;
}
.snippet-btn-share:hover {
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  border-color: #ff6b2b;
}
.snippet-btn-view {
  background: #ff6b2b;
  color: #ffffff;
  border: none;
}
.snippet-btn-view:hover {
  background: #ff8c42;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Syntax Highlighting Tokens */
.code-token-comment { color: #6b7280; font-style: italic; }
.code-token-string { color: #86efac; }
.code-token-decl { color: #93c5fd; font-weight: 700; }
.code-token-flow { color: #f472b6; font-weight: 700; }
.code-token-mod { color: #c084fc; }
.code-token-boolean { color: #f87171; font-weight: 700; }
.code-token-builtin { color: #67e8f9; }
.code-token-function { color: #fde047; }
.code-token-number { color: #fb923c; }
.code-token-operator { color: #e4e4e7; }

/* Snippet Detail View Container */
.snippet-detail-container {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.snippet-meta-box {
  margin-bottom: 20px;
}
.snippet-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.snippet-detail-desc {
  font-size: 0.9rem;
  color: #8e8e93;
  line-height: 1.5;
}
.snippet-control-box {
  background: #141416;
  border: 1px solid #2c2c2e;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.snippet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.snippet-btn-outline {
  background: transparent;
  color: #8e8e93;
  border: 1px solid #2c2c2e;
}
.snippet-btn-outline:hover {
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  border-color: #ff6b2b;
}
.snippet-btn-primary {
  background: #ff6b2b;
  color: #ffffff;
  border: 1px solid #ff6b2b;
}
.snippet-btn-primary:hover {
  background: #ff8c42;
  border-color: #ff8c42;
  color: #ffffff;
}
.snippet-stat-item {
  font-size: 0.78rem;
  color: #8e8e93;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #2c2c2e;
}

/* ==========================================================================
   UPLOAD SNIPPET & PENDING MODERATION
   ========================================================================== */
.upload-snippet-page-card {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.btn-pending-snippet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #eab308;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-pending-snippet-badge:hover {
  background: rgba(234, 179, 8, 0.2);
  transform: translateY(-1px);
}
.pending-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eab308;
  box-shadow: 0 0 6px #eab308;
  animation: pulseDot 1.4s infinite;
}
.snippet-file-dropzone {
  border: 2px dashed #2c2c2e;
  border-radius: 14px;
  background: #141416;
  cursor: pointer;
  transition: all 0.2s ease;
}
.snippet-file-dropzone:hover,
.snippet-file-dropzone.drag-over {
  border-color: #ff6b2b;
  background: rgba(255, 107, 43, 0.04);
}
.snippet-file-input-hidden {
  display: none;
}

/* Pending Terminal Overlay Editor */
.pending-terminal-wrapper {
  position: relative;
  min-height: 240px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
}
.pending-code-highlight-pre {
  margin: 0;
  padding: 16px;
  background: #141416;
  color: #f4f4f5;
  overflow: auto;
  min-height: 240px;
  white-space: pre;
}
.pending-terminal-textarea-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background: transparent;
  color: transparent;
  caret-color: #ffffff;
  border: none;
  outline: none;
  resize: none;
  white-space: pre;
  overflow: auto;
}
.badge-pending-status {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* ==========================================================================
   TRY-IT RESPONSE BADGES, VIP & GENERAL UTILITIES
   ========================================================================== */
.cat-status-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.cat-status-badge.ok {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.cat-status-badge.err {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.cat-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2c2c2e;
  color: #8e8e93;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.15s ease;
}
.cat-copy-btn:hover {
  color: #ff6b2b;
  border-color: #ff6b2b;
}
.cat-resp-status {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 6px 14px;
}
.cat-key-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: #8e8e93;
  border: 1px solid #2c2c2e;
}
.cat-key-pill.vip {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
}
.cat-key-note {
  background: rgba(255, 107, 43, 0.08);
  border: 1px solid rgba(255, 107, 43, 0.25);
  color: #ff8c42;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vip-endpoint-badge {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.no-results-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

/* Form Controls & Dropzone Utilities */
.link-upgrade {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-orange);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.28);
  transition: all 0.2s ease;
}
.link-upgrade:hover {
  background: var(--color-orange);
  color: #ffffff;
}

.custom-form-input {
  background: #141416 !important;
  border: 1px solid #2c2c2e !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
}
.custom-form-input:focus {
  border-color: #ff6b2b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15) !important;
}

.dropzone-content {
  padding: 24px 16px;
  cursor: pointer;
}
.dropzone-icon {
  font-size: 2.2rem;
  color: var(--color-orange);
  margin-bottom: 10px;
}
.dropzone-file-preview {
  background: #1c1c1e;
  border-color: #2c2c2e !important;
}

.endpoint-usage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.pin-modal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.pin-modal-subtitle {
  font-size: 0.85rem;
  color: #8e8e93;
}

.pending-bulk-bar {
  background: #1c1c1e !important;
  border-color: #2c2c2e !important;
}
.custom-admin-check {
  cursor: pointer;
  background-color: #141416;
  border-color: #3a3a3c;
}
.custom-admin-check:checked {
  background-color: #ff6b2b;
  border-color: #ff6b2b;
}
.font-head {
  font-family: var(--font-main);
  letter-spacing: -0.01em;
}
.font-mono {
  font-family: var(--font-mono);
}
.extra-small {
  font-size: 0.72rem;
}

/* Beranda CTA tidy additions */
.dash-plans-cta-left {
  flex: 1;
  min-width: 260px;
}
.dash-plans-cta-left h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}
.dash-plans-cta-left p {
  font-size: 14px;
  color: #8e8e93;
  margin: 0;
}

/* Bulletproof Global Reset: Remove all ugly underlines across all menus */
a,
a *,
a:hover,
a:hover *,
a:focus,
a:focus *,
a:active,
a:active *,
a:visited,
a:visited *,
button,
button *,
.btn,
.btn *,
.side-nav-link,
.side-nav-link *,
.side-cta,
.side-cta *,
.brand-footer-list a,
.brand-footer-list a *,
.brand-footer-list li a,
.brand-footer-list li a *,
.legal-list a,
.legal-list a *,
.dash-btn,
.dash-btn *,
.nav-link,
.nav-link * {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* ==========================================================================
   ALDO API — ENHANCED UI STYLES (LOADER, VOUCHER, USERS, UPLOAD, BERANDA)
   ========================================================================== */

/* ===== 1. MENU NAVIGATION TRANSITION OVERLAY ===== */
.menu-nav-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s ease;
}
.menu-nav-transition.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.menu-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.menu-nav-card {
  position: relative;
  z-index: 2;
  background: rgba(18, 19, 23, 0.94);
  border: 1px solid rgba(255, 107, 43, 0.28);
  border-radius: 22px;
  padding: 24px 30px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 107, 43, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 330px;
  max-width: 90vw;
  box-sizing: border-box;
  animation: menuCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes menuCardPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.menu-nav-icon-box {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.15), rgba(255, 140, 66, 0.05));
  border: 1px solid rgba(255, 107, 43, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b2b;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.menu-nav-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid rgba(255, 107, 43, 0.5);
  animation: pulseRing 1.2s infinite ease-out;
}
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
.menu-nav-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ff6b2b;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.menu-nav-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}
.menu-nav-step {
  font-size: 0.72rem;
  color: #a1a1aa;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 3px;
  margin-bottom: 16px;
}
.menu-nav-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.menu-nav-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b2b, #ff8c42, #ffa500);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(255, 107, 43, 0.85);
  transition: width 0.08s linear;
}

/* ===== 2. BERANDA PROMO VOUCHER & SHARE CARD ===== */
.dash-voucher-promo-card {
  position: relative;
  margin: 20px 0 30px;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.08) 0%, rgba(18, 19, 23, 0.95) 100%);
  border: 1px solid rgba(255, 107, 43, 0.28);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 107, 43, 0.08);
  overflow: hidden;
}
.voucher-promo-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.25) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}
.voucher-promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.voucher-promo-left {
  flex: 1;
  min-width: 260px;
}
.voucher-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff8c42;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.voucher-promo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}
.voucher-promo-desc {
  font-size: 0.88rem;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.5;
}
.voucher-promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-promo-claim {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 43, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.btn-promo-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 43, 0.45);
}
.btn-promo-share {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.btn-promo-share:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 107, 43, 0.4);
}
.voucher-promo-share-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.share-bar-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #a1a1aa;
}
.share-bar-input {
  flex: 1;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffa500;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 8px 12px;
}
.share-bar-copy-btn {
  background: rgba(255, 107, 43, 0.15);
  border: 1px solid rgba(255, 107, 43, 0.35);
  color: #ff8c42;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-bar-copy-btn:hover {
  background: #ff6b2b;
  color: #ffffff;
}

/* ===== 3. GUEST LOGIN INVITATION NOTIFICATION ===== */
.guest-login-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: rgba(18, 19, 23, 0.96);
  border: 1px solid rgba(255, 107, 43, 0.35);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 107, 43, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: guestSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes guestSlideUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.guest-login-notice.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  pointer-events: none;
}
.guest-notice-ambient {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.3) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}
.guest-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}
.guest-notice-close:hover {
  color: #ffffff;
}
.guest-notice-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.guest-notice-icon-box {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guest-notice-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guest-notice-spark {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.65rem;
  color: #ffa500;
}
.guest-notice-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ff8c42;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.guest-notice-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}
.guest-notice-desc {
  font-size: 0.8rem;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.45;
}
.guest-notice-footer {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-guest-login-primary {
  flex: 1;
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-guest-login-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 43, 0.45);
}
.btn-guest-login-later {
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-guest-login-later:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== 4. ADMIN JS UPLOAD DROPZONE & SIMPLE FORM ===== */
.admin-js-upload-card {
  background: rgba(18, 19, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}
.admin-dropzone-box {
  border: 2px dashed rgba(255, 107, 43, 0.4);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  background: rgba(255, 107, 43, 0.02);
  cursor: pointer;
  transition: all 0.25s ease;
}
.admin-dropzone-box:hover, .admin-dropzone-box.dragover {
  border-color: #ff6b2b;
  background: rgba(255, 107, 43, 0.08);
  transform: scale(0.995);
}
.dropzone-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: rgba(255, 107, 43, 0.12);
  color: #ff6b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.dropzone-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}
.dropzone-sub {
  font-size: 0.82rem;
  color: #a1a1aa;
  margin: 0 0 10px 0;
}
.dropzone-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: #d4d4d8;
  font-family: 'JetBrains Mono', monospace;
}
.admin-file-picked-strip {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-clear-file {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
}
.admin-details-accordion {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
}
.admin-details-summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: #a1a1aa;
  user-select: none;
}
.admin-details-summary:hover {
  color: #ff8c42;
}

/* ===== 5. ADMIN USERS MANAGEMENT (LENGKAP DENGAN ALAMAT IP) ===== */
.admin-users-stats-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.admin-user-stat-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
}
.admin-user-stat-chip .label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
}
.admin-user-stat-chip .value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
}
.admin-user-stat-chip.stat-vip .value { color: #f59e0b; }
.admin-user-stat-chip.stat-free .value { color: #38bdf8; }
.admin-user-stat-chip.stat-req .value { color: #22c55e; }

.admin-users-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-user-pills {
  display: flex;
  gap: 6px;
}
.user-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-pill-btn.active, .user-pill-btn:hover {
  background: #ff6b2b;
  color: #ffffff;
  border-color: #ff6b2b;
}

.admin-user-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.admin-rich-user-card {
  background: rgba(18, 19, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}
.admin-rich-user-card:hover {
  border-color: rgba(255, 107, 43, 0.35);
}
.admin-rich-user-card.is-vip {
  border-left: 3px solid #f59e0b;
}
.user-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}
.user-card-meta {
  flex: 1;
  min-width: 0;
}
.user-card-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-card-email-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #a1a1aa;
}
.user-card-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.user-pill-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.user-pill-badge.vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.user-pill-badge.free {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.user-pill-badge.owner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.3));
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.user-card-details-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}
.user-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.user-detail-label {
  color: #71717a;
  font-weight: 600;
}
.user-ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  padding: 2px 8px;
  border-radius: 6px;
}
.user-ip-copy-btn, .user-email-copy-btn {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.7;
}
.user-ip-copy-btn:hover, .user-email-copy-btn:hover {
  opacity: 1;
}
.user-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== 6. ADMIN VOUCHER SHARE BOX ===== */
.admin-voucher-share-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(18, 19, 23, 0.95) 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.share-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.share-sparkle-badge {
  color: #22c55e;
  font-size: 1.1rem;
}
.share-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.share-box-desc {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0 0 12px 0;
}
.share-text-preview-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  max-height: 220px;
  overflow-y: auto;
}
.share-text-pre {
  margin: 0;
  color: #e4e4e7;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.btn-share-copy {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  border: none;
}
.btn-share-copy.primary {
  background: #22c55e;
  color: #000000;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.btn-share-copy.primary:hover {
  background: #16a34a;
  color: #ffffff;
}
.btn-share-copy.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.btn-share-copy.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn-share-copy.ghost {
  background: transparent;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ===== 7. PROFILE REDEEM & MY SAVED VOUCHERS ===== */
.profile-voucher-form {
  margin-top: 10px;
}
.profile-voucher-input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}
.voucher-input-icon {
  position: absolute;
  left: 14px;
  color: #71717a;
  font-size: 1rem;
}
.profile-voucher-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px 12px 40px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}
.profile-voucher-input:focus {
  border-color: #ff6b2b;
  outline: none;
  box-shadow: 0 0 14px rgba(255, 107, 43, 0.25);
}
.btn-profile-redeem {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.3);
  transition: all 0.2s ease;
}
.btn-profile-redeem:hover {
  transform: translateY(-1px);
}
.profile-voucher-result {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.profile-voucher-result.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.profile-voucher-result.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.saved-vouchers-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}
.profile-saved-vouchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.saved-voucher-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}
.saved-voucher-chip.active-valid {
  border-color: rgba(255, 107, 43, 0.3);
  background: rgba(255, 107, 43, 0.03);
}
.saved-voucher-chip.is-expired {
  opacity: 0.6;
  border-color: rgba(239, 68, 68, 0.25);
}
.saved-v-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.saved-v-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #ffa500;
  font-size: 1rem;
}
.saved-v-disc {
  font-size: 0.72rem;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
}
.saved-v-timer {
  font-size: 0.75rem;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  gap: 6px;
}
.saved-v-btn-use {
  background: rgba(255, 107, 43, 0.15);
  border: 1px solid rgba(255, 107, 43, 0.35);
  color: #ff8c42;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
}
.saved-v-btn-use:hover {
  background: #ff6b2b;
  color: #ffffff;
}

/* ===== 8. BUY PLAN VOUCHER INPUT ===== */
.plan-voucher-wrap {
  margin-top: 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.plan-voucher-input-group {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.plan-voucher-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.btn-plan-voucher-apply {
  background: rgba(255, 107, 43, 0.2);
  border: 1px solid rgba(255, 107, 43, 0.4);
  color: #ff8c42;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-plan-voucher-apply:hover {
  background: #ff6b2b;
  color: #ffffff;
}
.plan-saved-vouchers-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.plan-quick-pick-pill {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.plan-quick-pick-pill:hover {
  background: #f59e0b;
  color: #000000;
}
.plan-voucher-feedback {
  margin-top: 6px;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
}
.plan-voucher-feedback.ok {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.plan-voucher-feedback.err {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}


/* ==========================================================================
   REVAMP: ADMIN USER CARD STYLING (MODERN LUXURY CYBERPUNK)
   ========================================================================== */
.admin-user-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .admin-user-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.admin-user-card {
  background: linear-gradient(145deg, rgba(23, 29, 44, 0.95), rgba(13, 17, 28, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.admin-user-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.admin-user-card.is-vip {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(145deg, rgba(30, 26, 42, 0.95), rgba(15, 18, 28, 0.98));
}
.admin-user-card.is-vip:hover {
  border-color: rgba(245, 158, 11, 0.5);
  border-left-color: #f59e0b;
}
.user-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-avatar-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.user-info-main {
  flex: 1;
  min-width: 0;
}
.user-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.user-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-role-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.user-role-badge.badge-vip {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}
.user-role-badge.badge-free {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}
.user-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.user-email-text {
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-copy-mini {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.btn-copy-mini:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
}
.user-card-meta-strip {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
}
.meta-label {
  color: #71717a;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.user-ip-pill {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.user-key-code {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.user-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.user-metric-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-label {
  font-size: 0.68rem;
  color: #71717a;
  text-transform: uppercase;
  font-weight: 700;
}
.metric-val {
  font-size: 0.82rem;
  font-weight: 800;
}
.user-card-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-vip-action {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-vip-action:hover {
  background: rgba(34, 197, 94, 0.25);
  color: #ffffff;
  border-color: #22c55e;
}
.btn-free-action {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-free-action:hover {
  background: rgba(14, 165, 233, 0.25);
  color: #ffffff;
  border-color: #0ea5e9;
}
.btn-del-action {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-del-action:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
  border-color: #ef4444;
}

/* ==========================================================================
   BERANDA & DOKUMENTASI NOTIFICATIONS ANNOUNCEMENT BANNERS
   ========================================================================== */
.beranda-notif-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 20, 29, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  .beranda-notif-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
.beranda-notif-left {
  flex: 1;
}
.beranda-notif-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.beranda-notif-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}
.beranda-notif-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}
.beranda-notif-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-notif-detail {
  background: #f59e0b;
  color: #000000;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.btn-notif-detail:hover {
  background: #fbbf24;
  color: #000000;
  transform: translateY(-1px);
}
.btn-notif-dismiss {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-notif-dismiss:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* DOKS NOTIF STRIP */
.docs-notif-strip {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.docs-notif-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.docs-notif-text {
  color: #e2e8f0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.docs-notif-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.docs-notif-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   INFORMASI & PUSAT PENGUMUMAN UPDATE FEED
   ========================================================================== */
.info-header-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.info-badge-top {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
/* ==========================================================================
   INFORMASI & ANNOUNCEMENTS TIMELINE (CYBERPUNK CHANGELOG FEED)
   ========================================================================== */
.info-header-banner {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12) 0%, rgba(17, 22, 34, 0.9) 100%);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 107, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.info-header-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.info-badge-top {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 107, 0, 0.2);
  color: #ff9f43;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 0, 0.35);
  margin-bottom: 12px;
}
.info-filter-tabs {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.info-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.22s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.info-filter-btn:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}
.info-filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(245, 158, 11, 0.2));
  border-color: #ff7a00;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.4);
}
.announcements-timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.announcement-card {
  background: linear-gradient(145deg, rgba(16, 21, 33, 0.94), rgba(10, 13, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.announcement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: #ff7a00;
  box-shadow: 0 0 12px #ff7a00;
  transition: width 0.2s ease;
}
.announcement-card:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.15);
}
.announcement-card:hover::before {
  width: 6px;
}
.announcement-card[data-type="update"]::before,
.announcement-card.type-update::before {
  background: #10b981;
  box-shadow: 0 0 14px #10b981;
}
.announcement-card[data-type="maintenance"]::before,
.announcement-card.type-maintenance::before {
  background: #f59e0b;
  box-shadow: 0 0 14px #f59e0b;
}
.announcement-card[data-type="promo"]::before,
.announcement-card.type-promo::before {
  background: #a855f7;
  box-shadow: 0 0 14px #a855f7;
}
.announcement-card[data-type="info"]::before,
.announcement-card.type-info::before {
  background: #0ea5e9;
  box-shadow: 0 0 14px #0ea5e9;
}

.announcement-header,
.announcement-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.announcement-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.announcement-type-badge,
.announcement-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.badge-update {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.badge-maint,
.badge-maintenance {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}
.badge-promo {
  background: rgba(168, 85, 247, 0.16);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}
.badge-info {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}
.announcement-date {
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.announcement-title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.announcement-body {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 18px 0;
}
.announcement-body code {
  background: rgba(0, 0, 0, 0.4);
  color: #ff9f43;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 107, 0, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
}
.announcement-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.announcement-action-btn,
.btn-announcement-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(255, 107, 0, 0.5);
  border-radius: 10px;
  padding: 8px 16px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.25);
}
.announcement-action-btn:hover,
.btn-announcement-link:hover {
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #ffffff;
  border-color: #ff7a00;
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
}

.header-share-btn {
  color: #ff9f43 !important;
}
.header-share-btn:hover {
  color: #ffffff !important;
  border-color: #ff7a00 !important;
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.4) !important;
}

/* ==========================================================================
   DEVELOPER SECTION STYLING (ALDOXD & ANTIGRAVITY)
   ========================================================================== */
.developer-page {
  padding-bottom: 40px;
}
.developer-hero-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.developer-badge-top {
  display: inline-flex;
  align-items: center;
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.developer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .developer-cards-grid {
    grid-template-columns: 1fr;
  }
}
.developer-card {
  background: linear-gradient(145deg, rgba(23, 27, 42, 0.95), rgba(12, 16, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.developer-card:hover {
  transform: translateY(-3px);
}
.developer-card.dev-aldoxd {
  border-color: rgba(168, 85, 247, 0.35);
}
.developer-card.dev-aldoxd:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 14px 40px rgba(168, 85, 247, 0.2);
}
.developer-card.dev-antigravity {
  border-color: rgba(56, 189, 248, 0.35);
}
.developer-card.dev-antigravity:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.2);
}
.dev-card-ambient {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.dev-card-ambient.ai {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
}
.dev-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dev-avatar-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.dev-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #a855f7;
}
.dev-avatar-ai {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
  border: 2px solid #38bdf8;
}
.dev-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #0f172a;
}
.dev-status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.dev-status-dot.ai {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}
.dev-title-info {
  flex: 1;
  min-width: 0;
}
.dev-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}
.dev-role-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.dev-role-badge.badge-owner {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.dev-role-badge.badge-ai {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}
.dev-subtitle {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}
.dev-bio-quote {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid #a855f7;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  position: relative;
}
.dev-card-ambient.ai + .dev-header + .dev-bio-quote,
.dev-antigravity .dev-bio-quote {
  border-left-color: #38bdf8;
}
.dev-bio-quote p {
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}
.quote-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.2rem;
  opacity: 0.15;
  color: #ffffff;
}
.dev-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
}
.dev-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}
.detail-val {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
}
.dev-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.btn-dev-contact {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-dev-contact.btn-wa {
  background: #25d366;
  color: #000000;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-dev-contact.btn-wa:hover {
  background: #20ba5a;
  color: #ffffff;
}
.btn-dev-contact.btn-channel {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #4ade80;
}
.btn-dev-contact.btn-channel:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #ffffff;
}
.btn-dev-contact.btn-tele {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
.btn-dev-contact.btn-tele:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
}
.dev-skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.dev-skills-pills span {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

/* ==========================================================================
   ADMIN ANNOUNCEMENT PANEL STYLING
   ========================================================================== */
.admin-notifs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-notif-item {
  background: rgba(20, 24, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-notif-left {
  flex: 1;
}
.admin-notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.admin-notif-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}
.admin-notif-body {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}
.btn-admin-del-notif {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-admin-del-notif:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   APPLE iOS 18 / iPHONE HUMAN INTERFACE DESIGN SYSTEM (COMFORTABLE & SLEEK)
   ========================================================================== */
:root {
  --ios-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  --ios-mono: "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
  --ios-bg-base: #000000;
  --ios-bg-surface: rgba(24, 27, 36, 0.76);
  --ios-card-glass: rgba(26, 30, 42, 0.82);
  --ios-hairline: rgba(255, 255, 255, 0.12);
  --ios-specular: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --ios-blur: blur(28px) saturate(190%);
  --ios-orange: #ff9500;
  --ios-orange-gradient: linear-gradient(135deg, #ff9f0a 0%, #ff6b00 100%);
  --ios-green: #34c759;
  --ios-blue: #0a84ff;
  --ios-purple: #af52de;
  --ios-red: #ff453a;
  --ios-radius-sm: 12px;
  --ios-radius-md: 18px;
  --ios-radius-lg: 24px;
  --ios-radius-xl: 30px;
}

/* Global Typography & Smoothing */
body {
  font-family: var(--ios-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--ios-bg-base);
}

/* Interactive Apple Tap Haptic Feel */
button,
.btn,
.nav-link,
.side-nav-link,
.dash-btn,
.admin-tab-btn,
.info-filter-btn,
.admin-cat-pill,
.admin-ep-card,
.announcement-card,
.developer-card,
.header-avatar,
.notif-btn {
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

button:active,
.btn:active,
.nav-link:active,
.side-nav-link:active,
.admin-tab-btn:active,
.info-filter-btn:active,
.admin-cat-pill:active,
.notif-btn:active,
.btn-ep-action:active {
  transform: scale(0.96) !important;
}

/* Header iOS Translucent Bar */
.main-header {
  background: rgba(12, 15, 24, 0.78) !important;
  backdrop-filter: var(--ios-blur) !important;
  -webkit-backdrop-filter: var(--ios-blur) !important;
  border-bottom: 1px solid var(--ios-hairline) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

/* iOS Squircles for Cards */
.dash-stat-cell,
.endpoint-card,
.admin-ep-card,
.admin-user-card,
.announcement-card,
.developer-card,
.voucher-card,
.profile-card,
.hero-card {
  border-radius: var(--ios-radius-lg) !important;
  background: var(--ios-card-glass) !important;
  backdrop-filter: var(--ios-blur) !important;
  -webkit-backdrop-filter: var(--ios-blur) !important;
  border: 1px solid var(--ios-hairline) !important;
  box-shadow: var(--ios-specular), 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

/* Hover Lift */
.endpoint-card:hover,
.admin-ep-card:hover,
.announcement-card:hover,
.developer-card:hover {
  transform: translateY(-2.5px);
  border-color: rgba(255, 149, 0, 0.4) !important;
  box-shadow: var(--ios-specular), 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 149, 0, 0.15) !important;
}

/* iOS Segmented Controls / Pills */
.info-filter-btn,
.admin-cat-pill,
.admin-tab-btn {
  border-radius: 999px !important;
  font-family: var(--ios-font) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.info-filter-btn.active,
.admin-cat-pill.active,
.admin-tab-btn.active {
  background: var(--ios-orange-gradient) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.45) !important;
}

/* ==========================================================================
   ADMIN ENDPOINT ACTIONS (EDIT & DELETE SQUIRCLES)
   ========================================================================== */
.admin-ep-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.admin-ep-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ep-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--ios-radius-sm);
  font-family: var(--ios-font);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none !important;
}

.btn-ep-edit {
  background: rgba(10, 132, 255, 0.14);
  color: #38bdf8;
  border-color: rgba(10, 132, 255, 0.35);
}
.btn-ep-edit:hover {
  background: #0a84ff;
  color: #ffffff;
  border-color: #0a84ff;
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.btn-ep-delete {
  background: rgba(255, 69, 58, 0.14);
  color: #ff6b6b;
  border-color: rgba(255, 69, 58, 0.35);
}
.btn-ep-delete:hover {
  background: #ff453a;
  color: #ffffff;
  border-color: #ff453a;
  box-shadow: 0 4px 12px rgba(255, 69, 58, 0.4);
}

/* ==========================================================================
   iOS MODAL & ACTION SHEET STYLING
   ========================================================================== */
.ios-modal-content {
  background: rgba(24, 27, 38, 0.94) !important;
  backdrop-filter: blur(36px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(200%) !important;
  border: 1px solid var(--ios-hairline) !important;
  border-radius: var(--ios-radius-xl) !important;
  box-shadow: var(--ios-specular), 0 25px 60px rgba(0, 0, 0, 0.8) !important;
  color: #ffffff;
  overflow: hidden;
}

.ios-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-modal-icon-badge {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255, 149, 0, 0.18);
  border: 1px solid rgba(255, 149, 0, 0.4);
  color: var(--ios-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}

.ios-modal-sub {
  font-family: var(--ios-mono);
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

.ios-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ios-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.ios-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.ios-form-control {
  width: 100%;
  background: rgba(12, 15, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ios-radius-md);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--ios-font);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.ios-form-control:focus {
  outline: none;
  border-color: var(--ios-orange);
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.22);
  background: rgba(12, 15, 23, 0.92);
}

.ios-input-group {
  display: flex;
  align-items: center;
}
.ios-input-prefix {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: var(--ios-radius-md) 0 0 var(--ios-radius-md);
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  font-family: var(--ios-mono);
}
.ios-input-group .ios-form-control {
  border-radius: 0 var(--ios-radius-md) var(--ios-radius-md) 0;
}

/* iOS Switch Row */
.ios-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ios-radius-md);
  padding: 12px 16px;
}
.ios-switch-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}
.ios-switch-desc {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
}

.ios-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}
.ios-toggle-switch input { opacity: 0; width: 0; height: 0; }
.ios-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(120, 120, 128, 0.35);
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 999px;
}
.ios-toggle-slider::before {
  position: absolute;
  content: "";
  height: 22px; width: 22px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.ios-toggle-switch input:checked + .ios-toggle-slider {
  background: var(--ios-orange-gradient);
}
.ios-toggle-switch input:checked + .ios-toggle-slider::before {
  transform: translateX(20px);
}

.ios-code-badge {
  font-size: 0.72rem;
  font-family: var(--ios-mono);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  color: #a1a1aa;
}

.ios-code-editor {
  font-family: var(--ios-mono) !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  background: #090c13 !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 149, 0, 0.25) !important;
}

.ios-btn-primary {
  background: var(--ios-orange-gradient) !important;
  color: #ffffff !important;
  border-radius: var(--ios-radius-md) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-family: var(--ios-font) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.4) !important;
}
.ios-btn-primary:hover {
  opacity: 0.94;
  box-shadow: 0 6px 22px rgba(255, 149, 0, 0.6) !important;
}

.ios-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--ios-radius-md) !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
  font-family: var(--ios-font) !important;
}
.ios-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.ios-btn-danger {
  background: linear-gradient(135deg, #ff453a, #dc2626) !important;
  color: #ffffff !important;
  border-radius: var(--ios-radius-md) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-family: var(--ios-font) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255, 69, 58, 0.4) !important;
}
.ios-btn-danger:hover {
  opacity: 0.94;
  box-shadow: 0 6px 22px rgba(255, 69, 58, 0.6) !important;
}

.ios-alert-icon-box {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* ==========================================================================
   ENHANCED EMAIL/PASSWORD AUTHENTICATION & SECURITY STYLES
   ========================================================================== */
.auth-tabs-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #a1a1aa);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-tab-btn.active {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.35);
}
.auth-input-group {
  text-align: left;
}
.auth-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d4d4d8;
  margin-bottom: 6px;
  text-align: left;
}
.aldo-auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.aldo-auth-input:focus {
  border-color: #ff6b2b;
  outline: none;
  box-shadow: 0 0 12px rgba(255, 107, 43, 0.25);
  background: rgba(0, 0, 0, 0.55);
}
.auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.auth-password-wrap .aldo-auth-input {
  padding-right: 42px;
}
.btn-toggle-eye {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #71717a;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px;
  transition: color 0.2s ease;
}
.btn-toggle-eye:hover {
  color: #ff8c42;
}
.auth-link-forgot {
  font-size: 0.8rem;
  color: #ff8c42;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.auth-link-forgot:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.btn-aldo-submit {
  background: linear-gradient(135deg, #ff6b2b, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.3);
}
.btn-aldo-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 43, 0.45);
}
.btn-aldo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.auth-divider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.auth-divider-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #71717a;
}
.auth-alert-box {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: left;
}
.auth-alert-box.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.auth-alert-box.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.auth-forgot-header {
  text-align: left;
}
.auth-forgot-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.auth-forgot-desc {
  font-size: 0.82rem;
  color: #a1a1aa;
}
