@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* GLOBAL DESIGN SYSTEM - TUKANGABSEN */
:root {
  color-scheme: light;

  /* Core Colors - Light Mode (Premium Glass/Corporate) */
  --primary: #2563eb;
  --primary-rgb: 37, 99, 235;
  --primary-hover: #1d4ed8;
  --primary-light: #60a5fa;
  --primary-tint: rgba(37, 99, 235, 0.14);
  --secondary: #0ea5e9;
  --secondary-rgb: 14, 165, 233;
  --accent: #8b5cf6;
  --accent-rgb: 139, 92, 246;

  --success: #10b981;
  --success-rgb: 16, 185, 129;
  --success-bg: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-rgb: 239, 68, 68;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;
  --warning-rgb: 245, 158, 11;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --info: #3b82f6;
  --info-rgb: 59, 130, 246;

  /* Backgrounds */
  --bg-body: #f8fafc;
  --bg-body-rgb: 248, 250, 252;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-input: rgba(255, 255, 255, 0.9);
  --bg-hover: rgba(15, 23, 42, 0.04);
  --bg-primary: var(--bg-body);
  --bg-secondary: rgba(255, 255, 255, 0.72);
  --bg-tertiary: rgba(148, 163, 184, 0.14);

  /* Borders & Shadows */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-rgb: 15, 23, 42;
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Texts */
  --text-main: #0f172a;
  --text-main-rgb: 15, 23, 42;
  --text-muted: #64748b;
  --text-muted-rgb: 100, 116, 139;
  --text-light: #94a3b8;
  --text-light-rgb: 148, 163, 184;

  /* Layout */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --sidebar-width: 280px;

  /* Dashboard/UI aliases */
  --primary-color: var(--primary);
  --secondary-color: var(--secondary);
  --success-color: var(--success);
  --warning-color: var(--warning);
  --danger-color: var(--danger);
  --info-color: var(--info);
  --text-primary: var(--text-main);
  --text-secondary: var(--text-muted);
  --text-tertiary: var(--text-light);
  --ui-font-family: 'Plus Jakarta Sans', sans-serif;
  --ui-font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --ui-bg-base: var(--bg-body);
  --ui-bg-base-rgb: 248, 250, 252;
  --ui-bg-glass: rgba(255, 255, 255, 0.72);
  --ui-bg-glass-heavy: rgba(255, 255, 255, 0.9);
  --ui-border-glass: rgba(148, 163, 184, 0.28);
  --ui-border-glass-rgb: 148, 163, 184;
  --ui-color-primary: var(--primary);
  --ui-color-primary-rgb: 37, 99, 235;
  --ui-color-accent: var(--accent);
  --ui-color-accent-rgb: 139, 92, 246;
  --ui-text-primary: var(--text-main);
  --ui-text-primary-rgb: 15, 23, 42;
  --ui-text-secondary: var(--text-muted);
  --ui-text-tertiary: var(--text-light);
  --ui-gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --ui-gradient-accent: linear-gradient(135deg, #10b981, #14b8a6);
  --ui-glass-blur: 16px;
  --ui-radius-sm: var(--radius-sm);
  --ui-radius-md: var(--radius-md);
  --ui-radius-lg: var(--radius-lg);
  --ui-radius-xl: var(--radius-xl);
  --ui-radius-pill: 9999px;
  --ui-transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  /* Core Colors - Dark Mode (Deep Sleek Dark) */
  --primary: #3b82f6;
  --primary-rgb: 59, 130, 246;
  --primary-hover: #60a5fa;
  --primary-light: #60a5fa;
  --primary-tint: rgba(59, 130, 246, 0.2);
  --secondary: #38bdf8;
  --secondary-rgb: 56, 189, 248;
  --accent: #a78bfa;
  --accent-rgb: 167, 139, 250;
  --success-rgb: 16, 185, 129;
  --danger-rgb: 239, 68, 68;
  --warning-rgb: 245, 158, 11;
  --info: #38bdf8;
  --info-rgb: 56, 189, 248;

  /* Backgrounds */
  --bg-body: #08111f;
  --bg-body-rgb: 8, 17, 31;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-solid: #0f172a;
  --bg-input: rgba(8, 17, 31, 0.82);
  --bg-hover: rgba(255, 255, 255, 0.05);
  --bg-primary: var(--bg-body);
  --bg-secondary: rgba(15, 23, 42, 0.82);
  --bg-tertiary: rgba(51, 65, 85, 0.52);

  /* Borders & Shadows */
  --border-color: rgba(148, 163, 184, 0.18);
  --border-color-rgb: 148, 163, 184;
  --glass-border: 1px solid rgba(148, 163, 184, 0.16);
  --shadow-xl: 0 24px 60px -20px rgba(2, 6, 23, 0.6);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

  /* Texts */
  --text-main: #e5eefc;
  --text-main-rgb: 229, 238, 252;
  --text-muted: #c1cde0;
  --text-muted-rgb: 193, 205, 224;
  --text-light: #94a3b8;
  --text-light-rgb: 148, 163, 184;

  /* Dashboard/UI aliases */
  --ui-bg-base: var(--bg-body);
  --ui-bg-base-rgb: 8, 17, 31;
  --ui-bg-glass: rgba(15, 23, 42, 0.68);
  --ui-bg-glass-heavy: rgba(15, 23, 42, 0.88);
  --ui-border-glass: rgba(148, 163, 184, 0.18);
  --ui-border-glass-rgb: 148, 163, 184;
  --ui-color-primary: var(--primary);
  --ui-color-primary-rgb: 59, 130, 246;
  --ui-color-accent: var(--accent);
  --ui-color-accent-rgb: 167, 139, 250;
  --ui-text-primary: var(--text-main);
  --ui-text-primary-rgb: 229, 238, 252;
  --ui-text-secondary: var(--text-muted);
  --ui-text-tertiary: var(--text-light);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-body);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Aurora Background (For Auth & Landing) */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-body);
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float-aurora 20s infinite alternate ease-in-out;
}

