/* =========================================================================
   UMI AGENT AI — KAWAII POP DESIGN SYSTEM (LIGHT & DARK + MULTI-PALETTE)
   Japanese Stationery Aesthetic: Pastel Colors, Chunky Borders & Shadows
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* --- 1. KAWAII POP TOKENS --- */
:root, [data-theme="light"] {
  --theme-mode: light;

  /* Colors */
  --kw-primary: #f8be9e;       /* Peachy Coral (Default) */
  --kw-secondary: #70d6ff;     /* Sky Blue */
  --kw-accent: #ffd670;        /* Butter Yellow */
  --kw-success: #bcffbe;       /* Mint Green */
  --kw-danger: #ff7096;        /* Strawberry Pink */
  --kw-info: #70d6ff;

  --kw-bg: #fffdf9;            /* Warm Milk Canvas */
  --kw-surface: #ffffff;
  --kw-surface-soft: #fff6ee;
  --kw-card-bg: #ffffff;
  --kw-fg: #0a0a0a;            /* Rich Ink Black */
  --kw-fg-muted: #555555;
  --kw-fg-light: #888888;
  --kw-border: #0a0a0a;        /* Signature 2.5px Black Outline */
  --kw-shadow-color: #0a0a0a;

  /* Elevations & Chunky Sticker Shadows */
  --kw-shadow-xs: 2px 2px 0px var(--kw-shadow-color);
  --kw-shadow-sm: 3px 3px 0px var(--kw-shadow-color);
  --kw-shadow-md: 4px 4px 0px var(--kw-shadow-color);
  --kw-shadow-lg: 6px 6px 0px var(--kw-shadow-color);
  --kw-modal-backdrop: rgba(10, 10, 10, 0.55);

  /* Fonts */
  --font-heading: 'Nunito', -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
  --theme-mode: dark;

  /* Colors */
  --kw-primary: #f8be9e;
  --kw-secondary: #70d6ff;
  --kw-accent: #ffd670;
  --kw-success: #bcffbe;
  --kw-danger: #ff7096;
  --kw-info: #70d6ff;

  --kw-bg: #0d0e12;
  --kw-surface: #17181f;
  --kw-surface-soft: #21232d;
  --kw-card-bg: #17181f;
  --kw-fg: #f5f5f5;
  --kw-fg-muted: #b0b3c0;
  --kw-fg-light: #7a7d8e;
  --kw-border: #f5f5f5;
  --kw-shadow-color: #000000;

  /* Elevations */
  --kw-shadow-xs: 2px 2px 0px #000000;
  --kw-shadow-sm: 3px 3px 0px #000000;
  --kw-shadow-md: 4px 4px 0px #000000;
  --kw-shadow-lg: 6px 6px 0px #000000;
  --kw-modal-backdrop: rgba(0, 0, 0, 0.75);
}

/* --- MULTI-COLOR PALETTES --- */
[data-color-theme="peach"] {
  --kw-primary: #f8be9e;
  --kw-secondary: #70d6ff;
  --kw-accent: #ffd670;
}

[data-color-theme="sky"] {
  --kw-primary: #70d6ff;
  --kw-secondary: #f8be9e;
  --kw-accent: #ffd670;
}

[data-color-theme="yellow"] {
  --kw-primary: #ffd670;
  --kw-secondary: #70d6ff;
  --kw-accent: #f8be9e;
}

[data-color-theme="mint"] {
  --kw-primary: #a7f3d0;
  --kw-secondary: #70d6ff;
  --kw-accent: #fde68a;
}

[data-color-theme="pink"] {
  --kw-primary: #fbcfe8;
  --kw-secondary: #70d6ff;
  --kw-accent: #ffd670;
}

[data-color-theme="lavender"] {
  --kw-primary: #e9d5ff;
  --kw-secondary: #70d6ff;
  --kw-accent: #fbcfe8;
}

[data-color-theme="orange"] {
  --kw-primary: #fed7aa;
  --kw-secondary: #70d6ff;
  --kw-accent: #fef08a;
}

/* --- 0. TELEGRAM ONLY GUARD SCREEN --- */
.tg-only-screen {
  position: fixed;
  inset: 0;
  background: var(--kw-bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tg-only-card {
  background: var(--kw-surface);
  border: 3px solid var(--kw-border);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--kw-shadow-lg);
  max-width: 340px;
  width: 100%;
}

.tg-only-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--kw-secondary);
  border: 2.5px solid var(--kw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--kw-shadow-sm);
}

