:root {
  /* Primary Brand Colors */
  --color-primary: #5f259e;
  --color-secondary: #e2b13b;
  --color-highlight: #ffc107;

  /* Text Colors */
  --color-text-dark: #333;
  --color-text-light: #fff;
  --color-text-muted: #555;

  /* Backgrounds */
  --bg-light: #f9f9f9;
  --bg-white: #fff;
  --bg-grey: #f5f5f5;
  --bg-section: #eafaf1;

  /* Alerts */
  --color-success: #028a19;
  --color-error: #ff0000;
  --color-pending: #e74c3c;


  --tab-active-bg: #5f259e;
  --tab-bg: #CBB4CF;
  --bg-light-color: #CBB4CF;


  /* Gradients */
  --gradient-site: linear-gradient(100deg, rgba(95, 37, 158, 1) 100%, rgba(140, 62, 226, 1) 100%);
}

.text-white-bg-clr {

  color: var(--color-primary);
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-20 {
  margin-bottom: 20px;

}

.save-gold-img-sec {
  text-align: center;
  width: 100%;
  float: left;
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
}

.save-gold-img-sec img {
  width: 250px;

}


.btn-gold-amount-sec {
  margin: 10px 0px 0px 0px;
  padding-left: 0px;

}

.btn-gold-amount-sec .btn {
  width: 80px;
}

.btn-gold-amount-sec .btn:hover,
.btn-gold-amount-sec .btn:active,
.btn-gold-amount-sec .btn:focus {


  color:var(--color-primary);
}

.padding-zero {
  padding: 0px !important;
}




.bg-site {
  background: var(--gradient-site);
  ;
}

.silver-section {
  display: none;
}

.metal-toggle {
  position: relative;
  width: 200px;
  margin: 20px 0px;
  cursor: pointer;
}

.metal-toggle input[type="radio"] {
  display: none;
}

.metal-toggle-switch {
  display: flex;
  position: relative;
  background-color: #444;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  height: 40px;
  font-family: sans-serif;
}

.metal-toggle-option {
  flex: 1;
  text-align: center;
  line-height: 40px;
  color: white;
  z-index: 2;
  transition: color 0.3s ease;
  cursor: pointer;

}

.metal-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #ffc107;
  border-radius: 30px;
  transition: left 0.3s ease;
  z-index: 1;
}

/* Move slider when Silver is selected */
#metal-silver:checked~.metal-toggle-switch .metal-toggle-slider {
  left: 50%;
}

/* Change text color when active */
#metal-gold:checked~.metal-toggle-switch .metal-toggle-gold {
  color: black;
}

#metal-silver:checked~.metal-toggle-switch .metal-toggle-silver {
  color: black;
}

.btn-save-section {
  text-align: center;
  margin-top: 20px;
}

.btn-save-section .btn {
  background: #ffc107;
  /* gold gradient */
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}




.coupon-suc-msg {

  color: #028a19;
  display: none;
}

.coupon-err-msg {


  color: #ff0000;
  display: none;


}

