/* Fonts: load via <link> in pages (see app/index.php) so rules below are not delayed by @import. */

/* AxiAuth: classic panel layout + mint accent (not stock KeyAuth blue) */
:root {
  --accent: #34d399;
  --accent2: #f59e0b;
  --accent3: #818cf8;
  --bg: #0a0e13;
  --bg2: #0f1419;
  --bg3: #141c24;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e2e8f0;
  --muted: #64748b;
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html,
body {
  font-family: var(--font) !important;
  color: var(--text) !important;
}

/* Alpine.js: sembunyikan elemen dengan x-cloak sampai dirender */
[x-cloak] {
  display: none !important;
}

/* AxiAuth Tailwind surfaces → AxiAuth */
.bg-\[\#09090d\] {
  background-color: var(--bg) !important;
}

.bg-\[\#0f0f17\] {
  background-color: var(--bg2) !important;
}

.flex.overflow-hidden.pt-16.bg-\[\#09090d\] {
  background-color: var(--bg) !important;
}

/* Primary actions: blue → mint accent */
.bg-blue-600,
.bg-blue-700 {
  background-color: var(--accent) !important;
  color: #0a0e13 !important;
}

.hover\:bg-blue-700:hover,
.hover\:bg-blue-800:hover {
  background-color: #4ade80 !important;
  color: #0a0e13 !important;
}

.text-blue-500,
.text-blue-600,
.text-blue-700 {
  color: var(--accent) !important;
}

.border-blue-400,
.border-blue-600,
.border-blue-700 {
  border-color: rgba(52, 211, 153, 0.35) !important;
}

.fill-blue-600 {
  fill: var(--accent) !important;
}

/* Links & focus rings */
a.text-blue-500:hover,
.text-blue-500.hover\:underline:hover {
  color: #4ade80 !important;
}

.hover\:text-blue-700:hover {
  color: var(--accent) !important;
}

/* Register: tombol "Register Now" — utility emerald/rounded-2xl sering tidak ada di output.css */
.axiauth-register-submit-btn {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: #0a0e13 !important;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.axiauth-register-submit-btn:hover {
  background: #4ade80;
  color: #0a0e13 !important;
}

.axiauth-register-submit-btn:focus-visible {
  outline: 2px solid rgba(52, 211, 153, 0.45);
  outline-offset: 2px;
}

/* Dashboard sidebar: app terpilih (garis mint) + tab & link navigasi aktif */
.axiauth-sidebar-shell--app-open {
  box-shadow: inset 3px 0 0 0 var(--accent);
}

.axiauth-sidebar-tab {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--muted);
  transition: color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.axiauth-sidebar-tab:hover {
  opacity: 0.88;
}

.axiauth-sidebar-tab--active {
  color: var(--accent) !important;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.axiauth-sidebar-link {
  color: rgb(209 213 219);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.axiauth-sidebar-link:hover {
  opacity: 0.95;
  background: rgba(52, 211, 153, 0.08);
}

.axiauth-sidebar-link--active {
  color: var(--accent) !important;
  background: rgba(52, 211, 153, 0.14);
}

.axiauth-sidebar-link--active i {
  color: var(--accent);
}

.axiauth-sidebar-link:not(.axiauth-sidebar-link--active) i {
  color: rgb(156 163 175);
}

/* Licenses table (DataTables): badge status — mint untuk Used, bukan biru */
.axiauth-license-status {
  display: inline-block;
  box-sizing: border-box;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  margin-right: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.axiauth-license-status--unused {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgb(243 244 246);
  background: rgba(255, 255, 255, 0.04);
}

.axiauth-license-status--used {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
}

.axiauth-license-status--banned {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.1);
}

/* Account Settings: kartu Upgrade (tester) */
.axiauth-account-upgrade-card {
  border-radius: var(--radius);
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.06);
  padding: 1rem 1.15rem;
}

.axiauth-account-upgrade-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.axiauth-account-upgrade-card__text {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.axiauth-account-upgrade-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #0a0e13 !important;
  background: var(--accent);
  transition: background 0.15s ease;
}

.axiauth-account-upgrade-card__btn:hover {
  background: #4ade80;
  color: #0a0e13 !important;
}

/*
 * Manage Apps: credential tabs (C#, C++, …).
 * Garis aktif di <button> pakai inset box-shadow — tidak keluar dari kotak tombol,
 * jadi tidak terpotong oleh overflow-x-auto di pembungkus (li::after sering hilang).
 */
ul.axiauth-cred-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
ul.axiauth-cred-tabs > li {
  position: relative;
}
ul.axiauth-cred-tabs button[role="tab"] {
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  box-shadow: inset 0 -3px 0 0 transparent;
  transition: color 0.2s, box-shadow 0.2s;
}
ul.axiauth-cred-tabs button[aria-selected="true"],
ul.axiauth-cred-tabs button.axiauth-cred-tab--active {
  color: var(--accent) !important;
  z-index: 1;
  box-shadow: inset 0 -3px 0 0 var(--accent) !important;
}
ul.axiauth-cred-tabs button[aria-selected="false"]:not(.axiauth-cred-tab--active) {
  color: rgb(156 163 175) !important; /* gray-400 */
}
ul.axiauth-cred-tabs button[aria-selected="false"]:not(.axiauth-cred-tab--active):hover {
  color: rgb(229 231 235) !important; /* gray-200 */
}

/*
 * DataTables — hilangkan garis putih/abu di bawah header & antar-sel.
 * border-collapse: separate + warna #dee2e6 / #e5e7eb sering tetap memunculkan 1px.
 */
table.dataTable {
  border: none !important;
  outline: none !important;
}
table.dataTable th,
table.dataTable td {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
table.dataTable thead th,
table.dataTable thead td {
  border-bottom: 0 none transparent !important;
}
table.dataTable > tbody > tr:first-child > td,
table.dataTable > tbody > tr:first-child > th {
  border-top: 0 none transparent !important;
}
/* Pemisah baris isi: sangat halus (bukan garis putih) */
table.dataTable > tbody > tr:not(:first-child) > td,
table.dataTable > tbody > tr:not(:first-child) > th {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05) !important;
}
div.dataTables_wrapper,
div.dataTables_wrapper .row,
div.dataTables_wrapper .table-responsive {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
div.dataTables_wrapper div.dataTables_scrollHead,
div.dataTables_wrapper div.dataTables_scrollHeadInner {
  border: none !important;
  box-shadow: none !important;
}
div.dataTables_scrollHead table.dataTable th,
div.dataTables_scrollHead table.dataTable td {
  border: none !important;
}
/* shadow-md di pembungkus tabel sering terlihat seperti garis terang */
.relative.overflow-x-auto.shadow-md:has(> table.dataTable),
.relative.overflow-x-auto.shadow-md:has(table.dataTable) {
  box-shadow: none !important;
}

/* Mono branding text */
.sidebar-logo-text,
.font-mono {
  font-family: var(--mono), monospace;
}

/* Loader spinner track */
.text-\[\#09090d\] {
  color: var(--bg) !important;
}

/* Headings that use Tailwind sky → blue gradient (marketing / login) */
.from-sky-400 {
  --tw-gradient-from: #6ee7b7 !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(52, 211, 153, 0)) !important;
}

.to-blue-600 {
  --tw-gradient-to: #34d399 !important;
}

/*
 * Flowbite / output.css: peer-focus + focus:* blue utilities and arbitrary borders.
 * Prefix with `html` so we beat Tailwind single-class specificity; match `~` without spaces like the bundle.
 */
html .peer:focus ~ .peer-focus\:text-blue-500,
html .peer:focus ~ .peer-focus\:text-blue-600,
html .peer:focus~.peer-focus\:text-blue-500,
html .peer:focus~.peer-focus\:text-blue-600 {
  --tw-text-opacity: 1 !important;
  color: #34d399 !important;
}

html .border-\[\#1d4ed8\] {
  --tw-border-opacity: 1 !important;
  border-color: rgba(52, 211, 153, 0.65) !important;
}

html .focus\:border-blue-500:focus,
html .focus\:border-blue-600:focus {
  --tw-border-opacity: 1 !important;
  border-color: #34d399 !important;
}

html .focus\:ring-blue-200:focus,
html .focus\:ring-blue-300:focus,
html .focus\:ring-blue-500:focus,
html .focus\:ring-blue-600:focus,
html .focus\:ring-blue-700:focus,
html .focus\:ring-blue-800:focus,
html .focus\:ring-blue-900:focus {
  --tw-ring-opacity: 1 !important;
  --tw-ring-color: rgba(52, 211, 153, 0.5) !important;
}

/*
 * Flowbite base form styles (output.css): focus ring/border #1c64f2. Use html + attribute selectors (no quotes) to match bundle.
 */
html [multiple]:focus,
html [type=date]:focus,
html [type=datetime-local]:focus,
html [type=email]:focus,
html [type=month]:focus,
html [type=number]:focus,
html [type=password]:focus,
html [type=search]:focus,
html [type=tel]:focus,
html [type=text]:focus,
html [type=time]:focus,
html [type=url]:focus,
html [type=week]:focus,
html select:focus,
html textarea:focus {
  --tw-ring-opacity: 1 !important;
  --tw-ring-color: rgba(52, 211, 153, 0.55) !important;
  border-color: #34d399 !important;
}

/* Upgrade checkout: footer menyatu dengan area konten, teks sejajar lebar main (bukan kolom sempit) */
#main-content main:has(.axiauth-upgrade-checkout) + footer {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0.75rem 1rem 1.25rem !important;
  max-width: none !important;
  width: 100% !important;
  color: var(--muted) !important;
}

#main-content main:has(.axiauth-upgrade-checkout) + footer > div {
  max-width: none !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

/* Landing index.html #pricing — selaras halaman upgrade (toggle pill, kartu #14141a, kotak harga, scroll strip) */
.axiauth-landing-pricing .text-emerald-400 {
  color: #34d399 !important;
}

.axiauth-landing-billing-pill {
  will-change: transform;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.45s ease;
}

.axiauth-landing-pricing:not(.axiauth-landing-pricing--yearly) .axiauth-landing-billing-pill {
  transform: translateX(0);
  background-color: #34d399;
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-landing-billing-pill {
  transform: translateX(100%);
  background-color: #2dd4bf;
}

/* Toggle: opsi aktif = teks gelap di atas pill; opsi off = teks sangat terang (kontras kuat di #0a1210) */
section#pricing.axiauth-landing-pricing:not(.axiauth-landing-pricing--yearly) #axiauth-billing-monthly {
  color: #0a0e13 !important;
  opacity: 1 !important;
  font-weight: 600;
}

section#pricing.axiauth-landing-pricing:not(.axiauth-landing-pricing--yearly) #axiauth-billing-yearly {
  color: #ecfdf5 !important;
  opacity: 1 !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

section#pricing.axiauth-landing-pricing:not(.axiauth-landing-pricing--yearly) #axiauth-billing-yearly:hover {
  background-color: rgba(16, 185, 129, 0.18);
  color: #ffffff !important;
}

section#pricing.axiauth-landing-pricing:not(.axiauth-landing-pricing--yearly) #axiauth-billing-yearly .axiauth-landing-billing-save {
  color: #ccfbf1 !important;
  opacity: 1 !important;
}