.tg-only-icon i, .tg-only-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.5;
  color: #0a0a0a;
}

.tg-only-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
  color: var(--kw-fg);
  margin-bottom: 8px;
}

.tg-only-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--kw-fg-muted);
  margin-bottom: 22px;
}

.btn-tg-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--kw-primary);
  border: 2.5px solid var(--kw-border);
  border-radius: 16px;
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  box-shadow: var(--kw-shadow-sm);
  transition: transform 0.15s ease;
}

.btn-tg-open:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--kw-border);
}

/* --- 0. SLOT INLINE LOADING STATE --- */
.slot-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 24px;
  box-shadow: var(--kw-shadow-sm);
  gap: 12px;
  text-align: center;
}

.slot-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid var(--kw-surface-soft);
  border-top-color: var(--kw-primary);
  border-right-color: var(--kw-secondary);
  border-radius: 50%;
  animation: spinSlot 0.8s linear infinite;
}

@keyframes spinSlot {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.slot-loading-state span {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--kw-fg);
}

/* --- 2. ANTI-COPY & BASE RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

input, textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img, svg, picture {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

a, button, [onclick], .clickable, .qris-image-wrapper, .qris-image-container, .home-promo-track, .banner-item-slide, .account-avatar, .product-card, .history-row-item, .shortcut-chip {
  pointer-events: auto !important;
}

body {
  background-color: var(--kw-bg);
  color: var(--kw-fg);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6, .brand-name, .btn-kawaii {
  font-family: var(--font-heading);
}

/* --- 3. APP CONTAINER --- */
.app-layout {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--kw-bg);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  padding-bottom: 90px;
}

/* --- 4. KAWAII TOP BRAND HEADER --- */
.nav-clay-header {
  position: sticky;
  top: 0;
  z-index: 260;
  background: var(--kw-bg);
  padding: 12px 16px 8px;
  transition: all 0.25s ease;
}

.nav-brand-chip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: var(--kw-shadow-sm);
  text-align: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--kw-fg);
  letter-spacing: -0.2px;
  margin: 0;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kw-success);
  border: 1px solid var(--kw-border);
}

.icon-refresh-mini {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
  color: var(--kw-fg-muted);
  transition: transform 0.3s ease;
}

.header-status-chip:hover .icon-refresh-mini {
  transform: rotate(90deg);
}

/* --- 5. MAIN CONTAINER --- */
.main-content-container {
  flex: 1;
  padding: 12px 16px;
}

.view-screen { display: none; }
.view-screen.active { display: block; animation: kawaiiPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes kawaiiPopIn {
  0% { opacity: 0; transform: scale(0.97) translateY(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- 6. HERO PROMO BANNER --- */
.home-hero-row {
  margin-bottom: 14px;
  position: relative;
}

.home-promo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2px 2px 6px;
}

.home-promo-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
}

.home-promo-track:active {
  cursor: grabbing;
}

.banner-item-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  background: var(--kw-primary);
  color: #0a0a0a;
  border: 2.5px solid var(--kw-border);
  border-radius: 20px;
  box-shadow: var(--kw-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-pill-badge {
  display: inline-block;
  background: var(--kw-accent);
  border: 2px solid var(--kw-border);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.banner-title-text {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #0a0a0a;
}

.banner-desc-text {
  font-size: 12px;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
}

.banner-img-preview {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid var(--kw-border);
  background: var(--kw-surface);
  box-shadow: var(--kw-shadow-xs);
  flex-shrink: 0;
  display: block;
}

.home-promo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--kw-surface-soft);
  border: 1.5px solid var(--kw-border);
  transition: all 0.2s ease;
}

.p-dot.active {
  width: 24px;
  background: var(--kw-secondary);
}

/* --- 7. ACTIVE RENTAL WIDGET --- */
.active-rental-card {
  background: var(--kw-secondary);
  color: #0a0a0a;
  border: 2.5px solid var(--kw-border);
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--kw-shadow-md);
  position: relative;
}

.active-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.active-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  color: #0a0a0a;
}

.live-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kw-success);
  border: 1.5px solid var(--kw-border);
}