.table-view-order-details {
  width: 100%;

  margin: 30px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table-view-order-details td {
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.table-view-order-details tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.table-view-order-details td:first-child {
  font-weight: 600;
  background-color: #f5f5f5;
  width: 40%;
}

.table-view-order-details tr:last-child td:last-child {
  font-weight: bold;
  color: #e74c3c;
  /* Red for pending */
}


.table-view-order-items {
  width: 100%;
  border-collapse: collapse;
  margin: 30px auto;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table-view-order-items thead {
  background-color: var(--color-primary);
  ;
  color: white;
  text-align: left;
}

.table-view-order-items th,
.table-view-order-items td {
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}



.table-view-order-summary {
  width: 100%;
  max-width: 500px;
  margin: 30px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table-view-order-summary td {
  padding: 15px 20px;
  font-size: 16px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.table-view-order-summary td:first-child {
  font-weight: 600;
  color: #333;
  background-color: #f7f7f7;
}

.table-view-order-summary tr:last-child td {
  font-weight: bold;
  background-color: #eafaf1;
  color: #2e7d32;
}


.table-view-order {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 30px auto;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table-view-order td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  font-size: 15px;
}

.table-view-order .order-list-header td {
  background-color: var(--color-primary);
  ;
  color: white;
  font-weight: bold;
  text-align: left;
}


@media (max-width: 768px) {

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  td {
    padding: 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .table-view-order-details td:first-child,
  .table-view-order-summary td:first-child,
  .table-view-order td:first-child {
    font-weight: bold;
    background-color: transparent;
  }
}

.order-list-con {



  box-shadow: 0 4px 16px 0 #d8c3ef;
  margin: 10px 0px;
  padding: 15px;
  overflow: hidden;
}

.gold-sell-section {
  padding: 10px;

}

.redeem-store-section,
.redeem-cash-section,
.silver-sell-section {

  display: none;
  padding: 10px;
}


.redeem-section {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
}

.metal-sell-section {
  text-align: left !important;

}


.redeem-section button {
  background: #2f124f;
  color: #ffc107;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sell_gold_gram_error_msg,
.sell_silver_gram_error_msg {
  display: none;
  background: #eeabab;
  color: #ff0000;
  width: 100%;
  padding: 10px;
  text-align: center;

}

/*
.redeem-section button:hover {
  background-color: #ffc107;
  color: #000;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.5);
  transform: translateY(-2px);
}

.redeem-section button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}*/



.img-responsive {
  max-width: 100%;
}

.save-gold-type .nav-item {
  width: 50%;
  text-align: center;
}

.save-gold-type.nav-tabs {
  background: var(--tab-bg);
  border-radius: 50px;
}

.save-gold-type a {
  border: 1px solid transparent;
  border-radius: 50px 50px 50px 50px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: var(--tab-bg);
  color: var(--color-primary);
  ;
}

.save-gold-type a.active {
  border: 1px solid transparent;
  border-radius: 50px 50px 50px 50px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: var(--tab-active-bg);
  color: #fff;
}

.save-gold-price-type .nav-item {
  width: 50%;
  text-align: center;
}

.save-gold-price-type.nav-pills {
  background: #fff;
  border-radius: 15px;
}

.save-gold-price-type a {
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: var(--tab-bg);
  color: var(--color-primary);
  ;
}

.save-gold-price-type a.active {
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: var(--tab-active-bg);
  color: #fff;
}


.sip-gold-type a {
  border: 1px solid transparent;
  border-radius: 50px 50px 50px 50px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: #e2b13b;
  background: #fff;
  color: var(--color-primary);
  ;
}

.sip-gold-type a.active {
  border: 1px solid transparent;
  border-radius: 50px 50px 50px 50px;
  padding: 10px 10px 10px 0px;
  width: 100%;
  background: #e2b13b;
  color: #fff;
}

.save-gold-section {
  /*    background: var(--color-primary);;*/
  padding: 40px 20px;
}


.btn-save-gold {

  background: var(--bg-light-color);
  !important;
  color: var(--color-primary);
  !important;

}




/****************My Account****************/

ul.my-account {
  list-style-type: none;
  /* Remove default bullets */
  padding: 0;
  margin: 0;
  max-width: 100%;
  /* Optional: constrain width */
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 10px;
}

ul.my-account .nav-section-title {
  display: block;
  font-weight: bold;
  font-size: 1.2em;
  padding: 10px 15px;
  text-transform: capitalize;
  color: #ffffff;
}

ul.my-account li {
  padding: 8px 15px;
}

ul.my-account li:last-child {
  border-bottom: none;
}

ul.my-account li p {
  margin: 0;
  color: #555;
  font-size: 1em;
}

/****************My Account****************/



.img-responsive {
  max-width: 100%;
  height: auto;
}

.text-white {
  color: white;
}

.text-warning {
  color: #e2b13b;
}

.text-center {
  text-align: center;
}

.save-gold-type,
.save-gold-price-type,
.sip-gold-type {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  background: var(--tab-bg);
  ;
  border-radius: 50px;
}

.save-gold-type li,
.save-gold-price-type li,
.sip-gold-type li {
  flex: 1;
  text-align: center;
}

.save-gold-type button,
.save-gold-price-type button,
.sip-gold-type button {
  width: 100%;
  padding: 10px;
  border-radius: 50px;
  border: none;
  background: var(--tab-bg);
  color: #5F259E;
  cursor: pointer;
}

.save-gold-type button.active,
.save-gold-price-type button.active,
.sip-gold-type button.active {
  background: #e2b13b;
  color: #fff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.form-check {
  display: inline-block;
  margin-right: 10px;
}

.input-group {
  display: flex;
  width: 100%;
}

.input-group input {
  flex: 1;
  padding: 10px;
  border: none !important;
  background: var(--bg-light-color);
  color: var(--color-primary);
}

.input-group span {
  padding: 5px;
  background: var(--bg-light-color);
  color: var(--color-primary);
  border-left: none;
}

.initial-btn {
  background: var(--color-primary);
  color: #fff;
}

.btn-save-gold {
  background: var(--bg-light-color);
  !important;
  color: #5f259e;
  border: 1px solid #5f259e;
}

#redeemGoldSilverModal {

  z-index: 1111111111;
}



.metal-sell-toggle {
  position: relative;
  width: 200px;
  margin: 20px;
  cursor: pointer;
}

.metal-sell-toggle input[type="radio"] {
  display: none;
}

.metal-sell-toggle-switch {
  display: flex;
  position: relative;
  background-color: #444;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  height: 40px;
  font-family: sans-serif;
}

.metal-sell-toggle-option {
  flex: 1;
  text-align: center;
  line-height: 40px;
  color: white;
  z-index: 2;
  transition: color 0.3s ease;
  cursor: pointer;

}

.metal-sell-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #ffc107;
  border-radius: 30px;
  transition: left 0.3s ease;
  z-index: 1;
}

/* Move slider when Silver is selected */
#metal-sell-silver:checked~.metal-sell-toggle-switch .metal-sell-toggle-slider {
  left: 50%;
}

/* Change text color when active */
#metal-sell-gold:checked~.metal-sell-toggle-switch .metal-sell-toggle-gold {
  color: black;
}

#metal-sell-silver:checked~.metal-sell-toggle-switch .metal-sell-toggle-silver {
  color: black;
}