.aurora-bg::before {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.aurora-bg::after {
  bottom: -10vw;
  right: -10vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float-aurora {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(10vw, 15vw);
  }
}

/* Glassmorphism Card Core */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

/* Form Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: var(--text-light);
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Alerts */
.tw-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in-top 0.3s ease;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.tw-alert-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tw-alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  line-height: 1.5;
}

.alert i {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.alert strong,
.alert small {
  color: inherit;
}

.alert-error {
  background: rgba(var(--danger-rgb), 0.12);
  color: var(--danger);
  border-color: rgba(var(--danger-rgb), 0.26);
}

.alert-warning {
  background: rgba(var(--warning-rgb), 0.14);
  color: var(--warning);
  border-color: rgba(var(--warning-rgb), 0.26);
}

.alert-info {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--text-main);
  border-color: rgba(var(--primary-rgb), 0.22);
}

.alert-success {
  background: rgba(var(--success-rgb), 0.12);
  color: var(--success);
  border-color: rgba(var(--success-rgb), 0.25);
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

/* Theme Toggle Button Fixed */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.1);
  background: var(--bg-hover);
}

/* Dashboard Layout */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-card-solid);
  border-right: 1px solid var(--border-color);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  min-width: 0;
  transition: margin-left 0.3s ease;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.active {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .dashboard-main {
    margin-left: 0;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .dashboard-main {
    padding: 1rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .purchase-header {
    flex-direction: column;
    align-items: stretch;
  }

  .purchase-actions {
    flex-direction: column;
  }

  .purchase-actions .btn {
    width: 100%;
  }
}

/* Dashboard Badges */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-primary {
  background: var(--primary-tint);
  color: var(--primary);
}

.status-pending {
  background: rgba(var(--warning-rgb), 0.15);
  color: var(--warning);
  border: 1px solid rgba(var(--warning-rgb), 0.3);
}

.status-timeout {
  background: rgba(var(--secondary-rgb), 0.14);
  color: var(--secondary);
  border: 1px solid rgba(var(--secondary-rgb), 0.28);
}

.status-canceled {
  background: rgba(var(--danger-rgb), 0.15);
  color: var(--danger);
  border: 1px solid rgba(var(--danger-rgb), 0.3);
}

.status-paid {
  background: rgba(var(--success-rgb), 0.15);
  color: var(--success);
  border: 1px solid rgba(var(--success-rgb), 0.3);
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.empty-state-icon {
  font-size: 3rem;
  opacity: 0.6;
  color: var(--primary);
}

.purchase-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.purchase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.purchase-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.purchase-id {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  word-break: break-all;
}

.purchase-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.purchase-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.detail-item {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  color: var(--text-main);
  line-height: 1.5;
  word-break: break-word;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(var(--warning-rgb), 0.12);
  color: var(--warning);
}

.card-locked {
  position: relative;
  border-color: rgba(var(--warning-rgb), 0.35) !important;
  box-shadow: 0 18px 35px -24px rgba(var(--warning-rgb), 0.45);
}

.card-locked::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--warning-rgb), 0.06), transparent 40%);
  pointer-events: none;
}