.badge-cat {
  background: var(--kw-accent);
  border: 1.5px solid var(--kw-border);
  padding: 2px 10px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.active-agent-title {
  font-size: 18px;
  font-weight: 900;
  color: #0a0a0a;
}

.active-bot-tag {
  font-size: 12px;
  font-weight: 700;
  color: #333333;
}

.countdown-strip {
  margin: 10px 0;
  background: #ffffff;
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--kw-shadow-xs);
}

.cd-label { font-size: 10.5px; font-weight: 800; color: #555555; }
.cd-timer-row { display: flex; align-items: baseline; gap: 4px; }
.timer-box span { font-family: var(--font-heading); font-size: 19px; font-weight: 900; color: #0a0a0a; }
.timer-box small { font-size: 9px; font-weight: 700; color: #666666; }
.timer-sep { font-weight: 900; color: var(--kw-danger); }

.btn-open-bot-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--kw-primary);
  color: #0a0a0a;
  border: 2px solid var(--kw-border);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 9999px;
  box-shadow: var(--kw-shadow-xs);
  transition: transform 0.15s ease;
}

.btn-open-bot-cta:active { transform: translate(1px, 1px); }

.active-card-action-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.btn-sub-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #ffffff;
  border: 1.5px solid var(--kw-border);
  border-radius: 12px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  padding: 8px 2px;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
  transition: transform 0.15s ease;
}

.btn-sub-action:active { transform: translate(1px, 1px); }
.btn-sub-action i { width: 14px; height: 14px; stroke-width: 2.5; }

/* --- 8. SHORTCUT CATEGORIES --- */
.mk-shortcut-bar { margin-bottom: 16px; }
.mk-shortcut-bar__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.mk-shortcut-bar__track::-webkit-scrollbar { display: none; }

.shortcut-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 9999px;
  color: var(--kw-fg);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--kw-shadow-xs);
  transition: all 0.15s ease;
}

.shortcut-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-sm);
}

.shortcut-chip.active {
  background-color: var(--kw-primary);
  color: #0a0a0a;
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-sm);
}

.shortcut-chip i { width: 14px; height: 14px; stroke-width: 2.5; }
.shortcut-chip-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* --- 9. PRODUCT GRID & AGENT CARDS --- */
.catalog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--kw-fg);
  letter-spacing: -0.3px;
}

.section-subheading {
  font-size: 12px;
  color: var(--kw-fg-muted);
}

.slot-count-badge {
  background: var(--kw-accent);
  color: #0a0a0a;
  border: 1.5px solid var(--kw-border);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.product-card {
  background: var(--kw-card-bg);
  border: 2.5px solid var(--kw-border);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--kw-shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--kw-shadow-lg);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--kw-surface-soft);
  border: 2.5px solid var(--kw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--kw-shadow-xs);
  flex-shrink: 0;
}

.product-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Status Badges */
.status-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1.5px solid var(--kw-border);
  box-shadow: 1px 1px 0px var(--kw-border);
}

.status-tag.available { background: var(--kw-success); color: #0a0a0a; }
.status-tag.rented { background: var(--kw-accent); color: #0a0a0a; }
.status-tag.myslot { background: var(--kw-secondary); color: #0a0a0a; }

.product-meta-mid { margin-bottom: 12px; }

.product-title {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--kw-fg);
  margin-bottom: 3px;
  line-height: 1.25;
}

.product-cat-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--kw-fg-muted);
  margin-bottom: 6px;
}

.badge-tag-category {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--kw-secondary);
}

