html body .admin-sidebar {
  border-right-color: rgb(212 179 106 / 26%) !important;
  background:
    radial-gradient(ellipse at 10% 0, rgb(197 154 67 / 11%), transparent 28rem),
    linear-gradient(180deg, #10243a 0%, #0b1c2f 58%, #081827 100%) !important;
  scrollbar-color: rgb(212 179 106 / 35%) transparent;
  scrollbar-width: thin;
}

html body .admin-sidebar > div:first-child {
  min-height: 3.5rem;
  margin-bottom: 2rem;
}

html body .admin-sidebar > div:first-child img {
  border: 2px solid rgb(212 179 106 / 62%);
  box-shadow: 0 5px 16px rgb(0 0 0 / 24%);
}

html body .admin-sidebar button,
html body .admin-sidebar a {
  min-height: 44px;
  border-radius: 12px !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

html body .admin-sidebar button[aria-current="page"],
html body .admin-sidebar button.bg-gold-400\/15 {
  border-color: rgb(212 179 106 / 34%) !important;
  background: linear-gradient(105deg, rgb(212 179 106 / 19%), rgb(255 255 255 / 5%)) !important;
  color: #f5dfad !important;
  box-shadow: inset 3px 0 #d4b36a;
}

html body .admin-sidebar button:hover,
html body .admin-sidebar a:hover {
  background-color: rgb(255 255 255 / 8%) !important;
  color: #fffaf0 !important;
}

html body .admin-topbar {
  min-height: 76px;
  border-color: rgb(197 154 67 / 18%) !important;
  background: rgb(255 253 248 / 94%) !important;
  box-shadow: 0 8px 26px rgb(12 28 51 / 6%) !important;
}

html body .admin-topbar button[aria-label="Buka menu"] {
  display: grid !important;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #dce3e7 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #16344b !important;
  box-shadow: 0 3px 10px rgb(12 28 51 / 7%) !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

html body .admin-topbar button[aria-label="Buka menu"] svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

html body .admin-topbar button[aria-label="Buka menu"]:hover {
  transform: translateY(-1px);
  border-color: #c59a43 !important;
  background: #fff !important;
  box-shadow: 0 7px 16px rgb(12 28 51 / 11%) !important;
}

html body .admin-main {
  min-height: calc(100dvh - 76px);
  background: radial-gradient(ellipse at 100% 0, rgb(197 154 67 / 5%), transparent 34rem), #f6f4ee;
}

html body .admin-main > section:not([aria-label="Statistik panel admin"]) {
  border-color: rgb(197 154 67 / 22%) !important;
  border-radius: 20px !important;
  background-color: #fffefa !important;
  box-shadow: 0 14px 36px rgb(12 28 51 / 6%) !important;
}

html body .admin-main input:not([type="checkbox"]):not([type="radio"]),
html body .admin-main select,
html body .admin-main textarea {
  border-color: #d9e0e3 !important;
  border-radius: 11px !important;
  background-color: #fff !important;
  color: #172f43 !important;
  box-shadow: inset 0 1px 2px rgb(12 28 51 / 3%);
}

html body .admin-main input:not([type="checkbox"]):not([type="radio"]):focus,
html body .admin-main select:focus,
html body .admin-main textarea:focus {
  border-color: #b48a3b !important;
  outline: 3px solid rgb(197 154 67 / 17%) !important;
  outline-offset: 1px;
}

html body .admin-main table {
  border-color: #e7e2d7;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
}

html body .admin-main th {
  background: #f6f2e9;
  color: #42566a;
  font-weight: 700;
}

html body .admin-main :is(th, td) {
  border-color: #ece7de;
}

html body .admin-main button:not([aria-label="Buka menu"]) {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

html body .fv-dialog:not(.fv-dark) {
  color: #24384a;
  background: #fffefa;
}

html body .fv-dialog:not(.fv-dark) .fv-head {
  border-bottom: 1px solid rgb(212 179 106 / 28%);
}

html body .fv-dialog:not(.fv-dark) .fv-tabs {
  gap: 8px;
  padding: 8px;
  border: 1px solid #e8e2d7;
  border-radius: 15px;
  background: #f1eee7;
}

html body .fv-dialog:not(.fv-dark) .fv-tabs .fv-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #536579;
}

html body .fv-dialog:not(.fv-dark) .fv-tabs .fv-button:hover {
  background: #fff;
  color: #18324a;
}

html body .fv-dialog:not(.fv-dark) :is(.fv-card, .fv-scorecard, .fv-stat) {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

html body .fv-dialog:not(.fv-dark) .fv-card {
  background: #fffefa;
}

html body .fv-dialog:not(.fv-dark) .fv-card:hover,
html body .fv-dialog:not(.fv-dark) .fv-stat:hover {
  transform: translateY(-2px);
  border-color: rgb(197 154 67 / 48%) !important;
  box-shadow: 0 16px 34px rgb(6 18 38 / 10%) !important;
}

html body .fv-dialog:not(.fv-dark) :is(input, select, textarea) {
  min-height: 42px;
  border-color: #d9e0e3;
  border-radius: 10px;
  background: #fff;
  color: #172f43;
}

html body .fv-dialog:not(.fv-dark) :is(input, select, textarea):focus {
  border-color: #b48a3b;
  outline: 3px solid rgb(197 154 67 / 17%);
  outline-offset: 1px;
}

@media (max-width: 760px) {
  html body .admin-topbar {
    gap: 10px !important;
    padding-inline: 14px !important;
  }

  html body .admin-topbar-actions {
    gap: 8px !important;
  }

  html body .admin-topbar-actions > * {
    max-width: min(46vw, 220px);
  }

  html body .admin-main {
    padding-inline: clamp(12px, 3.5vw, 22px) !important;
    padding-block: 18px !important;
  }

  html body .admin-main > section:not([aria-label="Statistik panel admin"]) {
    padding: clamp(14px, 4vw, 22px) !important;
    border-radius: 17px !important;
  }
}

@media (max-width: 480px) {
  html body .admin-topbar {
    min-height: 68px;
    padding-block: 9px !important;
  }

  html body .admin-topbar button[aria-label="Buka menu"] {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px !important;
  }

  html body .admin-topbar-heading h1 {
    font-size: 1.05rem !important;
  }

  html body .admin-topbar-heading p {
    font-size: .7rem !important;
  }

  html body .admin-topbar-actions {
    max-width: 42vw;
    overflow-x: auto;
  }

  html body .admin-topbar-actions > * {
    max-width: 42vw;
  }

  html body .fv-dialog:not(.fv-dark) .fv-tabs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  html body .fv-dialog:not(.fv-dark) .fv-tabs .fv-button {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .admin-sidebar button,
  html body .admin-sidebar a,
  html body .admin-topbar button[aria-label="Buka menu"],
  html body .fv-dialog:not(.fv-dark) :is(.fv-card, .fv-scorecard, .fv-stat) {
    transition: none !important;
  }
}
