/* ==========================================================================
   TERMINAL OVERRIDE UNTUK PICO CSS
   Tema tunggal, ringan, sudut tajam, dan mobile-first touch targets (48px)
   ========================================================================== */

:root,
:root:not([data-theme="dark"]),
[data-theme="dark"],
[data-theme="light"] {
  /* 1. Typography & Shapes */
  --pico-font-family: var(--pico-font-family-monospace);
  --pico-border-radius: 0px; /* Sudut tajam */
  --pico-border-width: 1px;
  
  /* 2. Base Colors (Hitam pekat & Hijau redup) */
  color-scheme: dark;
  --pico-background-color: #050805; /* Hitam pekat dengan hint hijau sangat tipis */
  --pico-color: #a8cca4; /* Hijau teks redup agar mata tidak lelah */
  --pico-muted-color: #4f704b;
  --pico-muted-border-color: #1a2b1b;
  
  /* 3. Primary Accents (Hijau Terminal Terang untuk Interaksi) */
  --pico-primary: #3fb950;
  --pico-primary-background: #238636;
  --pico-primary-border: #3fb950;
  --pico-primary-hover: #56d364;
  --pico-primary-hover-background: #2ea043;
  --pico-primary-hover-border: #56d364;
  --pico-primary-focus: rgba(63, 185, 80, 0.25);
  
  /* 4. Secondary & Contrast (Dibuat senada tapi lebih gelap) */
  --pico-secondary-background: #1a2b1b;
  --pico-secondary-border: #4f704b;
  --pico-contrast-background: #a8cca4;
  --pico-contrast-inverse: #050805;

  /* 5. Form Elements (Kotak input bergaya console) */
  --pico-form-element-background-color: #000000;
  --pico-form-element-border-color: #1a2b1b;
  --pico-form-element-color: #3fb950;
  --pico-form-element-placeholder-color: #4f704b;
  --pico-form-element-active-background-color: #050805;
  --pico-form-element-active-border-color: var(--pico-primary);
  --pico-form-element-focus-color: var(--pico-primary-focus);

  /* 6. Membunuh Efek Modern (No shadows, flat design) */
  --pico-box-shadow: none;
  --pico-group-box-shadow: none;
  --pico-button-box-shadow: none;
  --pico-button-hover-box-shadow: none;
  --pico-dropdown-box-shadow: none;
  --pico-card-box-shadow: none;

  /* 7. Code Blocks & Typography specifics */
  --pico-code-background-color: #000000;
  --pico-code-color: #3fb950;
  --pico-h1-color: #56d364;
  --pico-h2-color: #3fb950;
  --pico-h3-color: #a8cca4;
}

/* ==========================================================================
   ENFORCEMENT RULES
   ========================================================================== */

/* Memaksa target sentuh minimal 48px untuk UI/UX Mobile First */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"],
input:not([type="checkbox"], [type="radio"], [type="file"], [type="color"], [type="range"]),
select,
textarea {
  min-height: 48px;
}

/* Kustomisasi Scrollbar agar senada dengan tema terminal */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #050805;
  border-left: 1px solid #1a2b1b;
}
::-webkit-scrollbar-thumb {
  background: #1a2b1b;
  border: 1px solid #050805;
}
::-webkit-scrollbar-thumb:hover {
  background: #4f704b;
}

/* Mempertegas gaya tabel untuk data logs / UID checker */
table {
  border-bottom: 1px solid var(--pico-muted-border-color);
}
table.striped tbody tr:nth-child(odd) td, 
table.striped tbody tr:nth-child(odd) th {
  background-color: #0a120a; /* Striping yang sangat subtle */
}