.star-rate { color: #f59e0b; font-weight: 800; }

.product-desc {
  font-size: 12px;
  color: var(--kw-fg-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.feat-pill {
  background: var(--kw-surface-soft);
  color: var(--kw-fg);
  border: 1.5px solid var(--kw-border);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.product-pricing-strip {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: var(--kw-fg);
}

.price-unit { font-size: 11px; font-weight: 600; color: var(--kw-fg-muted); }

.promo-badge-tag {
  background: var(--kw-danger);
  color: #ffffff;
  border: 1.5px solid var(--kw-border);
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 1px 1px 0px var(--kw-border);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.promo-badge-tag.badge-top-1 {
  background: #fde047 !important;
  color: #1e293b !important;
  border-color: #0a0a0a !important;
  font-weight: 900 !important;
}

.promo-badge-tag.badge-top-2 {
  background: #70d6ff !important;
  color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  font-weight: 900 !important;
}

.promo-badge-tag.badge-top-3 {
  background: #ff7096 !important;
  color: #ffffff !important;
  border-color: #0a0a0a !important;
  font-weight: 900 !important;
}

/* Big Bouncy Kawaii CTA Button */
.btn-card-rent-cta {
  width: 100%;
  padding: 12px;
  background: var(--kw-primary);
  color: #0a0a0a;
  border: 2.5px solid var(--kw-border);
  border-radius: 18px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--kw-shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-card-rent-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-md);
}

.btn-card-rent-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--kw-shadow-color);
}

.btn-card-rent-cta:disabled {
  background: #e5e5e5;
  color: #888888;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-card-rent-cta.btn-slot-full {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: var(--kw-border) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

/* --- 10. TRUST STRIP --- */
.footer-trust-strip {
  background: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 24px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: var(--kw-shadow-sm);
}

.footer-trust-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-item { display: flex; align-items: center; gap: 10px; }

.trust-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--kw-secondary);
  border: 2px solid var(--kw-border);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--kw-shadow-xs);
}

.trust-icon-box i, .trust-icon-box svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  color: #0a0a0a;
  display: block;
}
.trust-text strong { font-family: var(--font-heading); font-size: 13px; font-weight: 800; color: var(--kw-fg); display: block; }
.trust-text span { font-size: 11px; color: var(--kw-fg-muted); }

/* --- 11. RIWAYAT & AKUN VIEWS --- */
.section-card-panel {
  background: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--kw-shadow-md);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.btn-icon-reload {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--kw-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--kw-shadow-xs);
}

.history-filter-strip { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 2px; }

.history-chip {
  padding: 6px 14px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 9999px;
  color: var(--kw-fg);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--kw-shadow-xs);
}

.history-chip.active {
  background: var(--kw-primary);
  color: #0a0a0a;
}

.history-card-list { display: flex; flex-direction: column; gap: 10px; }

.history-row-item {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--kw-shadow-xs);
}

.history-left { display: flex; align-items: center; gap: 10px; }

.hist-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 2px solid var(--kw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.hist-icon-box.topup { background: var(--kw-success); color: #0a0a0a; }
.hist-icon-box.rental { background: var(--kw-secondary); color: #0a0a0a; }
.hist-icon-box.voucher { background: var(--kw-danger); color: #ffffff; }

.hist-meta h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 800; color: var(--kw-fg); }
.hist-meta small { font-size: 11px; color: var(--kw-fg-muted); }
.history-right { text-align: right; }
.hist-amount { font-family: var(--font-heading); font-size: 14px; font-weight: 900; }
.hist-status {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1.5px solid var(--kw-border);
  letter-spacing: 0.3px;
  box-shadow: 1px 1px 0px var(--kw-border);
  text-transform: uppercase;
}

/* Kuning: Proses / Menunggu / Pending */
.hist-status.pending,
.hist-status.proses,
.hist-status.menunggu {
  background: #fde047;
  color: #1e293b;
}

/* Hijau: Berhasil / Sukses / Approved / Completed */
.hist-status.approved,
.hist-status.completed,
.hist-status.berhasil,
.hist-status.sukses {
  background: #86efac;
  color: #064e3b;
}

/* Merah: Dibatalkan / Gagal / Ditolak / Cancelled / Rejected */
.hist-status.cancelled,
.hist-status.canceled,
.hist-status.rejected,
.hist-status.dibatalkan,
.hist-status.ditolak,
.hist-status.gagal {
  background: #fca5a5;
  color: #7f1d1d;
}

.history-row-item.clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.history-row-item.clickable:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-md);
}

.history-row-item.clickable:active {
  transform: translate(1px, 1px);
  box-shadow: var(--kw-shadow-xs);
}

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

.spin-anim,
.spin-infinite {
  animation: spinInfinite 0.8s linear infinite !important;
  display: inline-block;
  transform-origin: center center;
}

.btn-checkout-confirm.btn-processing {
  background: var(--kw-surface-soft) !important;
  color: var(--kw-fg-muted) !important;
  border: 2px solid var(--kw-border) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.9 !important;
}

.btn-checkout-confirm.btn-processing i,
.btn-checkout-confirm.btn-processing svg,
.btn-processing i,
.btn-processing svg {
  animation: spinInfinite 0.8s linear infinite !important;
  display: inline-block !important;
  transform-origin: center center !important;
}

/* Account View */
.account-profile-card { margin-bottom: 16px; }
.account-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kw-primary);
  border: 2.5px solid var(--kw-border);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
  box-shadow: var(--kw-shadow-xs);
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.account-name { font-size: 19px; font-weight: 900; color: var(--kw-fg); }
.account-handle { font-size: 13px; font-weight: 700; color: var(--kw-secondary); display: block; }
.account-id-chip { font-size: 11px; color: var(--kw-fg-muted); }

