:root {
  --mags-light-border: #e7e7e7;
  --mags-border-radius: 6px;
  --mags-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  --mags-primary: #573cba;
  --bg-1: #12021f;
  --bg-2: #24063f;
  --bg-3: #3a0b68;
  --surface-1: #170726;
  --surface-2: #231038;
  --card: rgba(255, 255, 255, 0.1);
  --card-2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --sidebar-bg: linear-gradient(180deg, rgba(27, 12, 44, 0.94) 0%, rgba(18, 7, 31, 0.96) 100%);
  --sidebar-border: rgba(255, 255, 255, 0.1);
  --sidebar-text: rgba(255, 255, 255, 0.88);
  --sidebar-muted: rgba(255, 255, 255, 0.62);
  --sidebar-hover-bg: rgba(255, 255, 255, 0.08);
  --sidebar-active-bg: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  --gold-1: #ffd86b;
  --gold-2: #ffb300;
  --gold-3: #ff8a00;
  --purple-1: #6e1cff;
  --purple-2: #9f3bff;
  --green: #41d87c;
  --red: #ff5a78;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --glow-gold: 0 0 30px rgba(255, 190, 40, 0.28);
  --glow-purple: 0 0 40px rgba(147, 55, 255, 0.25);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --bs-body-bg: var(--bg-1);
  --bs-body-color: var(--text);
  --bs-border-color: rgba(255, 255, 255, 0.12);

}
   body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 20% 15%, rgba(255, 193, 7, 0.14), transparent 18%),
        radial-gradient(circle at 80% 12%, rgba(162, 89, 255, 0.24), transparent 22%),
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 28%),
        linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 34%, var(--bg-1) 100%);
      min-height: 100vh;
      font-size:14px;
      
   
    }


.dropdown-item i {
  width: 20px;
  text-align: center;
}