section#pricing.axiauth-landing-pricing.axiauth-landing-pricing--yearly #axiauth-billing-yearly {
  color: #0a0e13 !important;
  opacity: 1 !important;
  font-weight: 600;
  text-shadow: none;
}

section#pricing.axiauth-landing-pricing.axiauth-landing-pricing--yearly #axiauth-billing-monthly {
  color: #ecfdf5 !important;
  opacity: 1 !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

section#pricing.axiauth-landing-pricing.axiauth-landing-pricing--yearly #axiauth-billing-monthly:hover {
  background-color: rgba(20, 184, 166, 0.2);
  color: #ffffff !important;
}

section#pricing.axiauth-landing-pricing.axiauth-landing-pricing--yearly #axiauth-billing-yearly .axiauth-landing-billing-save {
  color: #0a0e13 !important;
  opacity: 1 !important;
  text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .axiauth-landing-billing-pill {
    transition-duration: 0.01ms !important;
  }
}

.axiauth-landing-pricing #axiauth-billing-monthly,
.axiauth-landing-pricing #axiauth-billing-yearly {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Kartu pricing: sudut terpotong (lancip), bukan kotak membulat — outline via drop-shadow mengikuti clip-path */
.axiauth-landing-pricing .axiauth-pricing-card {
  --axiauth-card-chamfer: 18px;
  border: none;
  border-radius: 0;
  clip-path: polygon(
    var(--axiauth-card-chamfer) 0%,
    calc(100% - var(--axiauth-card-chamfer)) 0%,
    100% var(--axiauth-card-chamfer),
    100% calc(100% - var(--axiauth-card-chamfer)),
    calc(100% - var(--axiauth-card-chamfer)) 100%,
    var(--axiauth-card-chamfer) 100%,
    0% calc(100% - var(--axiauth-card-chamfer)),
    0% var(--axiauth-card-chamfer)
  );
  filter: drop-shadow(0 0 0 1px rgba(52, 211, 153, 0.45)) drop-shadow(0 22px 46px -12px rgba(0, 0, 0, 0.52));
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-card {
  filter: drop-shadow(0 0 0 1px rgba(45, 212, 191, 0.5)) drop-shadow(0 22px 46px -12px rgba(0, 0, 0, 0.52));
}

.axiauth-landing-pricing .axiauth-pricing-card--popular {
  filter:
    drop-shadow(0 0 0 1px rgba(52, 211, 153, 0.62))
    drop-shadow(0 0 20px -4px rgba(52, 211, 153, 0.22))
    drop-shadow(0 22px 46px -12px rgba(0, 0, 0, 0.55));
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-card--popular {
  filter:
    drop-shadow(0 0 0 1px rgba(45, 212, 191, 0.65))
    drop-shadow(0 0 22px -4px rgba(45, 212, 191, 0.2))
    drop-shadow(0 22px 46px -12px rgba(0, 0, 0, 0.55));
}

@media (max-width: 639px) {
  .axiauth-landing-pricing .axiauth-pricing-card {
    --axiauth-card-chamfer: 14px;
  }
}

.axiauth-upgrade-price-scroll-viewport--landing-free {
  --axiauth-price-scroll-slot: 3.35rem;
  height: var(--axiauth-price-scroll-slot);
}

@media (min-width: 640px) {
  .axiauth-upgrade-price-scroll-viewport--landing-free {
    --axiauth-price-scroll-slot: 3.15rem;
  }
}

.axiauth-landing-billing {
  border-color: rgba(52, 211, 153, 0.45) !important;
  background-color: #0a1210 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.axiauth-landing-pricing .axiauth-landing-price-cycle {
  font-size: 1.1875rem;
  line-height: 1.2;
  color: #a7f3d0;
}

@media (min-width: 640px) {
  .axiauth-landing-pricing .axiauth-landing-price-cycle {
    font-size: 1.25rem;
  }
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-landing-price-cycle {
  color: #99f6e4;
}

.axiauth-landing-pricing .axiauth-upgrade-price-scroll-viewport--plans {
  --axiauth-price-scroll-slot: 5.45rem;
}

@media (min-width: 640px) {
  .axiauth-landing-pricing .axiauth-upgrade-price-scroll-viewport--plans {
    --axiauth-price-scroll-slot: 5.2rem;
  }
}

.axiauth-landing-billing > div:first-of-type {
  z-index: 1;
}

.axiauth-landing-billing > button {
  position: relative;
  z-index: 2;
}

.axiauth-landing-plan-check {
  margin-top: 0.125rem;
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.axiauth-landing-plan-dash {
  margin-top: 0.125rem;
  display: inline-flex;
  width: 1.25rem;
  flex-shrink: 0;
  justify-content: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.axiauth-landing-pricing .axiauth-pricing-btn-primary,
.axiauth-landing-pricing .axiauth-pricing-btn-outline,
.axiauth-landing-pricing .axiauth-pricing-btn-secondary {
  min-height: 3.35rem;
}

.axiauth-pricing-btn-primary {
  border-radius: 1rem;
  background: #34d399;
  color: #0a0e13 !important;
}

.axiauth-pricing-btn-primary:hover {
  background: #4ade80;
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-card--popular .axiauth-pricing-btn-primary {
  background: #2dd4bf;
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-card--popular .axiauth-pricing-btn-primary:hover {
  background: #5eead4;
}

.axiauth-pricing-btn-outline {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.axiauth-pricing-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.axiauth-pricing-btn-secondary {
  border-radius: 1rem;
  border: 2px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0 !important;
  background: transparent;
}

.axiauth-pricing-btn-secondary:hover {
  background: rgba(52, 211, 153, 0.1);
  color: #d1fae5 !important;
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-btn-secondary {
  border-color: rgba(45, 212, 191, 0.5);
  color: #99f6e4 !important;
}

.axiauth-landing-pricing.axiauth-landing-pricing--yearly .axiauth-pricing-btn-secondary:hover {
  background: rgba(45, 212, 191, 0.12);
  color: #ccfbf1 !important;
}

/*
 * Halaman upgrade (?page=upgrade): banyak class Tailwind (emerald, rounded-2xl/3xl, gap-3, ring, …)
 * tidak ada di assets/axiauth/v3/dist/output.css karena bundle tidak memindai app/pages/.
 * Preflight juga mengatur button { background: initial } sehingga tanpa .bg-emerald-400 yang valid,
 * tombol "Pilih Developer" tampak seperti teks biasa.
 */
.axiauth-upgrade-checkout {
  min-height: calc(100dvh - 5rem);
}

@media (min-width: 640px) {
  .axiauth-upgrade-checkout {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .axiauth-upgrade-checkout {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .axiauth-upgrade-checkout {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .axiauth-upgrade-checkout {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 640px) {
  .axiauth-upgrade-checkout .sm\:max-w-2xl {
    max-width: 42rem;
  }
}

@media (min-width: 768px) {
  .axiauth-upgrade-checkout .md\:max-w-3xl {
    max-width: 48rem;
  }
}

@media (min-width: 1024px) {
  .axiauth-upgrade-checkout .lg\:max-w-5xl {
    max-width: 64rem;
  }
}

@media (min-width: 1280px) {
  .axiauth-upgrade-checkout .xl\:max-w-6xl {
    max-width: 72rem;
  }
}

.axiauth-upgrade-checkout .rounded-2xl {
  border-radius: 1.25rem;
}

.axiauth-upgrade-checkout .rounded-3xl {
  border-radius: 1.875rem;
}

.axiauth-upgrade-checkout .min-h-\[4rem\] {
  min-height: 4rem;
}

.axiauth-upgrade-checkout .gap-3 {
  gap: 0.75rem;
}

.axiauth-upgrade-checkout .gap-3\.5 {
  gap: 0.875rem;
}

.axiauth-upgrade-checkout .gap-5 {
  gap: 1.25rem;
}

.axiauth-upgrade-checkout .gap-x-1 {
  column-gap: 0.25rem;
}

.axiauth-upgrade-checkout .items-baseline {
  align-items: baseline;
}

.axiauth-upgrade-checkout .tabular-nums {
  font-variant-numeric: tabular-nums;
}

.axiauth-upgrade-checkout .text-\[10px\] {
  font-size: 10px;
  line-height: 1.25;
}

.axiauth-upgrade-checkout .text-\[11px\] {
  font-size: 11px;
  line-height: 1.25;
}

.axiauth-upgrade-checkout .text-\[15px\] {
  font-size: 15px;
  line-height: 1.375;
}

.axiauth-upgrade-checkout .leading-relaxed {
  line-height: 1.625;
}

.axiauth-upgrade-checkout .tracking-wider {
  letter-spacing: 0.05em;
}

.axiauth-upgrade-checkout .bg-\[\#14141a\] {
  background-color: #14141a !important;
}

.axiauth-upgrade-checkout .bg-emerald-400,
.axiauth-upgrade-checkout .hover\:bg-emerald-300:hover {
  background-color: #34d399 !important;
}

.axiauth-upgrade-checkout .bg-teal-400,
.axiauth-upgrade-checkout .hover\:bg-teal-300:hover {
  background-color: #2dd4bf !important;
}

.axiauth-upgrade-checkout .bg-emerald-500\/20 {
  background-color: rgba(16, 185, 129, 0.2) !important;
}

.axiauth-upgrade-checkout .bg-emerald-500\/15 {
  background-color: rgba(16, 185, 129, 0.15) !important;
}

.axiauth-upgrade-checkout .text-emerald-400 {
  color: #34d399 !important;
}

.axiauth-upgrade-checkout .text-emerald-200 {
  color: #a7f3d0 !important;
}

.axiauth-upgrade-checkout .text-emerald-300 {
  color: #6ee7b7 !important;
}

.axiauth-upgrade-checkout .hover\:text-emerald-300:hover {
  color: #6ee7b7 !important;
}

.axiauth-upgrade-checkout .hover\:bg-emerald-500\/10:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.axiauth-upgrade-checkout .border-emerald-400\/35 {
  border-color: rgba(52, 211, 153, 0.35) !important;
}

.axiauth-upgrade-checkout .border-emerald-400\/40 {
  border-color: rgba(52, 211, 153, 0.4) !important;
}

.axiauth-upgrade-checkout .border-emerald-400\/45 {
  border-color: rgba(52, 211, 153, 0.45) !important;
}

.axiauth-upgrade-checkout .border-emerald-400\/50 {
  border-color: rgba(52, 211, 153, 0.5) !important;
}

.axiauth-upgrade-checkout .bg-emerald-400\/12 {
  background-color: rgba(52, 211, 153, 0.12) !important;
}

.axiauth-upgrade-checkout .bg-emerald-400\/15 {
  background-color: rgba(52, 211, 153, 0.15) !important;
}

.axiauth-upgrade-checkout .bg-emerald-400\/10 {
  background-color: rgba(52, 211, 153, 0.1) !important;
}

.axiauth-upgrade-checkout .border-teal-400\/35 {
  border-color: rgba(45, 212, 191, 0.35) !important;
}

.axiauth-upgrade-checkout .border-teal-400\/40 {
  border-color: rgba(45, 212, 191, 0.4) !important;
}

.axiauth-upgrade-checkout .border-teal-400\/45 {
  border-color: rgba(45, 212, 191, 0.45) !important;
}

.axiauth-upgrade-checkout .border-teal-400\/50 {
  border-color: rgba(45, 212, 191, 0.5) !important;
}

.axiauth-upgrade-checkout .border-emerald-500\/25 {
  border-color: rgba(16, 185, 129, 0.25) !important;
}

.axiauth-upgrade-checkout .bg-\[\#0a1210\] {
  background-color: #0a1210 !important;
}

.axiauth-upgrade-checkout .shadow-inner {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.axiauth-upgrade-checkout .hover\:bg-emerald-500\/10:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.axiauth-upgrade-checkout .hover\:bg-teal-500\/10:hover {
  background-color: rgba(20, 184, 166, 0.1) !important;
}

.axiauth-upgrade-checkout .text-emerald-300\/90 {
  color: rgba(110, 231, 183, 0.9) !important;
}

.axiauth-upgrade-checkout .text-teal-300\/90 {
  color: rgba(94, 234, 212, 0.9) !important;
}

.axiauth-upgrade-checkout .hover\:text-emerald-200:hover {
  color: #a7f3d0 !important;
}

.axiauth-upgrade-checkout .hover\:text-teal-200:hover {
  color: #99f6e4 !important;
}

.axiauth-upgrade-checkout .bg-teal-400\/12 {
  background-color: rgba(45, 212, 191, 0.12) !important;
}

.axiauth-upgrade-checkout .bg-teal-400\/15 {
  background-color: rgba(45, 212, 191, 0.15) !important;
}

.axiauth-upgrade-checkout .bg-teal-400\/10 {
  background-color: rgba(45, 212, 191, 0.1) !important;
}

.axiauth-upgrade-checkout .text-teal-200 {
  color: #99f6e4 !important;
}

.axiauth-upgrade-checkout .text-white\/75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.axiauth-upgrade-checkout .hover\:bg-white\/\[0\.04\]:hover {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.axiauth-upgrade-checkout .bg-amber-500\/\[0\.08\] {
  background-color: rgba(245, 158, 11, 0.08) !important;
}

.axiauth-upgrade-checkout .bg-emerald-500\/\[0\.08\] {
  background-color: rgba(16, 185, 129, 0.08) !important;
}

.axiauth-upgrade-checkout .text-amber-100\/95 {
  color: rgba(255, 237, 213, 0.95) !important;
}

.axiauth-upgrade-checkout .text-amber-100\/80 {
  color: rgba(255, 237, 213, 0.8) !important;
}

.axiauth-upgrade-checkout .text-amber-100\/85 {
  color: rgba(255, 237, 213, 0.85) !important;
}

.axiauth-upgrade-checkout .text-emerald-100\/95 {
  color: rgba(209, 250, 229, 0.95) !important;
}

.axiauth-upgrade-checkout .ring-1.ring-amber-500\/20 {
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.axiauth-upgrade-checkout .ring-1.ring-emerald-500\/20 {
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.axiauth-upgrade-checkout .py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.axiauth-upgrade-checkout .px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.axiauth-upgrade-checkout .py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.axiauth-upgrade-checkout .disabled\:opacity-40:disabled {
  opacity: 0.4;
}

.axiauth-upgrade-checkout button[type='submit'].w-full.rounded-2xl,
.axiauth-upgrade-checkout button[type='submit'] {
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 640px) {
  .axiauth-upgrade-checkout .sm\:gap-4 {
    gap: 1rem;
  }

  .axiauth-upgrade-checkout .sm\:px-7 {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .axiauth-upgrade-checkout .sm\:py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .axiauth-upgrade-checkout .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .axiauth-upgrade-checkout .sm\:flex-none {
    flex: none;
  }

  .axiauth-upgrade-checkout .sm\:justify-start {
    justify-content: flex-start;
  }

  .axiauth-upgrade-checkout .sm\:h-11 {
    height: 2.75rem;
  }

  .axiauth-upgrade-checkout .sm\:w-11 {
    width: 2.75rem;
  }

  .axiauth-upgrade-checkout .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .axiauth-upgrade-checkout .sm\:right-6 {
    right: 1.5rem;
  }

  .axiauth-upgrade-checkout .sm\:top-6 {
    top: 1.5rem;
  }

  .axiauth-upgrade-checkout .sm\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .axiauth-upgrade-checkout .sm\:p-6 {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .axiauth-upgrade-checkout .lg\:gap-8 {
    gap: 2rem;
  }

  .axiauth-upgrade-checkout .lg\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 768px) {
  .axiauth-upgrade-checkout .md\:gap-5 {
    gap: 1.25rem;
  }

  .axiauth-upgrade-checkout .md\:p-6 {
    padding: 1.5rem;
  }
}

/* Kotak Informasi upgrade: lingkaran + tanda seru (SVG eksplisit), phone / tablet / desktop */
.axiauth-upgrade-checkout .axiauth-upgrade-info__icon {
  width: 3rem;
  height: 3rem;
  box-shadow: 0 0 22px -8px rgba(52, 211, 153, 0.45);
}

.axiauth-upgrade-checkout .axiauth-upgrade-info__svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: inherit;
}

.axiauth-upgrade-checkout .axiauth-upgrade-info__svg-ring {
  stroke: currentColor;
  stroke-width: 1.75;
}

@media (min-width: 640px) {
  .axiauth-upgrade-checkout .axiauth-upgrade-info__icon {
    width: 2.75rem;
    height: 2.75rem;
    box-shadow: 0 0 18px -8px rgba(52, 211, 153, 0.35);
  }

  .axiauth-upgrade-checkout .axiauth-upgrade-info__svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (min-width: 768px) {
  .axiauth-upgrade-checkout .axiauth-upgrade-info__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .axiauth-upgrade-checkout .axiauth-upgrade-info__svg {
    width: 1.875rem;
    height: 1.875rem;
  }

  .axiauth-upgrade-checkout .axiauth-upgrade-info__title {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .axiauth-upgrade-checkout .axiauth-upgrade-info__list {
    font-size: 0.9375rem;
    line-height: 1.625;
  }
}

@media (min-width: 1024px) {
  .axiauth-upgrade-checkout .axiauth-upgrade-info__row {
    gap: 1.5rem;
  }

  .axiauth-upgrade-checkout .axiauth-upgrade-info__list {
    font-size: 1rem;
    line-height: 1.625;
  }
}

/*
 * Manage Apps: banner “Akun tester” — class Tailwind amber/emerald sering tidak ada di output.css,
 * jadi tampilan polos (teks saja). Gaya penuh lewat tema.
 */
.axiauth-tester-upgrade-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
  text-align: center;
}

@media (min-width: 640px) {
  .axiauth-tester-upgrade-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 1rem;
  }
}

.axiauth-tester-upgrade-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(254, 243, 199, 0.94);
  max-width: 42rem;
}

.axiauth-tester-upgrade-banner__lead {
  font-weight: 600;
  color: #fde68a;
}

.axiauth-tester-upgrade-banner__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #0a0e13 !important;
  background: var(--accent);
  transition: background 0.15s ease, transform 0.12s ease;
}

.axiauth-tester-upgrade-banner__btn:hover {
  background: #4ade80;
  color: #0a0e13 !important;
}

/* Harga bulanan/tahunan: strip vertikal (scroll ke bawah = geser strip ke atas, translateY -50%) */
.axiauth-upgrade-price-scroll-viewport--plans {
  --axiauth-price-scroll-slot: 5.15rem;
}

@media (min-width: 640px) {
  .axiauth-upgrade-price-scroll-viewport--plans {
    --axiauth-price-scroll-slot: 4.9rem;
  }
}

.axiauth-upgrade-price-scroll-viewport--modal {
  --axiauth-price-scroll-slot: 1.78rem;
}

.axiauth-upgrade-price-scroll-viewport--plans,
.axiauth-upgrade-price-scroll-viewport--modal {
  height: var(--axiauth-price-scroll-slot);
}

.axiauth-upgrade-checkout .axiauth-upgrade-price-scroll-strip,
.axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-strip,
.axiauth-landing-pricing .axiauth-upgrade-price-scroll-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 1.08s cubic-bezier(0.14, 0.82, 0.22, 1);
}

.axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-strip--modal {
  transition-duration: 0.96s;
  transition-timing-function: cubic-bezier(0.14, 0.86, 0.24, 1);
}

.axiauth-upgrade-checkout .axiauth-upgrade-price-scroll-strip--yearly,
.axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-strip--yearly {
  transform: translate3d(0, -50%, 0);
}

/* Landing #pricing: transform sering tertimpa util Tailwind — paksa + sinkron dengan kelas --yearly (JS) */
section#pricing.axiauth-landing-pricing .axiauth-upgrade-price-scroll-strip.axiauth-upgrade-price-scroll-strip--yearly {
  transform: translate3d(0, -50%, 0) !important;
}

section#pricing.axiauth-landing-pricing .axiauth-upgrade-price-scroll-strip:not(.axiauth-upgrade-price-scroll-strip--yearly) {
  transform: translate3d(0, 0, 0) !important;
}

.axiauth-upgrade-checkout .axiauth-upgrade-price-scroll-row--plans,
.axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-row--plans,
.axiauth-landing-pricing .axiauth-upgrade-price-scroll-row--plans {
  box-sizing: border-box;
  flex-shrink: 0;
  height: var(--axiauth-price-scroll-slot);
  min-height: var(--axiauth-price-scroll-slot);
  width: 100%;
}

.axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-row--modal {
  box-sizing: border-box;
  flex-shrink: 0;
  height: var(--axiauth-price-scroll-slot);
  min-height: var(--axiauth-price-scroll-slot);
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .axiauth-upgrade-checkout .axiauth-upgrade-price-scroll-strip,
  .axiauth-upgrade-pay-modal .axiauth-upgrade-price-scroll-strip,
  .axiauth-landing-pricing .axiauth-upgrade-price-scroll-strip {
    transition-duration: 0.01ms !important;
  }
}

/* Modal pilih pembayaran: selaras tema dashboard (--bg / --bg2 / border halus / radius 8px) + backdrop blur */
.axiauth-upgrade-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  font-family: var(--font, 'Inter', system-ui, sans-serif);
  color: var(--text);
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal {
    align-items: center;
    padding: 1rem;
  }
}

.axiauth-upgrade-pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

@supports not (background: color-mix(in srgb, black 50%, transparent)) {
  .axiauth-upgrade-pay-modal__backdrop {
    background: rgba(10, 14, 19, 0.78);
  }
}

.axiauth-upgrade-pay-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(90vh, 34rem);
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: var(--bg2);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: axiauth-upgrade-pay-modal-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes axiauth-upgrade-pay-modal-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes axiauth-upgrade-pay-modal-panel-in-desktop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal__panel {
    border-radius: var(--radius);
    padding: 1.35rem 1.35rem 1.45rem;
    box-shadow:
      0 20px 50px -12px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: axiauth-upgrade-pay-modal-panel-in-desktop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.axiauth-upgrade-pay-modal__handle {
  display: block;
  width: 2.25rem;
  height: 0.2rem;
  margin: 0 auto 0.85rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.25);
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal__handle {
    display: none;
  }
}

.axiauth-upgrade-pay-modal__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal__title {
    font-size: 1.125rem;
  }
}

.axiauth-upgrade-pay-modal__subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.axiauth-upgrade-pay-modal__total {
  margin-top: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.axiauth-upgrade-pay-modal__total-label {
  color: var(--muted);
}

.axiauth-upgrade-pay-modal__total-amount {
  margin-left: 0.35rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.axiauth-upgrade-pay-modal__total-suffix {
  color: var(--muted);
}

.axiauth-upgrade-pay-modal__options {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.axiauth-upgrade-pay-modal__option {
  display: flex;
  cursor: pointer;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: color-mix(in srgb, var(--bg) 55%, var(--bg3));
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

@supports not (background: color-mix(in srgb, black 50%, transparent)) {
  .axiauth-upgrade-pay-modal__option {
    background: rgba(20, 28, 36, 0.92);
  }
}

.axiauth-upgrade-pay-modal__option:hover {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(30, 41, 59, 0.35);
}

.axiauth-upgrade-pay-modal__option--active {
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(52, 211, 153, 0.07) !important;
  box-shadow: none;
}

.axiauth-upgrade-pay-modal__option-text {
  min-width: 0;
  flex: 1;
}

.axiauth-upgrade-pay-modal__option-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.axiauth-upgrade-pay-modal__option-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--muted);
}

.axiauth-upgrade-pay-modal__radio {
  margin-top: 0.12rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.axiauth-upgrade-pay-modal__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal__actions {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.65rem;
  }
}

.axiauth-upgrade-pay-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
  .axiauth-upgrade-pay-modal__btn {
    width: auto;
    min-width: 7rem;
  }
}

.axiauth-upgrade-pay-modal__btn--ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text);
  font-weight: 600;
}

.axiauth-upgrade-pay-modal__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.32);
}

.axiauth-upgrade-pay-modal__btn--primary {
  background: var(--accent);
  color: #0a0e13;
}

.axiauth-upgrade-pay-modal__btn--primary:hover {
  background: #4ade80;
}