.account-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  padding: 12px;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--kw-shadow-xs);
}

.acc-stat-label { font-size: 10.5px; font-weight: 700; color: var(--kw-fg-muted); display: block; }
.acc-stat-val { font-family: var(--font-heading); font-size: 15px; font-weight: 900; color: var(--kw-fg); }

.account-menu-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.account-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 18px;
  color: var(--kw-fg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--kw-shadow-sm);
  transition: transform 0.15s ease;
  width: 100%;
}

.account-menu-item:hover { transform: translate(-1px, -1px); box-shadow: var(--kw-shadow-md); }
.account-menu-item:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0px var(--kw-shadow-color); }

.menu-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid var(--kw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.icon-theme { background: var(--kw-accent); color: #0a0a0a; }
.icon-palette { background: var(--kw-primary); color: #0a0a0a; }
.icon-gift { background: var(--kw-danger); color: #ffffff; }
.icon-star { background: var(--kw-accent); color: #0a0a0a; }
.icon-community { background: var(--kw-secondary); color: #0a0a0a; }
.icon-contact { background: var(--kw-success); color: #0a0a0a; }
.icon-switch { background: var(--kw-success); color: #0a0a0a; }
.icon-admin { background: #d8b4fe; color: #0a0a0a; }

.menu-text-wrap { flex: 1; text-align: left; }
.menu-text-wrap strong { font-family: var(--font-heading); font-size: 14px; font-weight: 800; display: block; color: var(--kw-fg); }
.menu-text-wrap small { font-size: 11px; color: var(--kw-fg-muted); }
.menu-arrow { color: var(--kw-fg-muted); width: 18px; height: 18px; }
.app-footer-note { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--kw-fg-light); }

/* --- 12. FLOATING KAWAII BOTTOM NAVIGATION --- */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 16px;
  right: 16px;
  max-width: 448px;
  margin: 0 auto;
  height: 64px;
  background: var(--kw-surface);
  border: 2.5px solid var(--kw-border);
  border-radius: 28px;
  box-shadow: var(--kw-shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  z-index: 200;
}

.nav-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--kw-fg-muted);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  height: 100%;
  transition: transform 0.15s ease;
}

.nav-tab-btn:active { transform: scale(0.9); }
.nav-tab-btn i, .nav-tab-btn svg { width: 20px; height: 20px; stroke-width: 2.5; display: block; }
.nav-tab-btn.active { color: var(--kw-fg); }
.nav-tab-btn.active i, .nav-tab-btn.active svg { color: var(--kw-danger); }



/* --- 13. KAWAII POP MODALS --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--kw-modal-backdrop);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.show { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--kw-surface);
  border: 3px solid var(--kw-border);
  border-bottom: none;
  border-radius: 32px 32px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 16px 20px 28px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 6px;
  border-radius: 9999px;
  background: var(--kw-border);
  margin: 0 auto 14px;
}

.modal-backdrop.show .modal-card { transform: translateY(0); }

.modal-backdrop.modal-banned-backdrop {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.modal-banned-card {
  border-radius: 28px !important;
  border-bottom: 2.5px solid var(--kw-danger) !important;
  margin: auto !important;
  transform: scale(0.95) !important;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.modal-backdrop.show .modal-banned-card {
  transform: scale(1) !important;
  opacity: 1 !important;
}

.modal-banned-card::before {
  display: none !important;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--kw-border);
}

.modal-title { font-size: 18px; font-weight: 900; color: var(--kw-fg); }
.modal-badge-cat { font-family: var(--font-heading); font-size: 12px; font-weight: 800; color: var(--kw-secondary); }
.modal-sub { font-size: 12px; color: var(--kw-fg-muted); }

.modal-close-btn {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--kw-fg);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.form-section { margin-bottom: 16px; }
.form-label { display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 800; color: var(--kw-fg); margin-bottom: 8px; }

/* Palette Swatches in Theme Modal */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.palette-card-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: var(--kw-shadow-xs);
  transition: all 0.15s ease;
}

.palette-card-option:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-sm);
}

.palette-card-option.active {
  border-width: 2.5px;
  background: var(--kw-surface);
  box-shadow: var(--kw-shadow-sm);
}

.palette-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--kw-border);
  flex-shrink: 0;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.palette-meta strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--kw-fg);
  display: block;
}

