:root {
  --bg-main: #070a13;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(99, 102, 241, 0.35);
  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --purple: #a855f7;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%;
  right: -150px;
  animation-delay: -5s;
}

.glow-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-light), var(--primary-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.65);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.badge-pending-count {
  background: var(--amber);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.45);
}

.btn-primary-glow:active {
  transform: translateY(0);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.user-profile-menu {
  position: relative;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.user-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--cyan);
}

.user-info-mini {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name-mini {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
}

.dropdown-arrow {
  font-size: 11px;
  color: var(--text-sub);
}

.user-dropdown-glass {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  padding: 10px;
  display: none;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  z-index: 110;
}

.user-dropdown-glass.show {
  display: flex;
}

.dropdown-header {
  padding: 8px 12px;
}

.dropdown-email {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-item.text-danger {
  color: var(--rose);
}

.dropdown-item.text-danger:hover {
  background: rgba(244, 63, 94, 0.1);
}

.main-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.hero-section {
  text-align: center;
  padding: 40px 10px 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-pill i {
  font-size: 22px;
}

.stat-pill div {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.stat-pill strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.stat-pill span {
  font-size: 12px;
  color: var(--text-muted);
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-wrapper i {
  color: var(--text-sub);
  font-size: 16px;
}

.search-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
}

.btn-clear-search {
  background: transparent;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 4px;
}

.filter-chips {
  display: flex;
  gap: 8px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--primary);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.2);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.07);
}

.discount-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--rose), #e11d48);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
  letter-spacing: 0.5px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-box {
  display: flex;
  flex-direction: column;
}

.original-price {
  font-size: 12px;
  color: var(--text-sub);
  text-decoration: line-through;
}

.final-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.5px;
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-back-katalog {
  background: transparent;
  border: none;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-back-katalog:hover {
  text-decoration: underline;
}

.view-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.view-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.orders-list-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-history-card {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.order-info-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.order-prod-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-details-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-inv-id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}

.order-prod-name {
  font-size: 16px;
  font-weight: 700;
}

.order-date-text {
  font-size: 12px;
  color: var(--text-sub);
}

.order-info-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.order-amount-display {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.order-amount-label {
  font-size: 11px;
  color: var(--text-sub);
}

.order-amount-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-canceled {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.admin-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stat-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.bg-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.bg-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.bg-emerald { background: linear-gradient(135deg, #059669, #10b981); }
.bg-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.bg-rose { background: linear-gradient(135deg, #e11d48, #f43f5e); }

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.admin-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

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

.tab-title {
  font-size: 18px;
  font-weight: 700;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.modern-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.modern-table th {
  text-align: left;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.modern-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.modern-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-qris-card {
  max-width: 820px;
}

.modal-invoice-card {
  max-width: 640px;
}

.modal-product-manage-card {
  max-width: 680px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-header {
  margin-bottom: 22px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin: 0 auto 16px;
}

.quick-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 18px;
}

.quick-account-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
}

.quick-account-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
}

.quick-account-btn i {
  font-size: 22px;
}

.quick-account-btn div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quick-account-btn strong {
  font-size: 13.5px;
}

.quick-account-btn small {
  color: var(--text-sub);
  font-size: 12px;
}

.role-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-sub);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 10px;
}

.custom-login-form .form-group {
  margin-bottom: 14px;
}

.form-group label, .input-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input, .form-group textarea, .modern-form input, .modern-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--cyan);
}

.security-guarantee-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--emerald);
  margin-top: 18px;
}

.qris-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.qris-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.qris-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseAnim 1.5s infinite;
}

.qris-body-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

.qris-qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-canvas-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  padding: 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qris-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qris-expired-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rose);
  font-weight: 700;
  font-size: 14px;
}

.qris-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.order-summary-box {
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.summary-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}

.summary-total {
  font-size: 15px;
  color: var(--text-main);
  margin-top: 4px;
  margin-bottom: 0;
}

.text-lg { font-size: 20px !important; }

.qris-actions-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-sandbox-simulate {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-sandbox-simulate:hover {
  background: rgba(168, 85, 247, 0.3);
}

.btn-text-danger {
  background: transparent;
  border: none;
  color: var(--rose);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
}

.btn-text-danger:hover {
  text-decoration: underline;
}

.payment-saved-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.invoice-printable {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 18px;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invoice-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invoice-company-name {
  font-size: 20px;
  font-weight: 800;
}

.invoice-subtext {
  font-size: 11px;
  color: var(--text-sub);
}

.stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.invoice-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 18px 0;
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.meta-label {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  text-transform: uppercase;
}

.meta-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.invoice-item-card {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0;
}

.item-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.item-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
}

.item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}

.invoice-summary-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.inv-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.inv-total-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 8px;
  font-size: 15px;
  color: var(--text-main);
}

.invoice-delivery-section {
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.delivery-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.delivery-header i {
  font-size: 24px;
}

.delivery-title {
  font-size: 15px;
  font-weight: 700;
}

.delivery-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.invoice-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.radio-pill-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.radio-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  cursor: pointer;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.file-upload-help {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-success { border-left: 4px solid var(--emerald); }
.toast-error { border-left: 4px solid var(--rose); }
.toast-info { border-left: 4px solid var(--cyan); }

.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.spinner-ring {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.font-mono { font-family: var(--font-mono); }
.text-cyan { color: var(--cyan); }
.text-indigo { color: var(--primary-light); }
.text-success { color: var(--emerald); }
.text-warning { color: var(--amber); }
.text-danger { color: var(--rose); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

@media (max-width: 860px) {
  .navbar {
    height: 60px;
    padding: 0 16px;
  }
  .nav-center { display: none; }
  .qris-body-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .main-content { margin-top: 95px; }
}