.btn {
  border-radius: 16px;
  white-space: nowrap;
  font-weight: 500;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Bootstrap Theme Buttons */
.btn {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border-color: #01d651;
  color: #0a1911;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
  background: linear-gradient(135deg, #1ae571 0%, #38c987 100%);
  border-color: #20d777;
  color: #07110c;
}

.btn-secondary {
  background: linear-gradient(135deg, #6e1cff 0%, #9f3bff 100%);
  border-color: #7c2bff;
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.show>.btn-secondary.dropdown-toggle {
  background: linear-gradient(135deg, #8240ff 0%, #b05cff 100%);
  border-color: #9050ff;
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #13c56b 0%, #28db83 100%);
  border-color: #18cb73;
  color: #06130d;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.show>.btn-success.dropdown-toggle {
  background: linear-gradient(135deg, #2bdc84 0%, #50e69b 100%);
  border-color: #2fdd86;
  color: #06110b;
}

.btn-danger {
  background: linear-gradient(135deg, #ff5a78 0%, #ff6f93 100%);
  border-color: #ff5a78;
  color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.show>.btn-danger.dropdown-toggle {
  background: linear-gradient(135deg, #ff6e8d 0%, #ff82a2 100%);
  border-color: #ff6a87;
  color: #fff;
}

.btn-warning {
  background: linear-gradient(135deg, #ffd86b 0%, #ffb300 100%);
  border-color: #ffc545;
  color: #221506;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.show>.btn-warning.dropdown-toggle {
  background: linear-gradient(135deg, #ffe08a 0%, #ffbf2b 100%);
  border-color: #ffd26a;
  color: #1f1204;
}

.btn-info {
  background: linear-gradient(135deg, #5a8dff 0%, #7d6cff 100%);
  border-color: #647fff;
  color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.show>.btn-info.dropdown-toggle {
  background: linear-gradient(135deg, #719dff 0%, #9382ff 100%);
  border-color: #7f91ff;
  color: #fff;
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #f9f4ff;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.active,
.show>.btn-light.dropdown-toggle {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.btn-dark {
  background: #1b0f2c;
  border-color: #2e1848;
  color: #f7f1ff;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.active,
.show>.btn-dark.dropdown-toggle {
  background: #2a1840;
  border-color: #3a235a;
  color: #ffffff;
}

.btn-link {
  color: #bda3ff;
}

.btn-link:hover,
.btn-link:focus {
  color: #d8c8ff;
}

.btn-outline-primary {
  color: #7dffb8;
  border-color: rgba(1, 214, 81, 0.7);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show>.btn-outline-primary.dropdown-toggle {
  color: #07110c;
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border-color: #01d651;
}

.btn-outline-secondary {
  color: #d9c4ff;
  border-color: rgba(159, 59, 255, 0.72);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.show>.btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background: linear-gradient(135deg, #6e1cff 0%, #9f3bff 100%);
  border-color: #8f44ff;
}

.btn-outline-success {
  color: #8cf7bc;
  border-color: rgba(19, 197, 107, 0.75);
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success.active,
.show>.btn-outline-success.dropdown-toggle {
  color: #06130d;
  background: linear-gradient(135deg, #13c56b 0%, #28db83 100%);
  border-color: #18cb73;
}

.btn-outline-danger {
  color: #ffb6c6;
  border-color: rgba(255, 90, 120, 0.72);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active,
.btn-outline-danger.active,
.show>.btn-outline-danger.dropdown-toggle {
  color: #fff;
  background: linear-gradient(135deg, #ff5a78 0%, #ff6f93 100%);
  border-color: #ff5a78;
}

.btn-outline-warning {
  color: #ffe19a;
  border-color: rgba(255, 179, 0, 0.72);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active,
.btn-outline-warning.active,
.show>.btn-outline-warning.dropdown-toggle {
  color: #241707;
  background: linear-gradient(135deg, #ffd86b 0%, #ffb300 100%);
  border-color: #ffc545;
}

.btn-outline-info {
  color: #c9d6ff;
  border-color: rgba(90, 141, 255, 0.72);
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active,
.btn-outline-info.active,
.show>.btn-outline-info.dropdown-toggle {
  color: #fff;
  background: linear-gradient(135deg, #5a8dff 0%, #7d6cff 100%);
  border-color: #647fff;
}

.btn-outline-light {
  color: #f3ecff;
  border-color: rgba(255, 255, 255, 0.36);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.active,
.show>.btn-outline-light.dropdown-toggle {
  color: #1d132e;
  background: #ffffff;
  border-color: #ffffff;
}

.btn-outline-dark {
  color: rgba(255, 255, 255, 0.84);
  border-color: rgba(41, 24, 64, 0.95);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark.active,
.show>.btn-outline-dark.dropdown-toggle {
  color: #ffffff;
  background: #1b0f2c;
  border-color: #2e1848;
}

.btn-orchid {
  background: #573cba;
  color: white;
  border-color: #573cba;
}

.btn-orchid:hover {
  background: #573cba;
  color: white;
  border-color: #573cba;
}

.btn-light {
  border: 1px solid #efefef;
}

.btn-white {
  background: #fff;
  color: #000;
}

/* Sidebar */
.sidebar {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 220px;
  height: 100%;
  min-height: 600px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.sidebar .user-info {
  padding: 20px;
  color: var(--sidebar-text);
}

.sidebar .sidebar-toggle {
  position: absolute;
  right: 0px;
  top: 0px;
  display: none;

}

.sidebar .logo {
  padding: 20px;
}

.sidebar .logo img {
  max-width: 100%;
}

.sidebar .logo a {
  text-decoration: none;
}

.sidebar .logo .logo-text {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  vertical-align: middle;
}

.sidebar .logo .logo-text img {
  display: inline-block;
  max-width: 30px;
}

.sidebar .menu ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

.sidebar ul li .sidebar-title {
  font-weight: 600;
  padding: 10px 20px;
  color: var(--sidebar-muted);
  opacity: 1;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.06em;
}

.sidebar .menu ul li.divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 0px;
}

.sidebar .menu ul li a {
  position: relative;
  display: block;
  margin: 0 20px 0 20px;
  padding: 11px 10px 10px 10px;
  font-weight: 500;
  border-radius: 16px;
  color: var(--sidebar-text);
  text-decoration: none;
  opacity: 1;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  /*
    background: #fafafa;
    opacity: 1;
    */
}

.sidebar .menu ul li a:hover,
.sidebar .menu ul li.active a {
  background: var(--sidebar-hover-bg);
  border-color: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.sidebar .menu ul li.active a {
  background: var(--sidebar-active-bg);
  opacity: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px rgba(1, 214, 81, 0.28);
}


.sidebar .menu ul li a i {
  width: 25px;
  text-align: center;
  color: inherit;
}


/* Page Wrapper */
.page-wrapper {
  padding-left: 220px;
}

/* Header */


/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
}

.footer b {
  color: var(--mags-primary);
}

.footer .footer-links a {
  color: #000;
  margin: 0px 5px;
  text-decoration: none;
}


/* Page Content */
.page-content {
  padding: 20px 40px;
}

.page-content h1 {
  font-size: 24px;
  color: var(--text);
}

.box-white {
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  border: none;
}

.page-content .toolbar {
  float: right;
}

/* Accounts List */
.accounts-list .account-row {
  cursor: pointer;
}

.intl-tel-input {
  width: 100%;
}

/* Transactions List */
.transactions-list {}


/* Dashboard */
.dashboard {}


/* Helpers */
.balance-text.credit {
  font-size: 24px;
  color: #28a745;
}

.balance-text.debit {
  font-size: 18px;
  color: #dc3545;
}

.mag-hide {
  display: none !important;
}

.page-not-found {}

.page-not-found .icon {
  font-size: 40px;
}


/* Currency Dropdown Accounts */
.currency-accounts-dropdown {}

.currency-accounts-dropdown button.name {
  font-weight: 500;
  vertical-align: middle;
}

.currency-accounts-dropdown button.name span,
.currency-accounts-dropdown button.name i {
  vertical-align: middle;
}

.currency-accounts-dropdown .options {
  width: 250px;
  padding: 0px;
}

.currency-accounts-dropdown .options .select-account {
  padding: 2px 5px;
}

.currency-accounts-dropdown .options .select-account.active {
  background: #efefef;
  color: #000;
}

.currency-accounts-dropdown .options .select-account>span {
  display: block;
}

.currency-accounts-dropdown .options .select-account .account {
  font-weight: 500;
}

.currency-accounts-dropdown .options .select-account .account-name {
  font-size: 10px;
}

.currency-accounts-dropdown .options .select-account .account-balance {
  font-size: 12px;
  color: green;
}

.currency-accounts-dropdown .options .select-account .account .currency-flag {
  float: right;
}



/* Transfers Info */
.internal-transfer-info .from,
.internal-transfer-info .to {
  font-weight: bold;
}

.transactions-list-new .transaction {
  padding: 14px 16px;
  border-left: 4px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(8, 3, 18, 0.24);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.transactions-list-new .transaction:nth-child(odd) {
  background: rgba(255, 255, 255, 0.06);
}

.transactions-list-new .transaction:hover {
  background: rgba(255, 255, 255, 0.14);
  border-left-color: #01d651;
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.transactions-list-new .transaction .date {
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
}

.transactions-list-new .transaction .description {
  font-weight: 600;
  font-size: 1rem;
  color: #f8f5ff;
  margin-bottom: 4px;
}

.transactions-list-new .transaction .amount {
  font-size: 1rem;
  font-weight: 600;
}

.transactions-list-new .transaction .amount.credit {
  color: #28a745;
}

.transactions-list-new .transaction .amount.debit {
  color: #dc3545;
}

.transactions-list-new .transaction .code {
  font-size: 0.75rem;
  color: #efe7ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 6px;
  border-radius: 999px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.transactions-list-new .transaction .code:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.transactions-list-new .transaction .fee {
  font-size: 0.75rem;
  color: #dc3545;
  font-weight: 500;
  margin-top: 2px;
}

.transactions-list-new .transaction .vendor-name {
  font-size: 0.85rem;
  color: #d7c8ff;
  font-weight: 500;
}

.transactions-list-new .transaction .vendor-name:hover {
  color: #ffffff;
  text-decoration: underline;
}

.transaction-type-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 50rem;
  display: inline-block;
  margin-top: 4px;
}






/* Products */

.products {}

.products .product {

  border: 1px solid #efefef;
  margin-bottom: 10px;
}

.products .product .image img {
  max-width: 100%;
  height: auto;
}

.products .product .name {
  font-weight: 600;
}

.products .product .price {
  color: #dd4245;
  font-weight: 600;
  padding: 10px;
}



/* Product Info in Buy Now Modal */
.product-info {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

/* Product Title */
.product-info .product-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

/* Vendor Name */
.product-info .vendor-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
}

/* Price */
.product-info .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 6px;
}

.product-info .price span {
  color: #28a745;
}

/* Description */
.product-info .description {
  font-size: 0.95rem;
  color: #666;
  opacity: 0.9;
  margin-bottom: 8px;
}


/* Tickets */

.go-to-url {
  cursor: pointer;
}

/* Tickets System */
.ticket-message-page {}

.ticket-message-page .ticket-message {
  border-bottom: 1px dashed #ccc;
  padding: 20px 20px;
  background: #ffedeb;
}

.ticket-message-page .ticket-message.its-me {
  background: #fff;
}

.ticket-message-page .ticket-message .time {
  float: right;
}

.ticket-message-page .ticket-message .name {
  font-weight: bold;
}


.ticket-message-page .ticket-message .file {
  padding: 2px 4px;
  border: 1px solid #ccc;
  color: #000;
  text-decoration: none;
  background: #fff;
  border-radius: 5px;
}

.ticket-message-page .ticket-form {
  border: 1px solid #ccc;
  padding: 10px;
}

.ticket-message-page .ticket-form textarea {
  margin-bottom: 10px;
}

/* Custom Simple Select */
.custom-simple-select input {
  display: none;
}

.custom-simple-select .select-file {
  padding: 4px;
  cursor: pointer;
}

/* Exchanges Design */
.currency-exchange-result,
.wire-transfer-result {
  padding: 10px;
  background: #efefef;
  border: 1px solid #efefef;
}



.content-custom-account {
  position: relative;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 193, 7, 0.14), transparent 28%),
    radial-gradient(circle at 84% 88%, rgba(1, 214, 81, 0.12), transparent 32%),
    linear-gradient(160deg, rgba(106, 35, 184, 0.45) 0%, rgba(52, 16, 90, 0.82) 56%, rgba(27, 8, 49, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(8, 3, 18, 0.45);


}

.content-custom-account::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.content-custom-account h5 {
  font-weight: 600;
  color: var(--text);
}

.content-custom-account.medium {

  max-width: 60%;
  margin: 0 auto;
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.balance-container {
  background:
    radial-gradient(circle at 85% 20%, rgba(1, 214, 81, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(8, 3, 18, 0.3);
  backdrop-filter: blur(8px);
  text-align: center;
  margin-top: 20px;
}

.balance-container h3 {
  margin: 0;
  font-size: 24px;
  color: #ffffff;
}

.balance-container p {
  margin: 5px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.balance-container h4 {
  margin: 0;
  font-size: 18px;
  color: #f3ecff;
}

.balance-positive {
  color: #28a745;
}

.heading-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.heading-custom .titles {}

.heading-custom .titles .title-main {
  font-size: 24px;
  color: var(--text);
  font-weight: 600;
}

.page-content h2 {
  font-size: 20px;
  color: var(--text);
}

.page-content h3 {
  font-size: 18px;
  color: var(--text);
}

.page-content h4 {
  font-size: 16px;
  color: var(--text);
}

.heading-custom .toolbar {}




/* Register + Login Pages */
.register-page,
.login-page {
  min-height: 100vh;
  padding: 36px 14px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 216, 107, 0.22), transparent 20%),
    radial-gradient(circle at 82% 16%, rgba(159, 59, 255, 0.24), transparent 24%),
    radial-gradient(circle at 50% 84%, rgba(1, 214, 81, 0.14), transparent 22%),
    linear-gradient(160deg, #1f0838 0%, #17072a 46%, #0d0518 100%);
  position: relative;
  overflow-x: hidden;
}

.register-page::before,
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%);
}

.register-page .logo,
.login-page .logo {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 12px 0 18px;
}

.register-page .logo img,
.login-page .logo img {
  max-width: 210px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.32));
}

.register-page .register-container,
.login-page .login-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(155deg, rgba(39, 15, 69, 0.92), rgba(22, 9, 39, 0.94));
  box-shadow: 0 30px 80px rgba(5, 2, 12, 0.62), 0 14px 34px rgba(159, 59, 255, 0.2);
  backdrop-filter: blur(10px);
}

.register-page .register-container .row,
.login-page .login-container .row {
 
}

.register-page h1,
.login-page h1 {
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f8f2ff;
}

.register-page h2,
.login-page h2 {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.register-page .left-container,
.login-page .left-container {
  min-height: 100%;
  padding: 30px 26px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 216, 107, 0.2), transparent 28%),
    linear-gradient(150deg, rgba(1, 214, 81, 0.22), rgba(87, 60, 186, 0.16));
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.register-page .right-container,
.login-page .right-container {
  padding: 30px 28px;
}

.register-page label,
.login-page label {
  color: #f2e8ff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.register-page .form-control,
.register-page .form-select,
.login-page .form-control,
.login-page .form-select {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  min-height: 46px;
  padding: 10px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.register-page .form-control::placeholder,
.login-page .form-control::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.register-page .form-control:focus,
.register-page .form-select:focus,
.login-page .form-control:focus,
.login-page .form-select:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(1, 214, 81, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(1, 214, 81, 0.2);
}

.register-page .btn,
.login-page .btn {
  border-radius: 999px;
  font-weight: 700;
  min-height: 46px;
  padding-left: 20px;
  padding-right: 20px;
}

.register-page .btn-primary,
.login-page .btn-primary {
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border: 0;
  color: #0c1a12;
  box-shadow: 0 12px 28px rgba(1, 214, 81, 0.28);
}

.register-page .btn-primary:hover,
.login-page .btn-primary:hover {
  background: linear-gradient(135deg, #16e46a 0%, #2fc17b 100%);
  color: #08150e;
  transform: translateY(-1px);
}

.register-page a,
.login-page a {
  color: #92ffd0;
}

.register-page a:hover,
.login-page a:hover {
  color: #c7ffe7;
}

.register-page .alert,
.login-page .alert {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
  .register-page,
  .login-page {
    padding: 22px 10px;
  }

  .register-page .left-container,
  .login-page .left-container {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .register-page .right-container,
  .login-page .right-container,
  .register-page .left-container,
  .login-page .left-container {
    padding: 22px 18px;
  }

  .register-page h1,
  .login-page h1 {
    font-size: 1.65rem;
  }
}



.header-mobile {
  position: relative;
  z-index: 400;
  padding: 12px 12px 6px;
  display: none;
}

.header-mobile .container-fluid {
  position: relative;
  background: linear-gradient(180deg, rgba(132, 63, 181, 0.94) 0%, rgba(107, 46, 161, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 14px 34px rgba(18, 6, 36, 0.4);
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  z-index: 401;
}

.header-mobile .dropdown {
  position: relative;
}

.header-mobile .dropdown-menu {
  z-index: 1200;
}

.header-mobile .logo img {
  max-width: 170px;
}

.header-mobile .logo .logo-text {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  vertical-align: middle;
}

.header-mobile .logo .logo-text img {
  display: inline-block;
  max-width: 30px;
}

.header-mobile .btn-link {
  color: #f2e9ff;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header-mobile .btn-link:hover,
.header-mobile .btn-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}

.header-mobile .buttons {
  gap: 8px;
}

.header-mobile .sidebar-toggle .btn-link {
  font-size: 16px;

}

.header-mobile .user-icon .btn-link {
  overflow: hidden;

}

.header-mobile .user-icon .vendor-avatar {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  margin: 0;
}

.header-mobile .home-icon .btn-link {
  font-size: 16px;

}


.badge {
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Transaction Badge */
.transaction-badge {
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
  /* Rounded pill shape */
  padding: 4px 12px;
  text-transform: uppercase;
  color: #f5efff;
  /* Inherit text color */
  border: 1px solid transparent;
}

/* Pending Badge */
.transaction-badge.bg-pending {
  background: rgba(255, 216, 107, 0.18);
  border-color: rgba(255, 216, 107, 0.48);
  color: #ffe28f;
}

/* Completed Badge */
.transaction-badge.bg-completed {
  background: rgba(1, 214, 81, 0.18);
  border-color: rgba(1, 214, 81, 0.48);
  color: #95ffbf;
}

/* Declined Badge */
.transaction-badge.bg-declined {
  background: rgba(255, 90, 120, 0.16);
  border-color: rgba(255, 90, 120, 0.48);
  color: #ffb0c0;
}

/* Reversed Badge */
.transaction-badge.bg-reversed {
  background: rgba(159, 59, 255, 0.16);
  border-color: rgba(159, 59, 255, 0.42);
  color: #d9b2ff;
}




.inside-modal {
  width: 800px;
}


.fancybox__container {
  --fancybox-bg: rgb(173 173 173 / 62%);
  backdrop-filter: blur(5px);
}



.modal {
  z-index: 1060;
}

.modal-backdrop {
  z-index: 1050;

  background: rgb(173 173 173 / 62%);
  backdrop-filter: blur(5px) !important;
  --bs-backdrop-opacity: none;
}

.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin)* 2);
}

.modal-header {
  border: none;
}

.modal-header .btn-close {
  --bs-btn-close-color: #01d651;
}

.modal-content {
  border-radius: 16px;
  border: 0px;
  box-shadow: 0 8px 32px rgba(87, 60, 186, 0.18), 0 2px 12px rgba(1, 214, 81, 0.10);
}


/* Compact & Modern Product Card */
.product-card {
  background: #18212f;
  /* Dark mode friendly */
  color: #ffffff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

/* Hover Interaction */
.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Product Title - Compact & Bold */
.product-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #f8f9fa;
}

/* Vendor Name */
.product-card .vendor-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  /* Subtle blue */
  margin-bottom: 4px;
}

.product-card .vendor-name a {
  color: #fff;
}


/* Product Price - Standout */
.product-card .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #573cba;
  /* Neon green */
  margin-bottom: 8px;
}

/* Description - Subtle and Compact */
.product-card .description {
  font-size: 0.9rem;
  color: #e5e7eb;
  /* Light gray */
  opacity: 0.85;
  margin-bottom: 10px;
}

/* Buy Now Button - Compact & Stylish */
.product-card .buy-btn {
  background: linear-gradient(135deg, #573cba, #FF8C94);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.product-card .buy-btn:hover {
  background: linear-gradient(135deg, #573cba, #B65C94);
  transform: scale(1.05);
}


/* Base Badge Style */
.transaction-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 0.75rem;
  /* Smaller font */
  font-weight: 600;
  border-radius: 20px;
  color: #ffffff;
  opacity: 0.85;
  /* Transparent effect */
  text-transform: capitalize;
  white-space: nowrap;
  transition: opacity 0.2s ease-in-out, transform 0.1s ease-in-out;
}

/* Hover Effect - Makes badge more visible */
.transaction-type-badge:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Buy Points Badge */
.transaction-type-badge.buy-points {
  background: #e8f5e9;
  /* Washed green */
  color: #2e7d32;
  /* Darker green */
  border: 1px solid #2e7d32;
  /* Green border */
}

/* Purchase Item Badge */
.transaction-type-badge.purchase-item {
  background: #e3f2fd;
  /* Washed blue */
  color: #1565c0;
  /* Darker blue */
  border: 1px solid #1565c0;
  /* Blue border */
}

/* Withdraw Badge */
.transaction-type-badge.withdraw {
  background: #ffebee;
  /* Washed red */
  color: #b71c1c;
  /* Darker red */
  border: 1px solid #b71c1c;
  /* Red border */
}

/* Transfer Badge */
.transaction-type-badge.transfer {
  background: #fff3e0;
  /* Washed orange */
  color: #e65100;
  /* Darker orange */
  border: 1px solid #e65100;
  /* Orange border */
}

/* Checkout Badge */
.transaction-type-badge.checkout {
  background: #f3e8ff;
  /* Washed purple */
  color: #7c3aed;
  /* Darker purple */
  border: 1px solid #7c3aed;
  /* Purple border */
}

/* Unknown Transaction Badge */
.transaction-type-badge.unknown {
  background: #eceff1;
  /* Washed slate blue */
  color: #37474f;
  /* Darker slate blue */
  border: 1px solid #37474f;
  /* Slate blue border */
}

/* FontAwesome Icons */
.transaction-type-badge i {
  font-size: 0.8rem;
  /* Smaller icon */
}

/* General Price Styling */
.general-price {
  font-size: 14 px;
  /* Slightly larger for better visibility */
  font-weight: 500;
  color: var(--mags-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

/* Currency Styling */
.general-price-container .currency {

  color: #080000;
  /* Neutral grey for better contrast */
  opacity: 0.9;
}

/* Discounted Price */
.general-price.discounted {
  color: #dc3545;
  /* Red for discount */
  text-decoration: line-through;
  font-weight: normal;
  opacity: 0.75;
  /* Slightly faded to indicate it's not active */
}

/* Highlighted Sale Price */
.general-price.sale {
  color: #28a745;
  /* Green for sale price */
  font-weight: bold;
}

/* Hover Effect - Slight Scale and Color Change */
.general-price:hover {
  color: #0056b3;
  transform: scale(1.05);
}

/* Price + Currency Container */
.general-price-container {
  display: flex-inline;
  align-items: center;
  gap: 6px;
}

/* Animated Price Change */
@keyframes priceChange {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.general-price.animated {
  animation: priceChange 0.3s ease-in-out;
}


.search-form {
  margin-bottom: 5px;
}


/* Dashboard Container */
.mags-dashboard {}

/* Overview Cards - Smooth Hover Effect */
.mags-dashboard .card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.mags-dashboard .card .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

.mags-dashboard .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(6, 2, 15, 0.35);
}

.nav-link-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  border-radius: 999px;
  color: #f3ecff !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(8, 3, 18, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.nav-link-balance i {
  color: #ffd86b;
}

.nav-link-balance:hover,
.nav-link-balance:focus {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  transform: translateY(-1px);
}


/* Table Mags */
.table-mags {
  color: #000;
}

.table-mags th {
  white-space: nowrap;
}

.select2-container {
  z-index: 99999;
}

/* Select2 Bootstrap 5.3 Styling */
.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px);
  /* Match Bootstrap input height */
  padding: 0.375rem 0.75rem;
  /* Match Bootstrap padding */
  font-size: 1rem;
  /* Match Bootstrap font size */
  line-height: 1.5;
  /* Match Bootstrap line height */
  color: #495057;
  /* Match Bootstrap text color */
  background-color: #fff;
  /* Match Bootstrap background color */
  border: 1px solid #ced4da;
  /* Match Bootstrap border color */
  border-radius: 0.375rem;
  /* Match Bootstrap border radius */
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%);
  /* Match Bootstrap box shadow */
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  /* Remove extra padding */
  color: #495057;
  /* Match Bootstrap text color */
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
  /* Match height */
  right: 0.75rem;
  /* Match Bootstrap padding */
}

.select2-container--default .select2-selection--single:focus {
  border-color: #86b7fe;
  /* Match Bootstrap focus border color */
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  /* Match Bootstrap focus shadow */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0d6efd;
  /* Match Bootstrap primary color */
  color: #fff;
  /* Match Bootstrap text color */
}

.select2-container--default .select2-selection--multiple {
  padding: 0.375rem 0.75rem;
  /* Match Bootstrap padding */
  border: 1px solid #ced4da;
  /* Match Bootstrap border color */
  border-radius: 0.375rem;
  /* Match Bootstrap border radius */
  background-color: #fff;
  /* Match Bootstrap background color */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #0d6efd;
  /* Match Bootstrap primary color */
  border: none;
  /* Remove border */
  color: #fff;
  /* Match Bootstrap text color */
  padding: 0.25rem 0.5rem;
  /* Match Bootstrap badge padding */
  border-radius: 0.375rem;
  /* Match Bootstrap border radius */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  /* Match Bootstrap text color */
  margin-right: 0.25rem;
  /* Match Bootstrap spacing */
}

.select2-results__option--selectable{
  color:#000;
}

.ticket-view {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(1, 214, 81, 0.12), transparent 36%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 16px 34px rgba(8, 3, 18, 0.34);
  backdrop-filter: blur(8px);
}

.ticket-view::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.ticket-view .ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.ticket-view .ticket-info {
  font-size: 0.98rem;
}

.ticket-view .ticket-subject {
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 5px;
  color: #f5efff;
}

.ticket-view .ticket-participant {
  color: rgba(255, 255, 255, 0.68);
}

.ticket-view .ticket-status .badge {
  margin-right: 5px;
  border-radius: 999px;
}

.ticket-view .ticket-messages {
  margin-bottom: 20px;
}

.ticket-view .ticket-message {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 22px rgba(8, 3, 18, 0.24);
}

.ticket-view .ticket-message.user {
  background: linear-gradient(145deg, rgba(159, 59, 255, 0.22), rgba(110, 28, 255, 0.16));
  border-color: rgba(159, 59, 255, 0.36);
  text-align: right;
}

.ticket-view .ticket-message.vendor {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.18);
  text-align: left;
}

.ticket-view .message-content {
  font-size: 14px;
  margin-bottom: 5px;
  padding: 4px;
  color: #f4eeff;
  line-height: 1.55;
}

.ticket-view .message-attachment a {
  color: #a6ffd0;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticket-view .message-attachment a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.ticket-view .message-sender {
  font-weight: 700;
  font-size: 12px;
  color: #ffe9a8;
}

.ticket-view .message-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.ticket-view .ticket-reply textarea {
  resize: none;
  min-height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ticket-view .ticket-reply textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.ticket-view .ticket-reply textarea:focus {
  border-color: rgba(1, 214, 81, 0.68);
  box-shadow: 0 0 0 0.2rem rgba(1, 214, 81, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.ticket-view .ticket-reply button {
  border-radius: 999px;
  font-weight: 700;
  min-height: 42px;
}

.badge-count {
  display: inline-block;
  background-color: #dc3545;
  /* Red background */
  color: #fff;
  /* White text */
  font-size: 0.75rem;
  /* Small font size */
  font-weight: bold;
  padding: 4px 8px;
  /* Padding for size */
  border-radius: 12px;
  /* Rounded shape */
  min-width: 24px;
  /* Minimum width for alignment */
  text-align: center;
  /* Center the text */
  line-height: 1.2;
  /* Adjust line height */
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

.vendor-circle {}


.vendor-card {
  position: relative;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 88% 10%, rgba(1, 214, 81, 0.12), transparent 36%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(8, 3, 18, 0.3);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vendor-card .vendor-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  display: block;
  border-radius: 14px;
  background-position: center;
  ;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vendor-card .vendor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(8, 3, 18, 0.42);
  border-color: rgba(255, 255, 255, 0.22);
}

.vendor-card:hover .vendor-image img {
  transform: scale(1.04);
}

.vendor-card .vendor-name {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f5efff;
  line-height: 1.25;
}

.vendor-card .vendor-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
  line-height: 1.5;
}

.vendor-card .vendor-products {
  font-size: 0.82rem;
  color: #ffd86b;
  margin-bottom: 8px;
  font-weight: 600;
}

.fancybox__content {
  background: linear-gradient(160deg, rgba(44, 14, 78, 0.92) 0%, rgba(27, 8, 49, 0.96) 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(8, 3, 18, 0.42), 0 6px 20px rgba(87, 60, 186, 0.24);
}

/* Disable expensive effects when closing */
.fancybox__container[aria-hidden="true"],
.fancybox__backdrop[aria-hidden="true"],
.fancybox__content[aria-hidden="true"] {
  transition: none !important;
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.fancybox__content>.f-button.is-close-btn {

  color: #01d651;
  /* Light text for contrast */
  background: None;
  border: none;
  /* Subtle border for visibility */
  top: 5px;
  right: 5px;
  font-weight: 600;
}

.code-red {
  color: #573cba;
  cursor: pointer;
}



.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card-list .card-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: calc(33.333% - 20px);
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-list .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-list .card-item .card-details p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.card-list .card-item .card-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.card-list .card-item .card-actions .btn {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
}

.card-list .card-item .card-actions .btn-warning {
  background-color: #ffc107;
  color: #fff;
  border: none;
}

.card-list .card-item .card-actions .btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: none;
}

.card-list .card-item .card-actions .btn:hover {
  opacity: 0.9;
}

.profile-page {}

.profile-page .user-profile-info {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(1, 214, 81, 0.14), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(8, 3, 18, 0.34);
  backdrop-filter: blur(8px);
  padding: 26px 22px;
  margin-bottom: 24px;
  max-width: 680px;
}

.profile-page .user-profile-info::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;

}

.profile-page .user-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.profile-page .user-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(8, 3, 18, 0.28);
}

.profile-page .user-profile-details {
  flex: 1;
  min-width: 0;
}

.profile-page .user-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5efff;
  margin: 0 0 4px 0;
  word-break: break-word;
}

.profile-page .user-profile-code {
  font-size: 1rem;
  color: rgba(255, 216, 107, 0.92);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.profile-page .user-profile-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  word-break: break-word;
}

.profile-page .info-list {
  list-style-type: none;
  margin-top: 20px;
  padding: 0px;
}

.profile-page .info-list li i {
  width: 20px;
  text-align: center;
}


.custom-filters input,
.custom-filters select {
  font-size: 0.85rem;
}

.custom-filters .btn {
  font-size: 0.75rem;
  padding: 4px 10px;
}


.vendor-search-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(1, 214, 81, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(8, 3, 18, 0.3);
  margin-bottom: 20px;
}

.vendor-search-section h1,
.vendor-search-section h2,
.vendor-search-section h3,
.vendor-search-section h4,
.vendor-search-section h5,
.vendor-search-section h6,
.vendor-search-section .title {
  color: #f5efff;
}

.vendor-search-section .form-control,
.vendor-search-section .form-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5efff;
  border-radius: 12px;
}

.vendor-search-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.vendor-search-section .form-control:focus,
.vendor-search-section .form-select:focus {
  border-color: rgba(1, 214, 81, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(1, 214, 81, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.vendor-search-section .btn {
  border-radius: 12px;
  font-weight: 600;
}



.front-theme .page-wrapper {

  padding: 20px;
}

.page-design {
  padding: 20px;
}

.page-design .page-container {
  max-width: 900px;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 80%, #f8e8f7 100%);
  margin: 32px auto 0 auto;
  box-shadow: 0 6px 32px rgba(209, 107, 165, 0.08), 0 1.5px 8px rgba(80, 80, 80, 0.04);


}

.page-design .page-container .page-heading {
  text-align: center;
}

.page-design .page-container .page-heading h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.page-design .page-container .page-content {}


.card-container-table-mobile {}

.card-container-table-mobile .card:nth-child(odd) {
  background-color: #f9f9f9;
  /* Light gray for odd cards */
}

.card-container-table-mobile .card:nth-child(even) {
  background-color: #ffffff;
  /* White for even cards */
}





.two-factor-page {
  background: #FF0099;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #493240, #FF0099);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #493240, #FF0099);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 60px 0px;
  height: 100%;
}

.two-factor-page .logo {
  padding: 20px 0px;
}

.two-factor-page .logo img {
  max-width: 200px;
}

.two-factor-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.two-factor-container h1 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #000;
}

.two-factor-container p {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
}


.form-label {
  font-weight: 600;
  color: #fff;
}

.compliance-page {
  padding: 40px 20px;
  background: #f8f9fa;
}


.compliance-page .compliance-step-1 {
  border-left: 4px solid #5a9bd5 !important;
  background-color: #f0f7fc !important;
  /* Soft blue background */
}

.compliance-page .compliance-step-2 {
  border-left: 4px solid #85c88a !important;
  background-color: #f3faf4 !important;
  /* Soft green background */
}

.compliance-page .compliance-step-3 {
  border-left: 4px solid #e6c76c !important;
  background-color: #fdf9f0 !important;
  /* Soft yellow background */
}

.compliance-page .compliance-step-4 {
  border-left: 4px solid #e28b8b !important;
  background-color: #fcf2f2 !important;
  /* Soft red background */
}

.vendor-handler {

  font-weight: bold;
  color: var(--mags-primary);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}


.vendor-handler:hover {
  text-decoration: underline;
  color: #ff0099;
}


.checkout-page {
  max-width: 800px;
  background: linear-gradient(135deg, #fff 80%, #f8e8f7 100%);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(209, 107, 165, 0.10), 0 2px 12px rgba(80, 80, 80, 0.06);
  margin: 48px auto 0 auto;

  transition: box-shadow 0.2s, transform 0.2s;
}

.checkout-page .alert-warning {
  background: linear-gradient(90deg, #fffbe6 60%, #fff3cd 100%);
  border: 1px solid #ffe58f;
  color: #856404;
  border-radius: 6px;
  font-size: 0.95rem;
  padding: 8px 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(255, 243, 205, 0.10);

}

.checkout-page .checkout-logo {
  height: 50px;
}

.checkout-page .total-amount {
  font-size: 1.2rem;
  color: #333;
}

.checkout-page .card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.checkout-page .card-text {
  font-size: 1rem;
  color: #555;
}

.checkout-page .btn i {
  margin-right: 8px;
}


.alert-sm {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 4px;
}

.alert-xs {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 4px;
}


.rewards-balance-container {

  padding: 20px;
  border-radius: 5px;

  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rewards-balance-container h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.rewards-balance-container p {
  margin: 5px 0 0;
  font-size: 18px;
  color: #666;
}

.rewards-balance-container h4 {
  margin: 0;
  font-size: 18px;
  color: #007bff;
}

.rewards-positive {
  color: #28a745;
}


/*Transaction Card */
.transaction-cards {
  display: grid;
  gap: 12px;
}

.vendor-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  text-decoration: none;
}

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

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}



.transaction-filters {
  border: 1px solid #e9ecef;
  border-left: 4px solid #0d6efd;
  border-radius: 12px;
}


/* Magic Filters */
.magic-filters {
  border: 1px solid #e9ecef;
  border-left: 4px solid #0d6efd;
}

.magic-filters .quick-filters {
  padding-top: 10px;
}

.magic-filters .quick-filters .btn {
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 2px 12px;
  margin-bottom: 4px;
}

.magic-filters .quick-filters .title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}



.rewards-section .btn-pink {
  background-color: #573cba;
  color: #fff;
  border: none;
}

.rewards-section .btn-pink:hover {
  background-color: #b55391;
}

.rewards-section .card {
  background-color: #ffffff;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.rewards-section .card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.rewards-section .alert {
  border-radius: 10px;
}

.prizes-section {}

.prizes-section .prize-image {
  width: 150px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.prizes-section .prize-image .placeholder {
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #adb5bd;
}

.reward-inside {
  .reward-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;

    .reward-header {
      display: flex;
      align-items: center;
      margin-bottom: 16px;

      .reward-image {
        width: 64px;
        height: 64px;
        background-size: cover;
        background-position: center;
        border-radius: 50%;
        margin-right: 16px;
      }

      .reward-title {
        font-size: 18px;
        font-weight: bold;
        margin: 0;
      }

      .description {
        font-size: 14px;
        color: #666;
        margin: 4px 0 0;
      }
    }

    .points-required,
    .stock {
      font-size: 14px;
      margin: 8px 0;

      span {
        font-weight: bold;
        color: #333;
      }
    }
  }
}

.cursor-pointer {
  cursor: pointer;
}

.transaction-option input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ced4da;
  border-radius: 4px;
  background-color: #ffffff;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  cursor: pointer;
  display: inline-block;
  position: relative;

}

/* July Updates */


.bg-none {
  background: none !important;
  box-shadow: none;
}


.bg-light {
  color: #000;
}



.footer-mobile {

  position: fixed;
  bottom: 10px;
  left: 0px;
  width: 100%;
  background: transparent;
  z-index: 220;
  padding: 0 14px;
  display: none;

}

.footer-mobile .mobile-nav-links {
  max-width: 390px;
  margin: 0 auto;
  background: rgba(59, 46, 77, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(10, 4, 21, 0.4);
  backdrop-filter: blur(10px);
}

.footer-mobile .mobile-nav-links a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  transition: all 0.2s ease-in-out;
  justify-content: center;
  border-radius: 20px;
  padding: 8px 4px;
  min-height: 64px;
}

.footer-mobile .mobile-nav-links a:hover,
.footer-mobile .mobile-nav-links a.is-active {
  color: #17120e;
  background: linear-gradient(180deg, #ffd764 0%, #f7b625 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 14px rgba(245, 185, 52, 0.34);
}

.footer-mobile .mobile-nav-links i {
  color: currentColor;
  font-size: 1rem;
  transition: transform 0.2s ease-in-out;
  font-weight: 500;
}

.footer-mobile .mobile-nav-links a:hover i,
.footer-mobile .mobile-nav-links a.is-active i {
  transform: translateY(-1px);
}

.footer-mobile .mobile-nav-links .nav-label {
  margin: 0;
  font-size: 0.72rem;
  color: currentColor;
  font-weight: 600;
  line-height: 1;
}

.footer-mobile .mobile-nav-links a.is-active .nav-label {
  color: #17120e;
}

@media (max-width: 991.98px) {
  .body-account {
    padding-bottom: 110px;
  }

  .sidebar,
  .sidebar.open {
    z-index: 520;
  }

  .footer-mobile {
    z-index: 220;
  }
}



/* New Transactions Design */
.transaction-card {
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(8, 3, 18, 0.32);
  backdrop-filter: blur(10px);
  padding: 2px;
}

.transaction-card:hover {
  box-shadow: 0 16px 34px rgba(8, 3, 18, 0.4);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  transition: box-shadow 0.2s, transform 0.2s;
}

.transaction-card .transaction-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.transaction-card .transaction-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.transaction-card .transaction-avatar .vendor-avatar {
  width: 100%;
  height: 100%;
}

.transaction-card .transaction-details {
  min-width: 0;
  flex-grow: 1;
}

.transaction-card .transaction-details .vendor-name a {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

.transaction-card .transaction-details .description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.transaction-card .transaction-meta {
  min-width: 150px;
  text-align: right;
}

.transaction-card .transaction-meta .amount.credit {
  color: #01d651;
  /* Bootstrap success green */
}

.transaction-card .transaction-meta .amount.debit {
  color: #dc3545;
  /* Bootstrap danger red */
}

.transaction-card .transaction-badge {
  font-size: 0.75rem;
  padding: 0.35em 0.6em;
}

.transaction-card .transaction-sub-data {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;

}

.transaction-card .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;

  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 8px;
}

.transaction-card .code {
  font-weight: 600;
  color: #f3ebff;
  cursor: pointer;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.transaction-card .transaction-type-badge {
  font-size: 12px;
  border: none;
  padding: 4px 8px;
  margin: 0px;
}

.transaction-card .transaction-code,
.transaction-card .code-red {
  color: #f3ebff;
}





/* Add Funds Modal */
.modal-size-500 {
  max-width: 540px;
}

.add-funds-modal {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(1, 214, 81, 0.22), transparent 38%),
    radial-gradient(circle at 10% 0%, rgba(255, 216, 107, 0.18), transparent 32%),
    linear-gradient(150deg, rgba(89, 42, 167, 0.96) 0%, rgba(51, 23, 98, 0.96) 48%, rgba(22, 12, 44, 0.98) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(10, 4, 22, 0.55), 0 10px 24px rgba(1, 214, 81, 0.14);
}

.add-funds-modal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.add-funds-modal .modal-header,
.add-funds-modal .modal-body,
.add-funds-modal .modal-footer {
  position: relative;
  z-index: 1;
}

.add-funds-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 18px;
}

.add-funds-modal .modal-body {
  padding: 20px 18px;
}

.add-funds-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px 18px;
}

.add-funds-modal a {
  color: #d9ffe8;
  text-decoration: none;
}

.add-funds-modal a:hover {
  color: #ffffff;
}

.add-funds-modal .form-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.add-funds-modal h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0;
}

.add-funds-modal .btn-close,
.add-funds-modal .close {
  border-radius: 999px;
  width: 34px;
  height: 34px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 1;
}

.add-funds-modal .btn-close:hover,
.add-funds-modal .close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.add-funds-modal .form-control,
.add-funds-modal .form-select,
.add-funds-modal .input-group-text {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-height: 46px;
}

.add-funds-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.add-funds-modal .form-control:focus,
.add-funds-modal .form-select:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(1, 214, 81, 0.76);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(1, 214, 81, 0.2);
}

.add-funds-modal .form-select option {
  color: #1b1230;
}

.add-funds-form {
  display: grid;
  gap: 14px;
}

.add-funds-form .custom-points-input {
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 16px 12px;
  margin-bottom: 0;
}

.add-funds-form .custom-points-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
  opacity: 1;
}

.add-funds-form .custom-points-input:focus {
  border-color: rgba(255, 216, 107, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(255, 216, 107, 0.2);
}

.add-funds-modal .btn {
  border-radius: 999px;
  min-height: 44px;
  font-weight: 700;
}

.add-funds-modal .btn-primary {
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border: 0;
  color: #0f1c13;
  box-shadow: 0 10px 22px rgba(1, 214, 81, 0.28);
}

.add-funds-modal .btn-primary:hover {
  background: linear-gradient(135deg, #19e86f 0%, #2fc17b 100%);
  color: #0b160f;
}

.add-funds-modal .btn-light,
.add-funds-modal .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.add-funds-modal .btn-light:hover,
.add-funds-modal .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}


.custom-points-input {
  width: 100%;
  color: #000;
  font-size: 3rem;
  font-weight: bold;
  background: none;
  border: none;
  text-align: center;
  display: block;

  padding: 15px 0px;
  margin-bottom: 10px;
}

.custom-points-input::placeholder {
  color: #ccc;
  opacity: 1;
}

.custom-points-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
  color: inherit;
}

.bg-info {
  background-color: #7160b2 !important;
  color: #fff !important;
}

.btn-info {
  background-color: #7160b2 !important;
  border-color: #7160b2 !important;
  color: #fff !important;

}

.dashboard-welcome {
  display: flex;
  align-items: flex-start;
  /* Align top of avatar and text */
  gap: 1rem;


  border-radius: 12px;

  text-align: left;
  padding-bottom: 15px;
}

.dashboard-welcome .vendor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #dee2e6;
  margin: 0px;
}

.dashboard-welcome .vendor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-welcome .welcome-text h2 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
}

.dashboard-welcome .welcome-text .welcome-kicker {
  color: #ffe389;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.dashboard-welcome .welcome-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-layout {
  display: grid;
  gap: 14px;
}

.dashboard-layout .dashboard-top {
  display: grid;
  gap: 12px;
}

.dashboard-layout .kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-layout .kpi-grid .kpi-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(8, 3, 18, 0.25);
  backdrop-filter: blur(8px);
}

.dashboard-layout .kpi-grid .kpi-card .kpi-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-layout .kpi-grid .kpi-card .kpi-value {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 700;
}

.dashboard-layout .kpi-grid .kpi-card .kpi-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.dashboard-layout .dashboard-section .dashboard-section-head .btn {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.3);
  color: #f3ecff;
}

.dashboard-layout .dashboard-section .dashboard-section-head .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.dashboard-layout .dashboard-section {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(8, 3, 18, 0.26);
}

.dashboard-layout .dashboard-section .dashboard-section-head {
  padding: 2px 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-layout .dashboard-section .dashboard-section-head p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 2px;
}

.dashboard-layout .dashboard-section .dashboard-section-head .badge {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #f5efff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.dashboard-layout .dashboard-section .transaction-empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-layout .dashboard-section .transaction-empty-state i {
  font-size: 1.8rem;
  color: #ffd86b;
}

.dashboard-layout .dashboard-section .transaction-empty-state p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1199.98px) {
  .dashboard-layout .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dashboard-layout .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Style the dropdown wrapper */
.dropdown {
  position: relative;
}

/* Modern dropdown menu */
.dropdown .dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  font-size: 0.95rem;
}

/* Dropdown items */
.dropdown .dropdown-item {
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 6px;
  color: #000;
}

/* Hover effect */
.dropdown .dropdown-item:hover {
  background-color: #f1f3f5;
  color: #212529;
}

/* Optional: divider */
.dropdown .dropdown-divider {
  margin: 0.25rem 0;
  border-color: #dee2e6;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zap-box-dashboard {
  background:
    radial-gradient(circle at 82% 90%, rgba(1, 214, 81, 0.42), transparent 38%),
    linear-gradient(135deg, rgba(124, 53, 210, 0.92) 0%, rgba(81, 52, 188, 0.88) 48%, rgba(39, 165, 128, 0.9) 100%);
  color: #fff;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(56, 13, 114, 0.35), 0 6px 18px rgba(1, 214, 81, 0.16);
  padding: 20px;
}

.zap-box-dashboard .zap-btn {
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #211a2a;
  background: rgba(255, 255, 255, 0.88);
}

.zap-box-dashboard .zap-btn:hover {
  background: #ffffff;
  color: #111;
}


.last-vendors a {
  text-decoration: none;
}

.request-card {
  position: relative;
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 216, 107, 0.1), transparent 36%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(8, 3, 18, 0.28);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.request-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 34px rgba(8, 3, 18, 0.36);
}

.request-card .transaction-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.request-card .vendor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(8, 3, 18, 0.28);
}

.request-card .amount {
  font-size: 1.12rem;
  font-weight: 700;
  color: #92ffbf;
  line-height: 1.1;

}

.request-card .amount.debit {
  color: #ff97ac;
}


.request-card .vendor-name a {
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  color: #f4eeff;
}

.request-card .vendor-name a:hover {
  color: #ffffff;
}

.request-card .date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
}

.request-card .description {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.request-box-dashboard {
  background:linear-gradient(180deg, rgba(255, 227, 127, 0.92), rgba(255, 215, 76, 0.86));
  color: #f8f1de;
  border: 1px solid rgba(255, 216, 107, 0.45);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(255, 186, 67, 0.2), 0 8px 22px rgba(8, 3, 18, 0.24);
  overflow: hidden;
}

.content-custom-account .card-none h5 {
  color: #f3ecff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .content-custom-account {
    border-radius: 22px;
    padding: 18px;
  }

  .content-custom-account .card-none h5 {
    font-size: 1.9rem;
  }
}

/* ===== Pay Page ===== */
.pay-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 216, 107, 0.2), transparent 21%),
    radial-gradient(circle at 82% 8%, rgba(159, 59, 255, 0.22), transparent 24%),
    radial-gradient(circle at 56% 90%, rgba(1, 214, 81, 0.12), transparent 26%),
    linear-gradient(165deg, #1b0732 0%, #140624 48%, #0b0315 100%);
}

.pay-page .hero {
  padding: 34px 16px 110px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.pay-page .hero .pay-logo-inline {
  max-height: 34px;
  width: auto;
  opacity: 0.95;
  margin-top: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.34));
}

.pay-page .hero .avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  box-shadow: 0 14px 34px rgba(8, 3, 18, 0.34);
}

.pay-page .hero .avatar-ring .avatar,
.pay-page .hero .avatar-ring img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.pay-page .hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}

.pay-page .hero .vendor-name {
  color: #f8f2ff;
  font-size: 1.84rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.pay-page .hero .vendor-handle {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  margin: 0;
}

.pay-page .hero .vendor-type {
  display: inline-block;
  background: rgba(1, 214, 81, 0.16);
  color: #9afac2;
  border: 1px solid rgba(1, 214, 81, 0.38);
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  margin: 0;
}

.pay-page .hero .vendor-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
  margin: 8px 0 0;
  line-height: 1.5;
  text-align: left;
}

/* Floating card */
.pay-page .card-outer {
  margin-top: -80px;
  padding: 0 16px 64px;
}

.pay-page .card {
  position: relative;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 216, 107, 0.14), transparent 36%),
    linear-gradient(160deg, rgba(95, 39, 170, 0.42), rgba(33, 12, 59, 0.95));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(8, 3, 18, 0.56), 0 12px 30px rgba(87, 60, 186, 0.24);
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.pay-page .card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.pay-page .card .card-head {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 26px 16px;
  color: #f5efff;
}

.pay-page .card .card-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.2px;
}

.pay-page .card .card-head p {
  font-size: 0.8rem;
  opacity: 1;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.pay-page .card .card-body {
  padding: 26px 26px 22px;
}

/* Amount presets */
.pay-page .presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pay-page .preset {
  flex: 1;
  min-width: calc(33.33% - 8px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 9px 4px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f3ecff;
  cursor: pointer;
  transition: all 0.17s ease;
  user-select: none;
}

.pay-page .preset:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.pay-page .preset.active {
  background: linear-gradient(135deg, rgba(1, 214, 81, 0.26), rgba(16, 177, 104, 0.2));
  border-color: rgba(1, 214, 81, 0.6);
  color: #c6ffe0;
  box-shadow: 0 10px 22px rgba(1, 214, 81, 0.16);
}

/* Field group */
.pay-page .field {
  margin-bottom: 16px;
}

.pay-page .field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.pay-page .field .form-control,
.pay-page .field .form-select {
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 15px;
  font-size: 0.97rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: border-color 0.17s, box-shadow 0.17s;
}

.pay-page .field .form-control::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.pay-page .field .form-control:focus,
.pay-page .field .form-select:focus {
  border-color: rgba(1, 214, 81, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(1, 214, 81, 0.18);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.pay-page .field .form-select option {
  color: #1a1230;
}

.pay-page .field .amount-prefix {
  position: relative;
}

.pay-page .field .amount-prefix::before {
  content: '$';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.58);
  pointer-events: none;
  z-index: 2;
}

.pay-page .field .amount-prefix .form-control {
  padding-left: 28px;
}

/* Logged-in banner */
.pay-page .user-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(1, 214, 81, 0.2), rgba(1, 214, 81, 0.1));
  border: 1px solid rgba(1, 214, 81, 0.42);
  border-radius: 11px;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #b7ffd8;
  font-weight: 600;
}

.pay-page .user-banner i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Summary */
.pay-page .summary {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.pay-page .summary .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.74);
}

.pay-page .summary .row .lbl {
  font-weight: 500;
}

.pay-page .summary .row .val {
  font-weight: 700;
  color: #f4eeff;
}

.pay-page .summary .sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 8px 0;
}

.pay-page .summary .row.total {
  font-size: 1.02rem;
  color: #ffe9a8;
}

.pay-page .summary .row.total .val {
  font-size: 1.15rem;
  color: #ffe9a8;
}

/* Submit */
.pay-page .submit {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border: none;
  color: #0a1911;
  transition: all 0.2s ease;
  box-shadow: 0 10px 26px rgba(1, 214, 81, 0.3);
  cursor: pointer;
}

.pay-page .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(1, 214, 81, 0.38);
  background: linear-gradient(135deg, #17e66f 0%, #33c580 100%);
  color: #07130c;
}

.pay-page .submit:active {
  transform: translateY(0);
}

.pay-page .submit i {
  margin-right: 6px;
}

/* Trust strip */
.pay-page .trust {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pay-page .trust .item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.pay-page .trust .item i {
  color: #9efcc6;
  font-size: 0.9rem;
}

/* Not-found */
.pay-page .notfound {
  text-align: center;
  padding: 80px 20px;
}

.pay-page .notfound i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 16px;
}

.pay-page .notfound p {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
  .pay-page .card .card-body {
    padding: 20px 18px;
  }

  .pay-page .hero {
    padding: 36px 16px 100px;
    gap: 14px;
  }

  .pay-page .hero .avatar-ring {
    width: 80px;
    height: 80px;
  }

  .pay-page .preset {
    min-width: calc(33.33% - 8px);
  }

  .pay-page .hero .vendor-name {
    font-size: 1.4rem;
  }
}

/* Order confirmation (order/o/{code}) */
.public-order-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 216, 107, 0.18), transparent 22%),
    radial-gradient(circle at 82% 7%, rgba(159, 59, 255, 0.2), transparent 24%),
    linear-gradient(165deg, #19072f 0%, #120521 48%, #0a0313 100%);
}

.public-order-page .card-outer {
  margin-top: 12px;
  padding: 0 16px 64px;
}

.public-order-page .card {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 216, 107, 0.12), transparent 36%),
    linear-gradient(160deg, rgba(90, 38, 164, 0.4), rgba(30, 11, 55, 0.95));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 66px rgba(8, 3, 18, 0.56), 0 10px 28px rgba(87, 60, 186, 0.24);
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.public-order-page .card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.public-order-page .card .card-head {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 26px 16px;
  color: #f4eeff;
}

.public-order-page .card .card-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.2px;
}

.public-order-page .card .card-head p {
  font-size: 0.8rem;
  opacity: 1;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.public-order-page .card .card-body {
  padding: 26px 26px 22px;
}

.public-order-page .trust {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.public-order-page .trust .item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.public-order-page .trust .item i {
  color: #9efcc6;
  font-size: 0.9rem;
}

.public-order-page .hero {
  padding: 34px 16px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.public-order-page .hero .vendor-name {
  color: #f8f2ff;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.public-order-page .notfound {
  text-align: center;
  padding: 48px 20px;
}

.public-order-page .notfound i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.28);
  display: block;
  margin-bottom: 16px;
}

.public-order-page .notfound p {
  color: rgba(255, 255, 255, 0.7);
}

.public-order-page .order-page-top {
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.public-order-page .order-page-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.public-order-page .order-page-logo {
  max-height: 34px;
  width: auto;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.public-order-page .order-page-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.public-order-page .order-page-link-home {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.public-order-page .order-page-link-home:hover {
  color: #ffffff;
}

.public-order-page .order-page-btn-login,
.public-order-page .order-page-btn-account {

  align-items: center;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.public-order-page .order-page-btn-login {
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  color: #0a1911;
  box-shadow: 0 10px 24px rgba(1, 214, 81, 0.28);
}

.public-order-page .order-page-btn-login:hover {
  color: #06120b;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(1, 214, 81, 0.34);
}

.public-order-page .order-page-btn-account {
  background: rgba(255, 255, 255, 0.12);
  color: #f7f1ff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.public-order-page .order-page-btn-account:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.public-order-page .order-alert {
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.public-order-page .order-alert--success {
  background: linear-gradient(135deg, rgba(1, 214, 81, 0.18), rgba(1, 214, 81, 0.1));
  border: 1px solid rgba(1, 214, 81, 0.42);
  color: #b7ffd8;
}

.public-order-page .order-alert--info {
  background: linear-gradient(135deg, rgba(125, 108, 255, 0.18), rgba(90, 141, 255, 0.12));
  border: 1px solid rgba(125, 108, 255, 0.42);
  color: #d8d0ff;
}

.public-order-page .order-alert--warning {
  background: linear-gradient(135deg, rgba(255, 216, 107, 0.2), rgba(255, 179, 0, 0.12));
  border: 1px solid rgba(255, 216, 107, 0.42);
  color: #ffe8ae;
}

.public-order-page .order-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.public-order-page .order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.public-order-page .order-detail-row:last-child {
  border-bottom: none;
}

.public-order-page .order-detail-row .od-lbl {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  max-width: 46%;
}

.public-order-page .order-detail-row .od-val {
  color: #f4eeff;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.public-order-page .order-extra-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.public-order-page .order-extra-block .od-extra-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}

.public-order-page .order-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 20px auto 0;
  max-width: 500px;
  padding: 0 16px;
  text-align: center;
  line-height: 1.5;
}

.public-order-page .order-hint a {
  color: #9efcc6;
  font-weight: 600;
  text-decoration: none;
}

.public-order-page .order-hint a:hover {
  text-decoration: underline;
}

.public-order-page .order-page-submit {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #01d651 0%, #10b168 100%);
  border: none;
  color: #0a1911;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(1, 214, 81, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.public-order-page .order-page-submit:hover {
  color: #06120b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(1, 214, 81, 0.36);
}

@media (max-width: 480px) {
  .public-order-page .card .card-body {
    padding: 20px 18px;
  }

  .public-order-page .hero .vendor-name {
    font-size: 1.4rem;
  }
}


.public-order-page .badge.bg-pending {
  background: rgba(255, 216, 107, 0.18);
  border: 1px solid rgba(255, 216, 107, 0.5);
  color: #ffe4a1;
}

.public-order-page .badge.bg-completed {
  background: rgba(1, 214, 81, 0.18);
  border: 1px solid rgba(1, 214, 81, 0.5);
  color: #abffd1;
}


/* =============================================
   ADD FUNDS NEW — afn modal styles
   ============================================= */

.afn-modal .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.afn-modal .modal-body {
  padding: 0;
}

/* Inner card wrapper */
.afn-card {
  background: #fff;
  padding: 28px 28px 24px;
  position: relative;
}

/* Top bar: close + step */
.afn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.afn-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #01d651;
  background: transparent;
  color: #01d651;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.afn-close:hover {
  background: #01d651;
  color: #fff;
}

.afn-step {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.3px;
}

/* Title */
.afn-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

/* Normalize titles inside dark account containers */
.content-custom-account h1,
.content-custom-account h2,
.content-custom-account h3,
.content-custom-account h4,
.content-custom-account h5,
.content-custom-account h6,
.content-custom-account .title,
.content-custom-account .card-title,
.content-custom-account .product-title,
.content-custom-account .title-main {
  color: var(--text);
}

.afn-subtitle {
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0 0 18px;
}

/* Balance pill */
.afn-balance-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #edfdf5;
  border: 1px solid #bbf7d0;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50rem;
  margin-bottom: 22px;
  text-align: center;
}

.afn-balance-pill i {
  font-size: 0.9rem;
  color: #01d651;
}

/* Vendor select row */
.afn-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6b7280;
  margin-bottom: 6px;
}

.afn-vendor-row {
  margin-bottom: 14px;
}

/* Recent vendor chips */
.afn-recent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.afn-recent-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  width: 100%;
  margin-bottom: 2px;
}

.afn-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 50rem;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.afn-chip:hover,
.afn-chip.active {
  background: #ecfdf5;
  border-color: #01d651;
  color: #059669;
}

/* Amount row: label + input + currency badge */
.afn-amount-row {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 6px;
  transition: border-color 0.2s;
}

.afn-amount-row:focus-within {
  border-color: #01d651;
}

.afn-amount-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.afn-amount-input {
  flex: 1;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  min-width: 0;
  width: 100%;
}

.afn-amount-input::placeholder {
  color: #d1d5db;
}

.afn-currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50rem;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  flex-shrink: 0;
}

.afn-currency-badge .flag {
  font-size: 1rem;
  line-height: 1;
}

/* Rate divider */
.afn-rate-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.afn-rate-divider .line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.afn-rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50rem;
  white-space: nowrap;
}

.afn-rate-pill i {
  font-size: 0.75rem;
}

/* Vendor receives row — computed, readonly look */
.afn-amount-row.afn-receives {
  background: #f3f4f6;
  border-color: #e5e7eb;
  opacity: 0.85;
}

.afn-amount-row.afn-receives .afn-amount-input {
  color: #6b7280;
}

/* Preset quick amounts */
.afn-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.afn-preset-btn {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 50rem;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.afn-preset-btn:hover,
.afn-preset-btn.active {
  background: #ecfdf5;
  border-color: #01d651;
  color: #059669;
}

/* Payment method select */
.afn-method-row {
  margin: 14px 0;
}

/* Fee breakdown */
.afn-fee-box {
  background: #fef9f0;
  border: 1px solid #fde8c0;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 16px 0;
}

.afn-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.84rem;
}

.afn-fee-row+.afn-fee-row {
  border-top: 1px dashed #fde8c0;
  margin-top: 4px;
  padding-top: 8px;
}

.afn-fee-row .lbl {
  color: #92400e;
  font-weight: 500;
}

.afn-fee-row .val {
  font-weight: 600;
  color: #1f2937;
}

.afn-fee-row .val.instant {
  color: #059669;
}

.afn-fee-row.total-row .lbl,
.afn-fee-row.total-row .val {
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
}

/* Terms */
.afn-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 18px;
  font-size: 0.8rem;
  color: #6b7280;
}

.afn-terms input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #01d651;
}

.afn-terms a {
  color: #01d651;
  text-decoration: none;
  font-weight: 500;
}

/* Submit button */
.afn-submit {
  width: 100%;
  background: #01d651;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  border: none;
  border-radius: 50rem;
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(1, 214, 81, 0.28);
}

.afn-submit:hover {
  background: #00ba46;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(1, 214, 81, 0.34);
}

.afn-submit:active {
  transform: translateY(0);
}

/* Add cards link */
.afn-add-card-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 8px;
  text-decoration: none;
}

.afn-add-card-link:hover {
  color: #01d651;
}

/* Select2 inside afn modal */
.afn-modal .select2-container--default .select2-selection--single {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  height: 44px;
  display: flex;
  align-items: center;
  background: #f9fafb;
}

.afn-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  padding-left: 14px;
  color: #374151;
  font-size: 0.9rem;
}

.afn-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 10px;
}

.afn-modal .form-select {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background-color: #f9fafb;
  color: #374151;
  font-size: 0.9rem;
  padding: 11px 14px;
  appearance: auto;
}

.afn-modal .form-select:focus {
  border-color: #01d651;
  box-shadow: 0 0 0 3px rgba(1, 214, 81, 0.12);
}

/* Responsive tweak */
@media (max-width: 576px) {
  .afn-card {
    padding: 20px 18px 20px;
  }

  .afn-amount-input {
    font-size: 1.5rem;
  }
}

.checkout-footer a{
  color: #1f5b89;
  text-decoration: none;
  font-weight: 600;
}