.palette-meta small {
  font-size: 10.5px;
  color: var(--kw-fg-muted);
}

/* Duration Unit Selector */
.duration-unit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.unit-btn {
  padding: 8px 2px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 12px;
  color: var(--kw-fg);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.unit-btn.active {
  background: var(--kw-primary);
  color: #0a0a0a;
  box-shadow: var(--kw-shadow-xs);
}

.stepper-label-row { display: flex; align-items: center; justify-content: space-between; }
.discount-pill { font-family: var(--font-heading); font-size: 11.5px; font-weight: 800; color: var(--kw-success); background: #0a0a0a; padding: 2px 8px; border-radius: 9999px; }

.stepper-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 6px 8px;
}

.stepper-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  color: var(--kw-fg);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.stepper-input {
  flex: 1;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
  color: var(--kw-fg);
  outline: none;
}

.toggle-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.toggle-text strong { font-family: var(--font-heading); font-size: 13px; font-weight: 800; display: block; color: var(--kw-fg); }
.toggle-text small { font-size: 11px; color: var(--kw-fg-muted); }

.switch { position: relative; display: inline-block; width: 48px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background-color: #e5e5e5;
  border: 2px solid var(--kw-border);
  border-radius: 28px;
  transition: .25s ease;
}
.slider:before {
  position: absolute; content: ""; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background-color: var(--kw-border); border-radius: 50%;
  transition: .25s ease;
}
input:checked + .slider { background-color: var(--kw-success); }
input:checked + .slider:before { transform: translateX(20px); background-color: #0a0a0a; }

.cost-breakdown-card {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.cost-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: 6px; color: var(--kw-fg-muted); }
.cost-divider { height: 2px; background: var(--kw-border); margin: 8px 0; }
.total-row { font-family: var(--font-heading); font-size: 14px; font-weight: 900; color: var(--kw-fg); }
.total-price-text { font-size: 19px; color: var(--kw-fg); }

.balance-check-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: var(--kw-shadow-xs);
}

.balance-check-left { display: flex; flex-direction: column; font-size: 11.5px; color: var(--kw-fg-muted); }
.balance-check-left strong { font-family: var(--font-heading); font-size: 15px; color: var(--kw-fg); }
.balance-check-right { display: flex; align-items: center; gap: 6px; }

.btn-quick-topup {
  background: var(--kw-secondary);
  color: #0a0a0a;
  border: 1.5px solid var(--kw-border);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
}

.btn-checkout-confirm {
  width: 100%;
  padding: 14px;
  background: var(--kw-primary);
  color: #0a0a0a;
  border: 2.5px solid var(--kw-border);
  border-radius: 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--kw-shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-checkout-confirm:hover { transform: translate(-1px, -1px); box-shadow: var(--kw-shadow-md); }
.btn-checkout-confirm:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0px var(--kw-shadow-color); }
.btn-checkout-confirm:disabled { background: #e5e5e5; color: #888888; box-shadow: none; cursor: not-allowed; transform: none; }

/* Preset Nominal Grid */
.preset-nominal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preset-btn {
  padding: 12px 4px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 14px;
  color: var(--kw-fg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--kw-shadow-xs);
}

.preset-btn.active {
  background: var(--kw-accent);
  color: #0a0a0a;
  transform: translate(-1px, -1px);
  box-shadow: var(--kw-shadow-sm);
}

.input-nominal-wrap {
  display: flex;
  align-items: center;
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 0 14px;
}

.input-rp { font-family: var(--font-heading); font-weight: 900; color: var(--kw-fg-muted); margin-right: 4px; }
.form-input-clean, .form-textarea-clean {
  width: 100%;
  padding: 12px 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--kw-fg);
  outline: none;
}

.form-input-clean.text-uppercase { text-transform: uppercase; font-family: 'JetBrains Mono', monospace; font-weight: 700; }

/* QRIS Card */
.qris-display-card {
  background: var(--kw-surface-soft);
  border: 2.5px solid var(--kw-border);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
  box-shadow: var(--kw-shadow-sm);
}

.qris-merchant-strip { margin-bottom: 12px; }
.qris-tag { display: inline-block; background: var(--kw-danger); color: #ffffff; border: 1.5px solid var(--kw-border); font-family: var(--font-heading); font-size: 10px; font-weight: 800; padding: 2px 10px; border-radius: 9999px; }
.merchant-name-text { font-family: var(--font-heading); font-size: 17px; font-weight: 900; display: block; margin-top: 4px; color: var(--kw-fg); }

.qris-image-container {
  width: 240px;
  height: 240px;
  max-width: 100%;
  margin: 0 auto 8px;
  background: #ffffff;
  padding: 12px;
  border: 2.5px solid var(--kw-border);
  border-radius: 20px;
  box-shadow: var(--kw-shadow-xs);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qris-image-container:hover {
  transform: scale(1.02);
  box-shadow: var(--kw-shadow-sm);
}

.qris-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qris-tap-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--kw-fg-muted);
  font-weight: 700;
  margin: 0 auto 12px;
  padding: 4px 12px;
  background: var(--kw-surface);
  border: 1.5px solid var(--kw-border);
  border-radius: 9999px;
}

.qris-tap-hint i, .qris-tap-hint svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

/* Modal Zoom Card */
.modal-zoom-card {
  max-width: 360px;
  text-align: center;
}

.qris-zoom-image-container {
  width: 280px;
  height: 280px;
  margin: 0 auto 10px;
  background: #ffffff;
  padding: 14px;
  border: 3px solid var(--kw-border);
  border-radius: 22px;
  box-shadow: var(--kw-shadow-md);
}

.qris-zoom-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zoom-helper-text {
  font-size: 11.5px;
  color: var(--kw-fg-muted);
  font-weight: 600;
}

.transfer-nominal-box {
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 12px;
}

.transfer-notice { font-size: 11px; color: var(--kw-fg-muted); font-weight: 700; display: block; }
.transfer-val-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.transfer-val { font-family: var(--font-heading); font-size: 22px; color: var(--kw-fg); font-weight: 900; }

.transfer-warning { font-size: 11px; color: var(--kw-danger); font-weight: 700; display: block; margin-top: 2px; }
.qr-btn-row { display: flex; gap: 8px; }

.btn-outline-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--kw-fg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--kw-border);
  transition: transform 0.15s ease;
}