.card-locked::after {
  content: 'Premium';
  position: absolute;
  top: 1rem;
  right: -2.35rem;
  padding: 0.25rem 2.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  transform: rotate(35deg);
  pointer-events: none;
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card-solid);
}

.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.tw-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tw-table th,
.tw-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
  white-space: nowrap;
}

.tw-table th {
  background: var(--bg-body);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tw-table tbody tr {
  transition: background-color 0.2s ease;
}

.tw-table tbody tr:hover {
  background: var(--bg-hover);
}

/* Modal */
.tw-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fade-in 0.2s ease;
}

.tw-modal-backdrop.active {
  display: flex;
}

.tw-modal-content {
  background: var(--bg-card-solid);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: slide-up 0.3s ease;
}

.tw-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tw-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.tw-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.tw-modal-close:hover {
  color: var(--danger);
}

.tw-modal-body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Utility Animations */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}


.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}


.ui-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ui-blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
  animation: float 20s infinite ease-in-out alternate;
  border-radius: 50%;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(5%, 10%) scale(1.1);
  }
}

.main-content {
  max-width: 100%;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Premium QRIS Frame */
.qris-premium-wrapper {
  display: none;
  position: relative;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(var(--ui-color-primary-rgb), 0.05), rgba(var(--ui-color-accent-rgb), 0.05));
  border-radius: 1.5rem;
  box-shadow: 0 0 30px rgba(var(--ui-color-primary-rgb), 0.15), inset 0 0 20px rgba(var(--ui-color-accent-rgb), 0.05);
  border: 1px solid rgba(var(--ui-color-primary-rgb), 0.2);
}

.qris-premium-wrapper:has(#qrisImage[style*="block"]) {
  display: block;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.qris-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid var(--ui-color-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.qris-premium-wrapper:hover .qris-corner {
  width: 45px;
  height: 45px;
  border-color: var(--ui-color-accent);
}

.qris-corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; border-radius: 1.5rem 0 0 0; }
.qris-corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; border-radius: 0 1.5rem 0 0; }
.qris-corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; border-radius: 0 0 0 1.5rem; }
.qris-corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; border-radius: 0 0 1.5rem 0; }

.qris-scan-line {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ui-color-accent);
  box-shadow: 0 0 15px var(--ui-color-accent), 0 0 30px var(--ui-color-accent);
  z-index: 10;
  animation: scan 2.5s ease-in-out infinite;
  border-radius: 50%;
  opacity: 0.7;
}

@keyframes scan {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

#qrisImage {
  width: 250px !important;
  height: 250px !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
  padding: 0.5rem !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
  position: relative !important;
  z-index: 2 !important;
  margin: 0 auto !important;
  border: none !important;
}

.qris-logo-band {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(var(--ui-bg-base-rgb), 0.6);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid var(--ui-border-glass);
}