.btn-cancel-topup {
  width: 100%;
  padding: 13px 16px;
  background: #fee2e2;
  color: #991b1b;
  border: 2.5px solid var(--kw-border);
  border-radius: 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  box-shadow: 2px 2px 0px var(--kw-border);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-cancel-topup:hover {
  background: #fecaca;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--kw-border);
}

.btn-cancel-topup:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--kw-border);
}

.btn-cancel-topup i,
.btn-cancel-topup svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
}

.btn-ghost-action {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--kw-fg-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.prompt-text-card {
  background: var(--kw-surface-soft);
  border: 2px solid var(--kw-border);
  border-radius: 16px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--kw-fg);
  max-height: 180px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.star-rating-row { display: flex; justify-content: center; gap: 8px; }
.star-btn { font-size: 34px; color: #d1d5db; cursor: pointer; }
.star-btn.active { color: #f59e0b; }

/* Toast Notifications (Compact Top-Right) */
.toast-container {
  position: fixed;
  top: 14px;
  right: 14px;
  left: auto;
  transform: none;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 280px;
  width: auto;
  pointer-events: none;
}

.toast {
  padding: 8px 12px;
  background: var(--kw-surface);
  border: 2px solid var(--kw-border);
  border-radius: 14px;
  box-shadow: var(--kw-shadow-sm);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--kw-fg);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  animation: toastSlideIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast.toast-success { border-left: 5px solid var(--kw-success); }
.toast.toast-error { border-left: 5px solid var(--kw-danger); }
.toast i { width: 14px; height: 14px; stroke-width: 2.5; flex-shrink: 0; }

.mt-md { margin-top: 14px; }
.text-primary { color: var(--kw-primary); }
.text-success { color: var(--kw-success); }
.text-danger { color: var(--kw-danger); }
