:root {
  /*Mobile version*/
  --bg-dark-primary: #141c1c;
  --bg-dark-secondary: #0d0f0f;
  --game-bar: #0d0f0f;
  --font-use-green: #3cca7f;
  --font-use-white: #ffffff;
  --font-use-gray: #b3bec1;
  --font-use-dark: #000000;
  --primary: #3cca7f;
  --primary-text-box-color: #3a4142;
  --alerts-red: #ee3939;
  --alerts-green: #66e072;
  --gray-primary: #3a4142;
  --gray-secondary: #0d0f0f;
  --gray-third: #b3bec1;
  --gray-fourth: #141c1c;
  --gray-fifth: #252522;
  --gray-sixth: #1e2525;
  --gray-seventh: #523656;
  --line-primary: #000000;
  --line-secondary: #3a4141;
  /*Web Version*/
  --text-gold: #30ed87;
  --text-green: #30ed87;
  --text--goldsecondary: #e8b246 #e7a646 #d69024;
  --bg-gold: #e7a646;
  --border-color: #494949;
  --bg-dark: #1c1c1c;
  --bg-grey-primary: #b4b4b4;
  --bd-grey-secondary: #494949;
  --bd-grey-third: #b3bec1;
  --bd-grey-fourth: #3a4142;
  --bd-green: #30ed87;
  --max-width-desktop: 500px;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-dark-primary);
  color: var(--text-light);
  font-size: 14px;
  padding-bottom: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav .nav-link {
  font-family: "Montserrat", sans-serif;
}

a {
  color: var(--text-light);
  text-decoration: none;
}

a:hover {
  color: var(--text-green);
}

.navtext {
  color: var(--text-light);
}

/*Home page*/

.content_data {
  position: sticky;
  top: 0;
  z-index: 99;
}

.downloadBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #b3bec1;
  color: white;
  padding: 10px 20px;
  width: 100%;
  height: 20%;
}

.left-side {
  display: flex;
  align-items: center;
  color: #3a4142;
}

.left-side .logo {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.left-side h1 {
  font-size: 18px;
  margin: 0;
  margin-right: 10px;
}

.left-side p {
  margin: 0;
  font-size: 14px;
}

.text-group {
  font-size: 12px;
}

.title {
  font-weight: 1000;
}

.subtitle {
  font-size: 11px;
}

.download-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 10px;
}

.close-button {
  width: 20px;
  height: 20px;
}

.main-top-header {
  background-color: #141c1c;
  font-size: 0.8rem;
  padding: 15px 0;
  border-bottom: 2px solid #494949;
}

.top-header {
  background-color: #141c1c;
  border-bottom: 2px solid #494949;
  padding: 15px 0;
  font-size: 0.8rem;
}

.top-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 25px;
  padding: 0 10px;
  max-width: var(--max-width-desktop);
  margin: auto;
}

.top-header-row button {
  background: none;
  border: 0;
}

.top-header-row img {
  height: 25px;
}

.home-banner {
  width: 100%;
  height: auto;
}

/* .home-banner img {
    width: 100%;
} */

.home-announcement-container {
  padding: 5px;
  background-color: #1e2525;
}

.home-announcement-bar {
  max-width: 96%;
  margin: 0 auto;
  margin-top: 10px;
  background: #0d0f0f;
  color: #fff;
  border-radius: 28px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-announcement-bar img {
  width: 20px;
}

.announcement-text {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-text .marque {
  color: #fff;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.user-area {
  flex-direction: column;
  flex-wrap: wrap;
}

.user-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 10px 30px;
  justify-content: space-between;
  background-color: #1e2525;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
}

.user-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 32px;
  border-radius: 50%;
}

.user-info {
  display: flex;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.username {
  color: white;
  font-size: 14px;
}

.badge-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.badge-cover {
  position: absolute;
  left: 3px;
  top: 30%;
  transform: translateY(-50%);
  height: 25px;
  z-index: 2;
}

@media (max-width: 768px) {
  .badge-wrapper {
    transform: scale(1.2);
  }
}

@media (min-width: 800px) {
  .badge-wrapper {
    transform: scale(1.4);
  }
}

.user-badge {
  background-color: #141c1c;
  color: #e7a646;
  font-size: 11px;
  padding: 2px 10px 2px 35px;
  /* extra LEFT padding for icon */
  border-radius: 999px;
  white-space: nowrap;
}

.custom-radio:checked {
  border-color: #2ecc71;
}

/* inner green dot */
.custom-radio:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #2ecc71;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.user-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* two columns by default */
  gap: 10px;
}

@media (max-width: 430px) {
  .user-bottom {
    grid-template-columns: 1fr;
    /* second column moves below first */
  }
}

.user-balance {
  text-align: left;
}

.user-balance p {
  font-size: 12px;
  color: #b4b4b4;
  margin: 0;
}

.user-balance span {
  color: #3cca7f;
}

.user-balance h2 {
  color: #3cca7f;
  font-weight: bold;
  margin: 0;
}

.user-actions {
  display: flex;
  gap: 0;
  width: 50%;
}

.user-actions button {
  background-color: transparent;
  border-radius: 15px;
  padding: 7px;
  border: none;
}

.user-actions p {
  color: #b3bec1;
  font-size: 11px;
  text-align: center;
  margin: 4px 0 0 0;
}

.user-actions img {
  width: 20px;
  height: 20px;
}

.action-btn {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 3px;
  padding: 5px 1px 5px 5px;
}

.action-btn img {
  width: 24px;
  height: 24px;
}

@media (max-width: 200px) {
  .user-actions {
    gap: 6px;
  }

  .action-btn {
    padding: 6px 6px;
  }

  .action-btn img {
    width: 16px;
    height: 16px;
  }

  .action-btn p {
    font-size: 10px;
  }
}

.btn-login,
.btn-withdraw {
  background: linear-gradient(to bottom, #525252, #343434, #323232);
  color: var(--text-light);
  font-weight: 700;
  width: 120px;
  border: none;
  border-radius: 5px;
  padding: 7px 6px;
  font-size: 0.85rem;
}

.btn-login,
.btn-withdraw {
  background: linear-gradient(to bottom, #525252, #343434, #323232);
  color: var(--text-light);
  font-weight: 700;
  width: 120px;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 0.85rem;
}

.btn-deposit {
  background: linear-gradient(to right, #3cca7f, #3cca7f);
  color: #1e2525;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 0.85rem;
  width: 120px;
}

.game-category-container {
  margin-top: 20px;
  background-color: var(--bg-dark-primary);
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

.game-cat-container {
  background-color: #141c1c;
  display: flex;
  overflow: auto;
  width: 95%;
  margin: 0 auto;
  gap: 10px;
}

.game-btn {
  background-color: #3a4142;
  color: #b3bec1;
  border-radius: 20px;
  border: none;
  font-size: 12px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1e2525;
  padding: 8px 12px;
  display: flex;
}

.game-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-left: 10px;
  margin-right: 10px;
}

.game-btn.active {
  background-color: #3a4142;
  color: #ffffff;
}

.game-btn span {
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.games-viewport {
  color: white;
  overflow: hidden;
  /* hides the other slides */
  width: 100%;
}

.games-container-wrapper {
  display: flex;
  /* puts game-cont side by side */
  width: 100%;
  /* 9 slides */
  transition: transform 0.4s ease;
  /* sliding animation */
}

.game-cont {
  width: 100%;
  /* each slide takes full screen */
  flex-shrink: 0;
  margin-top: 10px;
}

.games-viewport {
  overflow: hidden;
  transition: height 0.4s ease;
}

.games-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.game-section {
  width: 100vw;
  flex-shrink: 0;
}

.game-btn {
  background-color: #3a4142;
  color: #b3bec1;
  /* button label color */
  border-radius: 20px;
  border: none;
  font-size: 12px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1e2525;
  padding: 8px 12px;
}

.slot-cont {
  background-color: #1e2525;
  padding-left: 10px;
  padding-right: 10px;
  width: 95%;
  margin: 10px auto;
  border-radius: 15px;
  align-items: flex-start;
}

.casino-cont {
  background-color: #1e2525;
  padding-left: 10px;
  padding-right: 10px;
  margin: 10px;
  border-radius: 15px;
  align-items: flex-start;
}

.sport-cont {
  margin-top: 30px;
  margin: 10px;
  border-radius: 15px;
  align-items: flex-start;
}

.crash-cont {
  background-color: #1e2525;
  border-radius: 18px;
  padding: 12px;
  margin: 10px;
}

.crash-game-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 10px;
}

.crash-card {
  background-color: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  cursor: pointer;
}

.crash-card img {
  width: 100%;
  border-radius: 10px;
}

.crash-card p {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
}

.fishing-cont {
  background-color: #1e2525;
  padding-left: 10px;
  padding-right: 10px;
  margin: 10px;
  border-radius: 15px;
  align-items: flex-start;
}

.game-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 10px;
}

.game-card-button {
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
}

.game-card-button img {
  width: 100%;
  border-radius: 10px;
  /* optional */
}

/*game card contianer*/
.game-card-container {
  background-color: #1e2525;
  padding-left: 10px;
  padding-right: 10px;
  margin: 10px;
  border-radius: 15px;
  align-items: flex-start;
}

.horizontal-game-card-grid {
  display: grid;
  gap: 10px;
}

.horizontal-game-card-button {
  position: relative;
  /* Important: buttons positioned relative to this container */
  background-color: transparent;
  border: none;
  padding: 2px;
  transition: transform 0.2s;
}

.horizontal-game-card-button img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.no-background-game-card-container {
  background-color: transparent;
  padding-left: 10px;
  padding-right: 10px;
  margin: 10px;
  border-radius: 15px;
  align-items: flex-start;
  margin-top: -5%;
}

.lottery-no-background-game-card-container {
  background-color: transparent;
  align-items: flex-start;
  margin-top: -5%;
}

.lottery-game-btn-row {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: 85%;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 5%;
}

.lottery-game-btn-row button {
  text-align: center;
  border: none;
  border-radius: 999px;
  padding: 10px 50px;
  font-weight: bold;
}

.lottery-game-btn-row a {
    text-align: center;
    border: none;
    border-radius: 999px;
    padding: 10px 50px;
    font-weight: bold;
  }

.nav-active img {
  filter: brightness(1.2);
}

.nav-active p {
  color: #3cff5e;
  /* green */
}

.game-card-button img {
  width: 100%;
  max-width: 100px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.overlay-btn {
  position: absolute;
  /* absolute within the card */
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
}

.game-btn-primary,
.game-btn-outline {
  position: absolute;

  width: 25%;
  /* scales with image */
  padding: 0.5em 0;
  /* scales with text */
  border-radius: 999px;

  font-size: clamp(12px, 2vw, 16px);
  /* auto text resize */
  font-weight: 600;

  text-align: center;
  cursor: pointer;
}

/* Bet Now button */
.game-btn-primary {
  top: 40%;
  left: 47%;
  background-color: #3cca7f;
  border: none;
  color: #000;
}

/* Desktop button */
.game-btn-outline {
  top: 70%;
  left: 54%;
  background-color: transparent;
  border: 1px solid #3cca7f;
  color: #3cca7f;
}

.tutorial-container {
  color: var(--text-light);
  font-size: 20px;
  text-align: center;
  border-radius: 20px;
  background-color: #1e2525;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  margin: 10px;
  position: relative;
  border-radius: 15px;
  box-sizing: border-box;
}

.tutorial-button-container {
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: 10px auto;
  /* space from container edges */
  background-color: #0d0f0f;
  border-radius: 30px;
  padding: 5px;
  gap: 6px;
}

.tutorial-btn {
  display: flex;
  background-color: transparent;
  border: none;
  color: #aaa;
  padding: 8px 14px;
  border-radius: 999px;
  gap: 10px;
  font-size: 14px;
  margin: auto;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.tutorial-btn img {
  width: 20px;
  height: 20px;
}

.tutorial-btn.active {
  background-color: #2e3536;
  color: #fff;
}

.tutorial-content {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 3fr 7fr;
  /* image : text */
  gap: 10px;
  color: white;
  font-size: 16px;
  padding-bottom: 10px;
  align-items: center;
}

/* image on left */
.tutorial-content img {
  width: 60px;
  /* control icon size */
  align-items: center;
  justify-content: center;
  justify-self: center;
}

/* text on right */
.tutorial-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

/* title */
.tutorial-text .title {
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}

/* description */
.tutorial-text .desc {
  font-size: 13px;
  color: #ccc;
  line-height: 1.4;
  text-align: left;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal box */
.announcement-modal {
  width: 75vw;
  max-width: 500px;
  height: 45vh;
  position: relative;
  background-color: #1e2525;
  border-radius: 16px;
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Title */
.announcement-modal-header {
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  top: -38%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
}

/* Body */
.announcement-modal-body {
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.announcement-text-container {
  padding: 10px;
}

.announcement-modal-close {
  position: absolute;
  bottom: -50px;
  /* outside modal */
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.announcement-modal-close img {
  width: 42px;
  /* adjust size */
  height: auto;
}

/* Mobile */
@media (max-width: 680px) {
  .announcement-modal {
    width: 85vw;
    height: 45vh;
  }
}

.announcement-slider {
  display: flex;
  overflow-x: hidden;
  width: 100%;
  scrollbar-color: transparent transparent;
}

.announcement-slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* Dots */
.announcement-dots {
  text-align: center;
  margin-top: 10px;
}

.announcement-dots .pg-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: gray;
  border-radius: 6px;
  transition: all 0.3s;
  margin-bottom: 10px;
  gap: 5px;
}

.announcement-dots .pg-dot.active {
  background-color: rgb(63, 201, 116);
  width: 30px;
  /* longer when active */
  border-radius: 12px;
}

.register-form {
  margin-top: 10px;
  max-width: 80vw;
  margin: 0 auto;
  padding: 10px;
}

/* Input container */
.input-wrep {
  margin-bottom: 10px;
}
.input-row {
  display: flex;
  align-items: center;
  background: #3a4142;
  border-radius: 999px;
  padding: 7px 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #b3bec1;
}

/* Left icon */
.input-icon {
  background: #3a4142;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.input-icon img {
  width: 35px;
  height: 35px;
}

/* Input field */
.input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #b3bec1;
  font-size: 14px;
}

/* Eye icon */
.input-action img {
  width: 20px;
  opacity: 0.7;
}

/* Country code */
.country-code {
  color: #ccc;
  font-size: 14px;
  margin-right: 10px;
  display: flex;
}

.flag-icon {
  width: 30px;
  margin-right: 6px;
}

.divider {
  width: 1px;
  height: 24px;
  background-color: #b3bec1;
  margin-right: 5px;
}

/* Texts */
.hint-text {
  font-size: 12px;
  color: #b3bec1;
  margin-bottom: 15px;
}

.optional-text {
  font-size: 12px;
  color: #3cca7f;
  margin-bottom: 15px;
}

/* Register button */
.secttion_auth {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

.register-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #3cca7f;
  color: #000;
  font-weight: bolder;
  padding: 14px;
  font-size: 16px;
}

.register-footer {
  color: #525656;
  /* width: 75vw; */
  margin: 0 auto;
  margin-top: 30px;
  padding: 5px;
  font-size: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.banner-container {
  background-color: #141c1c;
  padding: 15px 15px 0 15px;
  text-align: center;
}

.register-banner {
  width: 89%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  margin-bottom: 15px;
}

.postregister {
  max-width: 80vw;
  margin: 0 auto;
  padding: 10px;
}

.login-form {
  max-width: 80vw;
  margin: 0 auto;
  padding: 10px;
  margin-top: 40px;
}

.login-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #3cca7f;
  color: #000;
  font-weight: bold;
  padding: 14px;
  font-size: 16px;
  margin-top: 15px;
}

/* Login page: logo and form layout */
.login-logo-wrap {
  text-align: center;
  margin-top: 45px;
}

.login-logo-img {
  width: 45%;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.login-remember-label {
  display: flex;
  align-items: center;
  color: var(--font-use-gray);
  font-size: 13px;
}

.form_login .custom-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background-color: transparent;
  margin-right: 4px;
  position: relative;
}

.login-forgot-link {
  color: var(--primary);
  font-size: 13px;
  text-decoration: none;
}

.login-register-text {
  text-align: center;
  margin-top: 15px;
  color: var(--font-use-gray);
  font-size: 13px;
}

.login-register-link {
  color: var(--primary);
}

.register-footer-inner {
  display: flex;
  justify-content: center;
}

.register-footer-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.register-footer-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* OTP Input Styles */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.otp-input {
  width: 42px;
  height: 50px;
  background-color: #2a2f2f;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  outline: none;
}

.otp-input:focus {
  border: 2px solid #30ed87;
  background-color: #1f2424;
}

/*PROMOTION*/
body[data-pages="promotion"] .main-top-header {
  border-bottom: unset;
}

.promo-tabs {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* fills full width */
  padding: 2px 10px;
  margin-bottom: -10px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--max-width-desktop);
  margin: auto;
  border-bottom: 2px solid #494949;
  padding-bottom: 15px;
}

.promo-tab {
  background-color: #141c1c;
  color: #b3bec1;
  border: none;
  border-radius: 20px;
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
  padding: 5px 10px;
}

.promo-tab.active {
  background-color: #3cca7f;
  color: #141c1c;
  font-weight: 600;
}

.promotion-content {
  max-width: var(--max-width-desktop);
  margin: auto;
}

.promo-page-wrap {
  margin-top: 20px;
  display: flex;
  width: 90vw;
  flex-direction: column;
}

.promotion-item-spacing {
  margin-bottom: 35px;
}

.promo-container-block {
  position: relative;
  display: block;
}

.promo-bg-img {
  width: 100%;
  display: block;
}

.promo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 10px auto;
  height: 100%;
  padding: 10px;
  color: white;
  /* or whatever suits the overlay */
  display: flex;
  flex-direction: column;
}

.tag-row {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  color: #3cca7f;
  width: 80%;
  margin: 0 auto;
  margin-top: 15px;
  margin-left: 20px;
}

.tag {
  border: 1px solid #3a4142;
  padding: 8px 12px;
  margin: 0;
  font-size: 8px;
  background-color: #1e2525;
  text-transform: uppercase;
}

.promo-title {
  font-size: 18px;
}

.promo-subtitle {
  font-size: 15px;
  /* default font size */
}

@media (max-width: 420px) {
  .promo-subtitle {
    font-size: 13px;
    /* smaller font for small screens */
  }

  .promo-title {
    font-size: 17px;
  }

  .button-row button {
    font-size: 13px;
    padding: 8px;
  }

  .button-row a {
    font-size: 13px;
    padding: 8px;
  }

  .tag {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .button-row button {
    font-size: 12px;
    padding: 5px;
  }

  .button-row a {
    font-size: 12px;
    padding: 5px;
  }

  .tag {
    font-size: 4px;
  }
}

@media (max-width: 370px) {
  .promo-subtitle {
    font-size: 7px;
    /* smaller font for small screens */
  }

  .promo-title {
    font-size: 10px;
  }

  .button-row button {
    font-size: 10px;
  }

  .button-row a {
    font-size: 10px;
  }
}

.promo-card-divider {
  height: 1px;
  background-color: #3a4142;
}

.promo-card-divider-inline {
  width: 90%;
  margin: 10px auto 0 auto;
}

.promo-text-wrap {
  text-align: left;
  color: #b3bec1;
  width: 90%;
  margin: 10px auto 0 auto;
}

.promo-title-main {
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.button-row {
  display: flex;
  gap: 10px;
  /* space between buttons */
  width: 95%;
  /* take full width of container */
  margin: 0 auto;
}

.button-row button {
  flex: 1;
  /* make both buttons take equal width */
  padding: 10px;
  border-radius: 30px;
  font-size: 15px;
}

.button-row a {
    flex: 1;
    /* make both buttons take equal width */
    padding: 10px;
    border-radius: 30px;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
  }

/* Optional specific styling */
.info-btn {
  color: #3cca7f;
  background-color: transparent;
  border: 1px solid #3cca7f;
}

.deposit-btn {
  color: #000;
  background-color: #3cca7f;
  border: 1px solid #3cca7f;
  font-weight: bold;
}

.promotion-modal {
  width: 95vw;
  max-width: 500px;
  height: auto;
  position: relative;
  background-color: #1e2525;
  border-radius: 16px;
  color: white;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.promotion-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 10px;
  padding: 10px 15px;
}

.promo-modal-title {
  color: #3cca7f;
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 17px;
  font-weight: bolder;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-modal-close-icon {
  width: 20px;
  height: 20px;
}

.promotion-scroll-body {
  overflow-y: scroll;
  height: 666px;
}

@media (max-width: 375px) {
.promotion-scroll-body {
    overflow-y: scroll;
    height: 496px;
  }
}

.promo-modal-banner {
  margin: 0 auto;
  width: 100%;
  height: auto;
  display: block;
}

.promo-modal-tag-row {
  margin-top: 10px;
}

.promotion-scroll-body::-webkit-scrollbar {
  display: none;
}

.promotion-modal-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #b3bec1;
  margin-top: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.promo-modal-main-title {
  color: #3cca7f;
  font-size: 17px;
  font-weight: bold;
  margin: 0;
}

.promo-modal-subtitle {
  font-weight: bold;
  margin: 0;
}

.promo-modal-divider {
  width: 100%;
  height: 1px;
  border: none;
  border-color: white;
  margin: 10px auto;
}

.promo-modal-divider-bottom {
  margin-bottom: 20px;
}

.promo-apply-wrap {
  padding-bottom: 10px;
}

.promo-apply-btn {
  border: none;
  font-weight: bold;
  font-size: 15px;
  display: block;
  border-radius: 30px;
  width: 90%;
  margin: 10px auto;
  background-color: #3cca7f;
  padding: 10px;
  text-align: center;
  justify-content: center;
}

.promotion-content-desc table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  color: white;
  text-align: center;
  background-color: #1e2525;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  table-layout: fixed;
}

.promotion-content-desc table th {
  white-space: normal;
  /* allow wrapping */
}

.promotion-content-desc table th,
.promotion-content-desc table td {
  border: 1px solid #3a4142;
  padding: 10px;
}

/* Remove left/right borders on first and last cells */
.promotion-content-desc table tr th:first-child,
.promotion-content-desc table tr td:first-child {
  border-left: none;
}

.promotion-content-desc table tr th:last-child,
.promotion-content-desc table tr td:last-child {
  border-right: none;
}

/* Remove top border on first row and bottom border on last row */
.promotion-content-desc table tr:first-child th,
.promotion-content-desc table tr:first-child td {
  border-top: none;
}

.promotion-content-desc table tr:last-child td,
.promotion-content-desc table tr:last-child th {
  border-bottom: none;
}

/* Header styling */
.promotion-content-desc table thead th {
  background-color: #3cca7f;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

/* Body cells background */
.promotion-content-desc table tbody td {
  background-color: #141c1c;
  width: unset !important;
}

.promo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  color: white;
  text-align: center;
  background-color: #1e2525;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  table-layout: fixed;
}

.promo-table th {
  white-space: normal;
  /* allow wrapping */
}

.promo-table th,
.promo-table td {
  border: 1px solid #3a4142;
  padding: 10px;
}

/* Remove left/right borders on first and last cells */
.promo-table tr th:first-child,
.promo-table tr td:first-child {
  border-left: none;
}

.promo-table tr th:last-child,
.promo-table tr td:last-child {
  border-right: none;
}

/* Remove top border on first row and bottom border on last row */
.promo-table tr:first-child th,
.promo-table tr:first-child td {
  border-top: none;
}

.promo-table tr:last-child td,
.promo-table tr:last-child th {
  border-bottom: none;
}

/* Header styling */
.promo-table thead th {
  background-color: #3cca7f;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

/* Body cells background */
.promo-table tbody td {
  background-color: #141c1c;
}

.tc-tab {
  padding: 5px;
  display: flex;
  align-items: center;
  /* vertically center both */
  justify-content: space-between;
  /* left text, right button */
}

.tc-tab p {
  margin: 0;
  flex: 1;
  /* take left space */
  text-align: left;
  margin-left: 10px;
}

.tc-tab-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  margin-right: 10px;
}

.tc-content {
  display: none;
  margin-top: 8px;
  color: #b3bec1;
  font-size: 14px;
  margin-left: 14px;
}

.tc-divider {
  width: 96%;
  height: 2px;
  background-color: #3a4142;
  margin: 0 auto;
}

.JJ8-content-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* FULL screen height */
  overflow-x: hidden;
  /* stop side scrolling */
}

.JJ8-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* ADD THIS */
  object-fit: cover;
  z-index: 1;
}

.JJ8-content {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  color: white;
}

.JJ8-navigation {
  display: flex;
  padding: 8px;
  background-color: #141c1c;
  border-radius: 50px;
  margin: 0 20px;
}

.JJ8-navigation button {
  flex: 1;
  border: none;
  border-radius: 50px;
  color: #b3bec1;
  background-color: transparent;
  padding: 8px 0;
}

.JJ8-navigation button.active {
  background-color: #3a4142;
  color: #ffffff;
}

.mega-wrapper {
  position: relative;
  /* allows text on image */
  width: 50%;
  /* control size here */
  margin: 0 auto;
  /* center the whole thing */
  text-align: center;
}

.mega-wrapper img {
  width: 100%;
  /* image follows wrapper width */
  display: block;
}

.mega-text {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bolder;
  font-size: 16px;
  pointer-events: none;
  /* text won’t block clicks */
}

.side-prizes {
  display: flex;
  justify-content: space-between;
  /* push to ends */
  width: 100%;
  margin-top: -60px;
  /* slight overlap (optional) */
}

/* Side prize item */
.prize-wrapper {
  position: relative;
  width: 160px;
}

.prize-wrapper img {
  width: 100%;
  display: block;
}

.prize-text {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
}

.JJ8-spinwheel {
  position: relative;
  width: 300px;
  /* control size here */
  height: 300px;
  margin: 0 auto;
  /* center on page */
}

.wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
}

/* Layer order */
.wheel.base {
  width: 100%;
  z-index: 1;
}

.wheel.center {
  width: 40%;
  z-index: 2;
}

.wheel.frame {
  width: 130%;
  z-index: 3;
}

.wheel.pin {
  width: 25%;
  z-index: 4;
  top: -10%;
  /* pin sits above wheel */
  transform: translateX(-50%);
}

.JJ8-home-footer {
  margin-top: 60px;
  align-items: center;
  text-align: center;
  color: #b3bec1;
}

#spinwheel {
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
  /* smooth easing */
  transform-origin: 50% 50%;
  /* center of rotation */
}

.JJ8-section {
  display: none;
  /* hide all by default */
}

.JJ8-section.active {
  display: block;
  /* show only the active section */
}

.prize-frame {
  width: 90vw;
}

.prize-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.prize-box {
  position: relative;
  width: 45%;
}

.prize-box img {
  width: 100%;
  display: block;
}

.prize-text {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}

.prize-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 25px;
}

.prize-box {
  position: relative;
  width: 45%;
}

.prize-box img {
  width: 100%;
  display: block;
}

.prize-box p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

.prize-item .label {
  margin-top: -18%;
  color: white;
  font-size: 16px;
}

.prize-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 25px;
}

.prize-item {
  width: 45%;
  text-align: center;
}

.prize-row-box {
  position: relative;
  width: 100%;
}

.prize-row-box img {
  width: 100%;
  display: block;
}

.prize-row-box .amount {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

.label {
  margin-top: 6px;
  color: white;
  font-size: 14px;
}

.rewards-row {
  display: flex;
  justify-content: center;
  /* center whole row */
  width: 85%;
  margin: 20px auto;
}

.rewards-box {
  position: relative;
  /* anchor for text */
  width: 60%;
  max-width: 300px;
  /* control size */
  margin: 0 auto;
  gap: 10px;
}

.rewards-box img {
  width: 85%;
  display: block;
  margin: 0 auto;
}

.rewards-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-weight: bold;
  width: 100%;
}

.rewards-text-box h1 {
  font-size: 1.4em;
  margin: 0;
  color: #3cca7f;
  font-weight: bold;
}

.rewards-text-box h2 {
  font-size: 1.1em;
  margin: 0;
  color: #3cca7f;
  font-weight: bold;
}

.rewards-text-box p {
  font-size: 2em;
  margin: 0.2em 0 0;
}

/* whole row */
.instruction-row {
  display: flex;
  align-items: center;
  /* text aligns with image */
  gap: 12px;
  width: 90%;
  margin-bottom: 20px;
  margin-left: 5%;
}

/* image container */
.instruction-img {
  position: relative;
  /* anchor for layering */
  width: 30%;
  /* control icon size */
  flex-shrink: 0;
}

/* base frame */
.icon-frame {
  width: 100%;
  height: auto;
  display: block;
}

/* top icon */
.icon-step {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-1 {
  width: 50%;
}

.step-2 {
  width: 35%;
}

.step-3 {
  width: 40%;
}

/* text */
.instruction-text h1 {
  margin: 0;
  font-size: 18px;
  color: white;
  text-align: left;
  font-weight: bold;
}

.instruction-text p {
  margin: 2px 0 0;
  font-size: 14px;
  color: white;
  text-align: left;
}

.highlight {
  color: #3cca7f;
  font-weight: bold;
}

.tickets-row {
  display: flex;
  justify-content: center;
  width: 85%;
  margin: 5px auto;
  gap: 15px;
}

.tickets-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame {
  width: 90%;
  /* or fixed width */
}

.ticket-wrapper {
  position: absolute;
  /* center ticket on frame */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ticket {
  z-index: 2;
}

.tickets-box h1 {
  font-size: 16px;
  margin-top: 5px;
}

.tickets-box p {
  font-size: 15px;
  margin-top: -5%;
}

.prize-btn-container button {
  border: none;
  border-radius: 25px;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: bold;
}

.tickets-box-with-desc {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  justify-content: space-between;
  width: 90%;
}

.tickets-box-with-desc h1 {
  font-size: 18px;
}

.ticket-desc {
  justify-content: center;
  margin: 0 auto;
}

/*Game LobbY*/
.provider-search-bar {
  display: flex;
  gap: 10px;
  padding: 10px 15px;
  background-color: #141c1c;
  width: 100%;
}

/* Search box */
.search-box {
  flex: 1;
  background-color: #0d0f0f;
  border-radius: 5px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #8c8c8c;
}

.search-box img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  flex-shrink: 0;
  margin-left: 0;
}

/* Provider button */
.provider-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  background: #0d0f0f;
  border-radius: 8px;
  border: none;
  color: white;
}

/* Left content stays together */
.provider-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-left #currentProviderText {
    font-size: 11px;
}

/* Push arrow to the far right */
.arrow-icon {
  margin-left: auto;
  width: 10px;
  height: auto;
}

.provider-left img {
  height: 28px;
  width: auto;
}

.provider-btn .arrow {
  height: 10px;
  opacity: 0.7;
}

.game-lobby-body {
  background-color: transparent;
  width: 95%;
  margin: 0 auto;
  padding-top: 200px;
}

.game-lobby-top-header {
    padding: 0 10px;
}

.game-lobby-tab {
  padding: 6px 8px;
  width: 98%;
  margin: 15px auto;
  background-color: #0d0f0f;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow-y: hidden;
  scrollbar-width: none;
}

.game-lobby-tab::-webkit-scrollbar {
  display: none;
}

.game-lobby-tab-btn {
  width: auto;
  flex: 0 0 auto;
  background-color: transparent;
  border: none;
  color: #b3bec1;
  justify-content: center;
  align-items: center;
  padding: 13px 12px;
  border-radius: 999px;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  font-size: 11px;
}

.game-lobby-tab-btn img {
  width: 25%;
}

.game-lobby-tab-label {
  margin: 0;
  margin-top: 1px;
}

.game-lobby-tab-fat-panda-icon {
  width: 20%;
}

.game-lobby-tab-btn.active {
  background-color: #3a4142;
  color: #ffffff;
}

@media (max-width: 430px) {
  .game-lobby-tab-btn {
    font-size: 10px;
    /* smaller text */
    padding: 8px 6px;
    /* tighter padding */
    gap: 6px;
  }

  .game-lobby-tab-btn img {
    width: 25%;
    /* smaller icon */
  }
}

/* .games-container > div {
  display: none;
} */

/* show active container */
.games-container > div.active {
  display: block;
}

.games-container {
  background-color: #0d0f0f;
  width: 94%;
  margin: 0 auto;
  border-radius: 10px;
  color: white;
}

.new-games-container {
  flex-wrap: wrap;
  width: 94%;
  margin: 0 auto;
  justify-content: space-between;
}

.new-games-container a {
  border: none;
  background-color: transparent;
  font-size: 12px;
  color: #b3bec1;
  width: 104%;
  max-width: 200px;
  margin-top: 10px;
}

.new-games-container a img {
  width: 100%;
  border-radius: 15px;
}

.new-games-container button {
    border: none;
    background-color: transparent;
    font-size: 12px;
    color: #b3bec1;
    width: 104%;
    max-width: 200px;
    margin-top: 10px;
  }
  
  .new-games-container button img {
    width: 100%;
    border-radius: 15px;
  }

.new-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.new-game-btn p {
  text-align: center;
  font-size: 12px;
}

.new-game-text-box {
  margin-top: 5px;
  height: 40px;
  /* space reserved for text */
  width: 100%;
  display: flex;
  align-items: flex-start;
  /* text starts from top */
  justify-content: center;
  /* center horizontally */
}

.provider-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
}

.all_slots_container {
    display: grid;grid-template-columns: repeat(3, 1fr);justify-items: center;gap: 12px;
}

/* Modal box */
.provider-modal {
  width: 90vw;
  height: 70vh;
  background-color: #141c1c;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  padding: 10px;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

/* Header */
.provider-modal-header {
  height: 10%;
}

.provider-modal-close {
  background: none;
  border: none;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  /* move button to right */
}

/* Close button */
.provider-modal-close-btn {
  background: none;
  border: none;
}

.provider-modal-close-btn img {
  width: 15px;
}

.provider-modal-header-title {
  color: white;
  display: flex;
  justify-content: center;
  font-weight: bold;
}

.provider-modal-header-title h3 {
  font-weight: bold;
}

.provider-modal-divider {
  width: 90%;
  height: 2px;
  background-color: #ffffff;
  /* choose any color */
  margin: 8px auto 0;
  /* center it */
  margin-bottom: 20px;
}

.provider-selection {
  width: 93%;
  margin: 0 auto;
  overflow-y: auto;
  scrollbar-width: none;
}

.provider-selection-grid {
  gap: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

.provider-btn-container {
  border: none;
  background-color: transparent;
  gap: 10px;
  max-width: 120px;
}

.provider-selection-btn {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* square button */
  border: none;
  border-radius: 10px;
  background: transparent;
  background-color: #0d0f0f;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.provider-selection-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  /* keeps image ratio */
}

.provider-selection-btn.active img{
    filter: grayscale(0%);
  }

.provider-logo-w130 {
  width: 130%;
}

.provider-logo-w140 {
  width: 140%;
}

.provider-logo-w145 {
  width: 145%;
}

.provider-logo-w150 {
  width: 150%;
}

.provider-logo-w160 {
  width: 160%;
}

.provider-logo-w170 {
  width: 170%;
}

.slots-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 15px;
}

.slots-header-back-btn {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
}

.slots-header-back-icon {
  height: 20px;
}

.slots-header-title {
  color: #3cca7f;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
}

.slots-half-width {
  flex: 1;
  width: 50%;
}

.slot-provider-icon {
  color: transparent;
}

.provider-selection-btn.active {
  background-color: #3a4142;
}

.provider-text-box {
  color: white;
  text-align: center;
  justify-content: center;
  font-size: 13px;
  width: 66px;
}

.provider-text-box p {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Body */
.modal-body {
  margin-top: 12px;
  flex: 1;
  overflow-y: auto;
}

.hot-games-scroll-bar::-webkit-scrollbar {
  display: none;
}

.hot-games-bar {
  color: white;
  width: 92%;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: -23px;
  font-size: 20px;
}

.hot-games-scroll-bar {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding-bottom: 5px;
}

.hot-games-btn {
  width: 100px;
  flex-shrink: 0;
}

.hot-games-btn img {
  width: 100%;
}

.hot-games-text {
  margin-top: 10px;
}

.hot-games-text h6 {
  margin-bottom: 2px;
  /* reduce space below title */
}

.hot-games-text p {
  color: #b3bec1;
  margin-top: 0;
  /* remove space above subtitle */
  font-size: 12px;
}

.hot-game-title {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  margin-bottom: 1px;
}

.hot-game-scroll {
  display: inline-block;
  white-space: nowrap;
}

.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.game-modal {
  width: 90vw;
  /* 95% screen width */
  height: auto;
  max-height: 90vh;
  /* 70% screen height */
  background: #1e2525;
  border-radius: 12px;
  padding: 16px;
  color: white;
  position: relative;
  overflow-y: auto;
  display: block;
  scrollbar-width: none;
}

.game-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
}

.game-modal-title {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.game-modal-title img {
  width: 100%;
}

.account-box {
  border-radius: 10px;
  background-color: #0d0f0f;
  padding: 20px;
}

.account-row {
  display: grid;
  grid-template-columns: 30% 45% 25%;
  /* label / value / button */
  align-items: center;
  margin-bottom: 12px;
}

.account-row:last-child {
  margin-bottom: 0;
}

.account-row-label {
  color: #b3bec1;
  line-height: 1;
}

.account-row-value {
  color: white;
  word-break: break-all;
  line-height: 1;
}

.copy-btn {
  width: 100%;
  padding: 6px 0;
  border: none;
  border: 1px solid #3cca7f;
  border-radius: 999px;
  background-color: transparent;
  color: #3cca7f;
}

.game-modal-divider {
  width: 95%;
  height: 1px;
  background-color: #b3bec1;
  /* change color if needed */
  margin: 28px auto;
}

.game-modal-form {
  width: 90%;
  margin: 0 auto;
}

.amount-row {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.amount-row input {
  border-radius: 999px;
  color: #b3bec1;
  background-color: #3a4142;
  border: none;
  padding: 10px;
  padding-left: 20px;
}

.amount-row button {
  border-radius: 999px;
  color: #000000;
  font-weight: bold;
  background-color: #3cca7f;
  border: 1px solid #3cca7f;
}

.amount-row input,
.amount-row button {
  width: 100%;
  box-sizing: border-box;
}

.game-modal-play-btn {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.game-modal-play-btn button {
  width: 100%;
  margin: 10px auto;
  border: none;
  border-radius: 999px;
  padding: 10px;
  background-color: #3cca7f;
  font-weight: bold;
}

/*Region and Language page*/
.top-header-language {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 15px;
}

.title-text-language {
  color: #3cca7f;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}

.region-and-language-container {
  color: #b3bec1;
  border-radius: 10px;
  background-color: transparent;
  display: flex;
  width: 80vw;
  margin: 0 auto;
  flex-direction: column;
  gap: -10px;
  align-items: center;
}

.country-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
}

.country-name {
  display: flex;
  font-size: 0.8rem;
  margin-top: auto;
}

.country-language-row {
  display: flex;
  height: 6vh;
  gap: 10px;
  background-color: #0d0f0f;
  border-radius: 999px;
}

.country-img {
  display: flex;
  height: 100%;
  padding: 3px 7px;
}

.language-button-row {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 3px;
  align-items: center;
  gap: 5px;
  padding-right: 12px;
}

.language-btn {
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex: 1;
  border: none;
  color: #b3bec1;
  background-color: transparent;
  border-radius: 999px;
  padding: 12px;
}

.language-btn.active {
  background-color: #3a4142;
  /* active bg */
  color: #3cca7f;
  /* active text */
}

.layout-nav-text p {
  margin: 0;
  font-size: 12px;
  color: #b3bec1;
  /* normal color */
}

.layout-navigation-btn.active .layout-nav-text p {
  color: #3cca7f;
  /* active color (change if you want) */
}

#sidebar-container {
  position: fixed;
  z-index: 999;
}

#sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.vip-text-container {
  width: 95%;
  margin: 0 auto;
  background-color: transparent;
}

.vip-desc-title {
  text-align: center;
  padding-top: 10px;
  font-weight: bolder;
  font-size: 16px;
}

.desc-container {
  width: 90%;
  margin: 0 auto;
}

.desc-row {
  display: flex;
  justify-content: space-between;
}

.VP-nav-tab {
  display: flex;
  background-color: #0d0f0f;
  border-radius: 999px;
  padding: 4px;
  width: 100%;
}

.vp-tab-btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #b3bec1;
  padding: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.vp-tab-btn.active {
  background-color: #3a4142;
  /* active background */
  color: white;
  height: 38px;
  /* active text color */
  font-weight: 600;
}

.vp-option.active {
  background-color: #5cb85c;
  /* Example highlight color */
  color: white;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.nav-btn,
.page-btn {
  display: flex;
  border: none;
  background: transparent;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.page-btn.active {
  background-color: #3cca7f;
  color: #0d0f0f;
}

/* Left arrow for Prev */
#prevpage::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  display: inline-block;
}

/* Right arrow for Next */
#nextpage::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
  display: inline-block;
}

#vpMainBtn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px;
  background-color: #3a4142;
  border: none;
  color: white;

  border-radius: 10px;
}

/* Dropdown container */
.vp-btn-container {
  width: 100%;
  background-color: #3a4142;

  display: none;
  flex-direction: column;

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

  overflow: hidden;
  /* important so child buttons follow radius */
}

/* Dropdown options */
.vp-option {
  border: none;
  background-color: #3a4142;
  color: white;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.vp-option:hover {
  background-color: #4a5253;
}

.gender-btn {
  background-color: transparent;
}

.gender-btn.active {
  background-color: #3a4142;
}

.phone-input:focus {
  outline: none;
  border: none;
  background-color: transparent;
}

.email-input:focus {
  outline: none;
  border: none;
  background-color: transparent;
}

.verification-input:focus {
  outline: none;
  border: none;
  background-color: transparent;
}

.address-input:focus {
  outline: none;
  border: none;
  background-color: transparent;
}

.vip-dots {
  width: 75%;
  margin: 5px auto 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

/* background line */
.vip-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #444;
  transform: translateY(-50%);
  z-index: 0;
  overflow: visible;
  --end-width: 12%;
}

/* LEFT END (always active) */
.vip-line::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--end-width));
  top: 0;
  width: var(--end-width);
  height: 100%;
  background: #3cca7f;
}

/* PROGRESS */
.vip-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress-width, 0%);
  background: #3cca7f;
  transition: width 0.3s ease;
}

/* RIGHT END (inactive by default) */
.vip-line .end-cap {
  position: absolute;
  right: calc(-1 * var(--end-width));
  top: 0;
  width: var(--end-width);
  height: 100%;
  background: #444;
  transition: background 0.3s ease;
}

/* dots */
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #444;
  position: relative;
  z-index: 1;
}

.dot.completed {
  background: #3cca7f;
}

/* active dot */
.dot.active {
  background: #3cca7f;
}

/* glow */
.dot.active::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(60, 202, 127, 0.35);
}

.desc-row p {
  margin: 0;
  padding: 3px 0;
  font-size: 13px;
}

.vp1-table th:first-child {
  border-top-left-radius: 10px;
  /* top-left corner */
}

.vp1-table th:last-child {
  border-top-right-radius: 10px;
  /* top-right corner */
}

.deposit-tab-btn {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  /* auto is invalid for padding */
  border: none;
  background-color: transparent;
  border-radius: 999px;
  color: #b3bec1;
  cursor: pointer;
  white-space: nowrap;
  /* prevent text wrap */
}

.deposit-tab-btn p {
  margin: 0;
  display: flex;
  align-items: center;
  /* vertical align */
}

.deposit-tab-btn.active {
  background-color: #3a4142;
  /* active bg */
  color: #ffffff;
  /* active text */
}

/* .tab-content {
    display: none;
} */

.tab-content.active {
  display: block;
}

.qp-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* perfect square */
  border: 1px solid #b3bec1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qp-img-box img {
  width: 70%;
  height: 60%;
  object-fit: contain;
}

.qp-btn:not(.active) .qp-img-box img {
  filter: grayscale(1);
}

.qp-content {
  display: none;
}

.qp-content.active {
  display: block;
}

/* active state */
.qp-btn.active .qp-img-box {
  border-color: #3cca7f;
}

.qp-btn.active p {
  color: #3cca7f;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
}

.fp-btn {
  border: none;
  background-color: transparent;
  color: #b3bec1;
  width: 100%;
  width: 63px;
  text-align: center;
}

.fp-img-box {
  border: 1px solid #b3bec1;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.fp-btn.active p {
  color: #3cca7f;
  /* active text color */
}

.fp-btn.active .fp-img-box {
  border-color: #3cca7f;
  /* active border */
}

.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 101;
}

/* bottom sheet */
.promo-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -75vh;
  width: 100%;
  height: 75vh;
  background: #2e3435;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: bottom 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width-desktop);
  margin: auto;
}

/* handle */
.promo-handle {
  width: 55px;
  height: 7px;
  background: #b3bec1;
  border-radius: 999px;
  margin: 10px auto;
}

/* content */
.promo-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px;
}

/* active state */
.promo-sheet.active {
  bottom: 0;
}

.promo-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Responsive Styles for Mobile --- */
/* Apply these styles for screens smaller than 992px (tablets and phones) */

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

/* Left arrow for Prev */
#prevpage::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  display: inline-block;
}

/* Right arrow for Next */
#nextpage::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
  display: inline-block;
}

#vpMainBtn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px;
  background-color: #3a4142;
  border: none;
  color: white;

  border-radius: 10px;
}

/* Dropdown container */
.vp-btn-container {
  width: 100%;
  background-color: #3a4142;

  display: none;
  flex-direction: column;

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

  overflow: hidden;
  /* important so child buttons follow radius */
}

/* Dropdown options */
.vp-option {
  border: none;
  background-color: #3a4142;
  color: white;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.vp-option:hover {
  background-color: #4a5253;
}

/* Inbox */
.message-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background: #141c1c;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #3a4142;
}

.message-table th,
.message-table td {
  padding: 15px;
  color: #525656;
  border-bottom: 1px solid #3a4142;
  font-size: 12px;
}

.message-table tbody td {
  background-color: #141c1c;
}

.message-table thead th {
  background-color: #3a4142;
}

.message-table tbody tr:last-child td {
  border-bottom: none;
}

.message-table thead {
  background-color: #3a4142;
}

.message-table th {
  color: #b3bec1;
  font-weight: 500;
  text-align: center;
  border: none;
}

.message-table tbody tr:hover td {
  color: #ffffff;
}

.message-table span {
  margin-right: 23px;
}

.more-btn {
  width: 20px;
  cursor: pointer;
}

.message-table .message-table__col-datetime {
  text-align: left;
}

/* Member messages (member_msg_design5.php) */
.member-msg-d5 {
  color: aliceblue;
  text-align: center;
  display: flex;
  width: 90vw;
  margin: 20px auto;
  flex-direction: column;
}

.member-msg-d5__tabs {
  color: white;
  padding: 6px;
}

.member-msg-d5__main {
  width: 100%;
  margin-top: 20px;
}

.member-msg-d5 #ntf {
  display: none;
}

/* Modal */
.inbox-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000078;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-box {
  background: #1e2525;
  width: 85%;
  border-radius: 16px;
  padding: 20px;
  color: white;
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3cca7f;
  font-weight: 600;
}

.modal-title {
  margin: 0 auto;
}

.close-btn {
  width: 12px;
  cursor: pointer;
}

.modal-box h3 {
  margin-top: 25px;
  font-size: 13px;
}

.modal-box p {
  margin-top: 8px;
  font-size: 13px;
  color: #ccc;
}

/* Referral - overview */
#overview {
  background-color: #141c1c;
  padding: 0;
  width: 100%;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.overview-title {
  background-color: #0d0f0f;
  color: #b3bec1;
  padding: 12px calc(5vw + 10px);
  font-size: 14px;
  text-align: left;
  box-sizing: border-box;
  margin-top: 12px;
  margin-bottom: 10px;
}

.overview-list {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  margin-bottom: 60px;
}

.overview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-left img {
  width: 32px;
  height: auto;
}

.item-left span {
  color: #ffffff;
  font-size: 14px;
}

.item-right {
  color: #30ed87;
  font-weight: 500;
  font-size: 14px;
  margin-right: 18px;
}

.item-right:not(.reward) {
  color: #30ed87;
}

.item-divider {
  border: none;
  height: 1px;
  background-color: #525656;
  margin: 0;
  width: 100%;
  opacity: 1;
}

.referral-banner {
  position: relative;
  min-height: 160px;
  background: linear-gradient(to right, #000000, #0d1a12);
  padding: 25px calc(5vw + 10px);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.banner-content {
  position: relative;
  z-index: 2;
  /* Ensures text is above any background effects */
}

.commission-label {
  color: #ffffff;
  font-size: 12px;
  margin: 0;
  opacity: 0.9;
  text-align: left;
}

.commission-amount {
  color: #ffffff;
  font-size: 24px;
  margin: 5px 0 15px 0;
  text-align: left;
}

.transfer-btn {
  background-color: #24ee89;
  color: #000000;
  border: none;
  padding: 8px 34px;
  border-radius: 26px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
  align-items: left;
  margin-left: -4px;
}

.transfer-btn:hover {
  transform: scale(1.05);
  background-color: #24ee89;
}

.banner-illustration {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

/* RECIPIENTS SCROLLING LIST */
.reward-recipients-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 15px 0 20px 0;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.reward-recipients-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar Chrome/Safari */

.recipient-card {
  min-width: 125px;
  background-color: #373b3b;
  border-radius: 12px;
  padding: 10px 0px 0px 0px;
  text-align: center;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle img {
  width: 60px;
  opacity: 0.7;
}

.user-id {
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
}

.reward-desc {
  color: #b3bec1;
  font-size: 10px;
  margin-bottom: 5px;
}

.reward-value {
  color: #30ed87;
  font-size: 13px;
  margin-bottom: 6px;
}

/* SHARE CARD */
.share-card {
  background-color: #0d0f0f;
  border-radius: 20px;
  padding: 30px 20px;
  margin: 10px 0 40px 0;
  text-align: center;
  border: 1px solid #1f2626;
}

.link-icon-header {
  width: 100px;
  height: 100px;
  background-color: #1f2626;
  border-radius: 50%;
  margin: -70px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border: 4px solid #0d0f0f;
}

.link-icon-header img {
  width: 60px;
  margin-top: 0;
}

.share-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 15px 0 5px;
}

.share-subtitle {
  font-size: 14px;
  color: #b3bec1;
  margin-bottom: 20px;
}

.referral-input-box {
  background-color: #141c1c;
  border-radius: 30px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.url-text {
  color: #b3bec1;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  text-align: center;
  padding-left: 20px;
  background: none;
  border: none;
  outline: none;
}

.copy-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.copy-icon-btn img {
  width: 18px;
}

.share-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.share-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background-color: #24ee89;
  color: #000;
  border: none;
}

.btn-outline {
  background: none;
  border: 1px solid #24ee89;
  color: #24ee89;
}

.card-divider {
  border: none;
  height: 1px;
  background-color: #3a4142;
  margin: 20px 0;
  opacity: 1;
}

/* STEPS SECTION */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 0px;
  margin-bottom: -10px;
}

.step-item {
  flex: 1;
  text-align: center;
  z-index: 2;
}

.step-item img {
  width: 50px;
  margin-bottom: 8px;
  background-color: #0d0f0f;
  padding: 0 10px;
  position: relative;
  z-index: 3;
  /* Keeps icon above the line */
}

.step-item p {
  font-size: 11px;
  color: #ffffff;
  line-height: 1.3;
}

.step-connector {
  position: absolute;
  /* 17.5px is exactly half of your 35px icon height */
  top: 17.5px;
  /* Centers the line between the first and last icon */
  left: 15%;
  right: 15%;
  height: 1px;
  background-color: #24ee89;
  z-index: 1;
  /* Sits behind the images */
}

/* SOCIAL MEDIA */
.social-label {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-circle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-circle img {
  width: 38px;
}

/* HOW TO EARN SECTION */
.how-to-earn-list {
  background-color: #141c1c;
  border-radius: 12px;
  padding: 5px 15px;
  margin-top: 10px;
}

.earn-item {
  padding: 15px 0;
}

.earn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.earn-header span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
}

.toggle-icon {
  width: 22px;
  height: 22px;
}

.earn-content {
  display: none;
  margin-top: 15px;
  text-align: left;
}

.earn-item.active .earn-content {
  display: block;
}

.earn-content p {
  color: #b3bec1;
  font-size: 12px;
  line-height: 1.6;
}

.how-to-earn-list .item-divider {
  border: none;
  height: 1px;
  background-color: #3a4142;
  margin: 0;
}

/* INVITE SECTION STYLES */
#invite {
  padding-bottom: 30px;
}

.invite-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.date-picker-badge {
  background-color: #3a4142;
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-text {
  color: #24ee89;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
}

.calendar-icon {
  width: 12px;
  height: 14px;
}

.table-container {
  background-color: #0d0f0f;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 600px;
}

.invite-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.invite-table thead tr {
  background-color: #30ed87;
}

.invite-table th {
  color: #1e2525;
  font-size: 13px;
  font-weight: 600;
  padding: 15px 15px;
}

.invite-table td {
  color: #b3bec1;
  font-size: 13px;
  padding: 15px 5px;
  border-bottom: 1px solid #1f2626;
}

.invite-table tbody tr:last-child td {
  border-bottom: none;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.pag-btn {
  background: none;
  border: none;
  color: #b3bec1;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-num {
  color: #b3bec1;
  font-size: 13px;
  cursor: pointer;
}

.page-num.active {
  background-color: #24ee89;
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.page-dots {
  color: #b3bec1;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.invite-table {
  min-width: 500px;
  width: 100%;
  border-collapse: collapse;
}

.table-scroll-wrapper::-webkit-scrollbar {
  height: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #1f2626;
  border-radius: 10px;
}

.chevron-left::before {
  content: "<";
  margin-right: 5px;
}

.chevron-right::after {
  content: ">";
  margin-left: 5px;
}

/* CALENDAR MODAL STYLES */
.calendar-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Slides from bottom on mobile */
  z-index: 2000;
}

.calendar-card {
  background: #1e2525;
  width: 100%;
  border-radius: 20px 20px 0 0;
  padding: 30px;
  min-height: 550px;
}

.range-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.date-input-box {
  background: #2d3535;
  color: #fff;
  padding: 10px 10px;
  border-radius: 20px;
  font-size: 13px;
  flex: 1;
  text-align: center;
}

.date-input-box.active {
  border: 1px solid #30ed87;
}

.to-text {
  color: #b3bec1;
  margin: 0 20px;
  font-size: 14px;
}

.month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  width: 100%;
}

.month-header button {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

.month-header button img {
  background: none !important;
  display: block;
}

.month-name {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  min-width: 120px;
  text-align: center;
}

.month-name {
  color: #b3bec1;
  font-weight: bold;
}

.calendar-table {
  width: 100%;
  color: #fff;
  font-size: 12px;
  text-align: center;
  border-spacing: 0 8px;
}

.calendar-table th {
  color: #727b7c;
  padding-bottom: 10px;
  font-weight: normal;
}

.calendar-table td {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1;
  text-align: center;
  vertical-align: middle;
  padding: 0;
}

.other-month {
  color: #4a5455;
}

.calendar-table td:not(.other-month) {
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
  /* Default white text */
  position: relative;
  z-index: 1;
}

.calendar-table td:not(.other-month):hover {
  background: rgba(48, 237, 135, 0.1);
  border-radius: 50%;
}

.in-range::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  /* full width */
  height: 32px;
  transform: translateY(-50%);
  background: #2d3535;
  z-index: -2;
}

.selected-start::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  /* start from middle */
  right: 0;
  height: 32px;
  transform: translateY(-50%);
  background: #2d3535;
  z-index: -2;
  margin-left: 5px;
}

.selected-end::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 100%;
  /* end at middle */
  height: 32px;
  transform: translateY(-50%);
  background: #2d3535;
  z-index: -2;
  margin-right: 5px;
}

/* Round the left side of the grey bar for the start date */
.selected-start::before {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  left: 4px;
  /* Slight offset so it sits behind the circle center */
}

/* Round the right side of the grey bar for the end date */
.selected-end::before {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  right: 4px;
}

/* 3. The Green Text for dates inside the range */
.in-range {
  color: #30ed87 !important;
  font-weight: bold;
}

/* 4. The Selected Date Green Circle (50% Radius / Perfect Circle) */
.selected-start,
.selected-end {
  color: #000 !important;
  /* Black text on green circle */
  font-weight: bold;
}

.selected-start::after,
.selected-end::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  /* Should match the bar height for a perfect fit */
  height: 32px;
  background: #30ed87;
  /* Bright green */
  border-radius: 50%;
  /* Perfect 50% radius circle */
  transform: translate(-50%, -50%);
  z-index: -1;
  /* Sits on top of grey bar, but behind the number */
}

/* 5. Clean up Hover effect to match theme */
.calendar-table
  td:not(.other-month):hover:not(.selected-start):not(.selected-end) {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.calendar-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-apply {
  background: #30ed87;
  color: #000;
  border: none;
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.btn-cancel {
  background: none;
  color: #30ed87;
  border: 1px solid #30ed87;
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.table-container.no-data {
  background-color: transparent !important;
  min-height: auto !important;
}

#no-record-overlay {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.no-record-pill {
  width: 100%;
  height: 55px;
  background-color: #0d0f0f;
  color: #b3bec1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.form-label-his {
  text-align: left;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: B3BEC1;
}

.form-label-his span {
  color: #3cca7f;
}

.dropdown-container-his {
  position: relative;
  width: 100%;
}

.custom-input-his {
  background-color: #333939 !important;
  border: none;
  border-radius: 25px;
  color: #b3bec1;
  padding: 12px 20px;
  width: 100%;
  margin-bottom: 20px;
  appearance: none;
  -webkit-appearance: none;
}

.custom-input-his:focus {
  border-color: #24ee89;
  outline: none;
  background-color: #3c4444;
  box-shadow: 0 0 3px rgba(2, 255, 120, 0.3);
}

.dropdown-arrow-his {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #8e8e8e;
  pointer-events: none;
}

.date-readonly-his {
  cursor: pointer;
}

.btn-submit-his {
  background-color: #3cca7f;
  color: #141c1c;
  border: none;
  border-radius: 25px;
  width: 100%;
  padding: 12px;
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
}

/* CALENDAR MODAL BASE */
.calendar-modal-overlay-his {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3000;
}

.calendar-card-his {
  background: #1e2525;
  width: 100%;
  border-radius: 20px 20px 0 0;
  padding: 30px;
  min-height: 550px;
}

/* TOP DISPLAY BAR */
.top-display-bar-his {
  background: #2b3035;
  border: 1px solid #495057;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: #adb5bd;
  font-size: 14px;
  margin-bottom: 20px;
}

/* MONTH NAVIGATION */
.month-header-his {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.month-name-his {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.nav-btn-his {
  background: #495057 !important;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CALENDAR GRID */
.calendar-table-his {
  width: 100%;
  color: white;
  text-align: center;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.calendar-table-his th {
  color: #adb5bd;
  font-size: 12px;
  padding-bottom: 10px;
  font-weight: normal;
}

.calendar-table-his td {
  width: 40px;
  height: 40px;
  padding: 5px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* PILL SELECTION (Matches your image) */
.selected-day-his {
  color: #000 !important;
  font-weight: bold;
}

.selected-day-his::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  background: #30ed87;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  box-shadow: 0 0 10px rgba(48, 237, 135, 0.4);
}

.not-current-month {
  color: #555 !important;
}

/* TIME PICKER */
.time-picker-row-his {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #495057;
}

.time-select-his {
  background-color: #3c4444;
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  border: 1px solid #555555;
  border-radius: 8px;
  color: white;
  padding: 8px 25px 8px 12px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  min-width: 65px;
  text-align: center;
}

.time-select-his:focus {
  border-color: #3cca7f;
  outline: none;
  background-color: #3c4444;
  box-shadow: 0 0 5px rgba(60, 202, 127, 0.3);
}

.colon-his {
  color: white;
  font-weight: bold;
}

/* BUTTONS */
.calendar-actions-his {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-apply-his {
  background: #30ed87;
  color: #000;
  border: none;
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.btn-cancel-his {
  background: none;
  color: #30ed87;
  border: 1px solid #30ed87;
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.VP-nav-tab-his {
  display: flex;
  background-color: #0d0f0f;
  border-radius: 999px;
  padding: 6px;
  width: 100%;
  align-items: center;
}

/* The buttons */
.vp-tab-btn-his {
  flex: 1;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #b3bec1;
  cursor: pointer;
  transition: 0.2s;

  /* Centering logic */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-size: 14px;
}

.vp-tab-btn-his.active {
  background-color: #3a4142;
  color: white;
  font-weight: 600;
}

.vp-tab-btn-his img {
  display: block;
}

.table-responsive-his {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 2. Hide scrollbar for Chrome, Safari and Opera */
.table-responsive-his::-webkit-scrollbar {
  display: none;
}

.history-results-container-his {
  background-color: #141c1c;
  border-radius: 12px;
  margin-top: 70px;
  overflow: hidden;
}

.history-table-his {
  width: 100%;
  border-collapse: collapse;
}

.history-table-his thead tr {
  background-color: #3a4142;
}

.history-table-his th {
  padding: 12px 20px;
  color: #bbbbbb;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

/* Empty state styling */
.no-record-found-his {
  padding: 20px 20px 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.no-record-found-his p {
  color: #666666;
  font-size: 14px;
}

.divider-line-his {
  width: 100%;
  height: 1px;
  background-color: #3a4142;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: content-box;
}

.redeem-page-body {
  background-image: url("../img/redeem/Redeem_BG.png");
  background-size: cover;
  /* background-position: center center; */
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
}

.rdm-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 330px;
  padding-bottom: 100px;
  width: 100%;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

.rdm-content-card {
  background-color: #1e2525;
  width: 90%;
  max-width: 400px;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rdm-content-card h3 {
  color: #3cca7f;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

.rdm-content-card p {
  color: #bbbbbb;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 25px;
}

/* Unique Input Styling */
.rdm-field-input {
  width: 95%;
  background-color: #333b3b;
  border: 1px solid #444;
  border-radius: 30px;
  padding: 14px 22px;
  color: #b3bec1;
  margin-bottom: 16px;
  font-size: 14px;
  outline: none;
}

.rdm-field-input::placeholder {
  color: #b3bec1;
}

.rdm-btn-submit {
  width: 95%;
  background-color: #3cca7f;
  color: #141c1c;
  border: none;
  border-radius: 30px;
  padding: 14px;
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.rdm-btn-submit:active {
  background-color: #2da868;
}

.rdm-terms-label {
  display: block;
  color: #b3bec1;
  font-size: 11px;
  margin-top: 18px;
}

.bank-details-footer {
  width: 100%;
  border: 1px solid #3a4142;
  padding: 10px 15px;
  border-radius: 10px;
  color: #808080;
  font-size: 13px;
}

.bank-details-footer p {
  margin: 5px 0;
}

@media (max-width: 991.98px) {
  /* --- Header Adjustments (This part is unchanged) --- */
  .top-header .container {
    flex-direction: column;
    gap: 15px;
  }

  /* --- Main Navigation Adjustments (NEW) --- */
  /* Allow the main container for the nav bar to wrap its items */
  .main-nav .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
  }

  /* Position the date/time and language selector block */
  .main-nav .d-flex.ms-auto {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    order: 1;
  }

  .main-nav .nav {
    flex-wrap: wrap;
    justify-content: center;
    order: 2;
    padding-bottom: 0;
    overflow-x: hidden;
  }

  .carousel-text-overlay {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
  }

  .carousel-text-overlay h2 {
    font-size: 1.8rem;
  }

  .carousel-text-overlay p {
    font-size: 1rem;
  }

  .carousel-text-overlay h5 {
    font-size: 1rem;
  }

  /* --- Footer Adjustments (NEW) --- */
  footer {
    padding-top: 30px;
    padding-bottom: 15px;
    font-size: 0.8rem;
  }

  footer h6 {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  footer img {
    max-height: 28px !important;
    width: auto !important;
  }

  /* Specific adjustments for oddly shaped icons */
  footer [alt="Fpay"] {
    max-height: 22px !important;
  }

  footer [alt="GCB License"] {
    width: 80px !important;
    height: auto !important;
  }
}

/* /* input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
} */

/* input[type="password"]::-webkit-textfield-decoration-container {
    display: none;
}  */

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

input[type="date"] {
  appearance: none;
}

/* promotion modal */
.promo-subtitle {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.model_promotion .modal-content {
  background: #1e2525;
}

.model_promotion .modal-header {
  background: #1e2525;
}

.modal.model_promotion .modal-dialog {
  margin: 7px;
}

.message-modal-title h6 {
  color: #3cca7f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: bolder;
}

.message-modal-title p {
  color: #b3bec1;
  font-size: 13px;
  font-weight: bolder;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.model_promotion .modal-header .modal-title {
  color: #3cca7f;
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 17px;
  font-weight: bolder;
}

.model_promotion .modal-header .btn-close {
  background: url(../images/);
}

.modal.model_promotion .modal-dialog-centered {
  min-height: unset !important;
}

.message-modal-desc table {
  border-color: #393939;
  border-radius: 16px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  color: white;
  text-align: center;
  background-color: #1e2525;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.btn_theme {
  border: none;
  font-weight: bold;
  font-size: 15px;
  display: block;
  border-radius: 30px;
  width: 90%;
  margin: 10px auto;
  background: #3cca7f;
  padding: 10px 10px;
  text-align: center;
}

/* deposit */
input::placeholder {
  color: #b3bec1;
  /* your desired color */
  opacity: 1;
  /* make sure it’s fully visible */
}

.promo-content .promo-tab {
  width: 100%;
  background-color: #0d0f0f;
  border-radius: 999px;
  display: flex;
  padding: 5px;
}

.tab-btn-promo {
  width: 100%;
  border: none;
  background: transparent;
  color: white;
  border-radius: 999px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
}

.tab-btn-promo.active {
  background-color: #3a4142;
  color: white;
}

.second-promo-content {
  display: none;
  margin-top: 15px;
  height: 60vh;
  /* or 55vh / 65vh */
  overflow-y: auto;
  padding-bottom: 50px;
  scrollbar-width: none;
}

.second-promo-content.active {
  display: block;
}

.promo-option {
  width: 95%;
  margin: 0 auto;
}

.promo-item {
  gap: 20px;
  align-items: center;
  border: none;
  border-radius: 10px;
  background-color: #141c1c;
  width: 100%;
  color: white;
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
  padding: 12px 20px;
}

.promo-item:not(.active) {
  display: none;
}

.deposit-history table {
  width: 100%;
  border-collapse: collapse;
  /* important */
  font-size: 13px;
}

.deposit-history thead th {
  background-color: #3a4142;
  /* header bg */
  color: #b3bec1;
  padding: 12px;
  text-align: left;
}

/* top left corner */
.deposit-history thead th:first-child {
  border-top-left-radius: 12px;
}

/* top right corner */
.deposit-history thead th:last-child {
  border-top-right-radius: 12px;
}

.deposit-history tbody td {
  background-color: transparent;
  color: #b3bec1;
  padding: 12px 8px;
}

.deposit-history tbody tr {
  border-bottom: 1px solid #3a4142;
}

/* optional: remove last line */
.deposit-history tbody tr:last-child {
  border-bottom: none;
}

.deposit-history th,
.deposit-history td {
  text-align: center;
}

.superpay {
  margin-bottom: 20px;
}

.payment-type-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #b3bec1;
}

.payment-btn {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  background: transparent;
  border: none;
  color: #b3bec1;
  cursor: pointer;
}

.payment-img-box {
  width: 12%;
  border: 1px solid #b3bec1;
  padding: 5px;
  border-radius: 10px;
}

.payment-btn.active {
  color: white;
}

.payment-btn.active .payment-img-box {
  border-color: #3cca7f;
}

.payment-btn.active .payment-type-dot {
  border-color: #3cca7f;
}

.payment-type-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #b3bec1;
  position: relative;
}

.payment-type-dot::after {
  content: "";
  width: 10px;
  /* 👈 size of active dot */
  height: 10px;
  border-radius: 50%;
  background-color: #3cca7f;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  /* hidden by default */
}

.payment-btn.active .payment-type-dot {
  border-color: #3cca7f;
}

.payment-btn.active .payment-type-dot::after {
  opacity: 1;
}

.crypto-btn {
  border: none;
  background-color: transparent;
  color: #b3bec1;
  width: 100%;
  font-size: 12px;
}

.crypto-btn-img-box {
  border: 1px solid #b3bec1;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  /* keeps square */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px 10px;
}

.crypto-btn-img {
  width: 100%;
  height: auto;
  /* ✅ auto scale */
  filter: grayscale(100%);
}

.crypto-btn.active .crypto-btn-img {
  filter: grayscale(0%);
}

.crypto-btn.active p {
  color: white;
}

.crypto-btn.active .crypto-btn-img-box {
  border-color: #3cca7f;
  /* ONLY image box border */
}

/* .deposit-channel,
.deposit-receipt {
    display: none;
} */

.bank-custom-radio:checked {
  border-color: #3cca7f;
}

.bank-custom-radio {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #3cca7f;
  position: relative;
  cursor: pointer;
}

.bank-custom-radio {
  pointer-events: none;
}

.bank-custom-radio:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #3cca7f;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bank-option-img-box {
  width: 12%;
  border: 1px solid #b3bec1;
  border-radius: 10px;
  padding: 8px 10px;
}

/* active state */
.bank-option.active .bank-option-img-box {
  border-color: #3cca7f;
}

/* .bank-option p {
    color: #B3BEC1;
}

.bank-option.active p {
    color: white;
} */

/* hide extra content */
.bank-extra {
  margin: 10px 0;
  display: none;
}

#amountInput:focus {
  outline: none;
  box-shadow: none;
  /* important if using Bootstrap */
}

.deposit-badge-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.deposit-user-badge {
  background-color: #141c1c;
  color: #d07f24;
  font-size: 11px;
  padding: 2px 15px 2px 35px;
  /* extra LEFT padding for icon */
  border-radius: 999px;
  white-space: nowrap;
}

.deposit-name-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  justify-content: flex-end;
  margin-bottom: 5px;
}

.receipt-input-button input:focus {
  outline: none;
  box-shadow: none;
}

.quick-pay-btn {
  gap: 8px;
}

/* ===== depo_design5_index: extracted inline styles ===== */
.deposit-header {
  color: aliceblue;
  text-align: center;
  padding: 20px 0;
  display: flex;
  width: 100vw;
  max-width: var(--max-width-desktop);
  margin: auto;
  flex-direction: column;
  background-color: #0d0f0f;
}

.VP-user-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
}

.VP-user-row {
  display: flex;
  justify-content: flex-start;
  background-color: #0d0f0f;
}

.depo-user-avatar {
  width: 58px;
  height: 58px;
  background-color: transparent;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depo-user-avatar img {
  width: 48px;
  height: 48px;
}

.deposit-header .deposit-name-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 5px;
}

.deposit-header .username {
  font-size: 15px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.deposit-header .badge-cover {
  width: 32px;
  height: 32px;
  margin-left: 5px;
}

.deposit-header .deposit-user-badge {
  background-color: #525656;
  font-size: 12px;
  padding: 2px 15px 2px 45px;
}

.depo-balance-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 9px;
  margin-left: 10px;
}

.depo-balance-label {
  display: flex;
  justify-content: flex-start;
}

.depo-balance-label p {
  margin: 0;
  font-size: 12px;
  color: #b3bec1;
}

.depo-required,
.depo-accent {
  color: #3cca7f;
}

.depo-balance-bar {
  width: 80%;
  display: flex;
  justify-content: space-between;
  border: none;
  background-color: #3a4142;
  border-radius: 999px;
  align-items: center;
}

.depo-balance-inner {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 2px;
  justify-content: space-between;
  text-align: center;
  margin-left: 10px;
}

.depo-balance-inner p {
  margin: 0;
}

.depo-refresh-btn {
  border: none;
  background-color: transparent;
}

.depo-refresh-btn img {
  width: 15px;
  height: 15px;
}

.deposit-body {
  width: 90%;
  max-width: var(--max-width-desktop);
  margin: 20px auto;
  color: #b3bec1;
}

.deposit-nav-tab {
  width: 100%;
  border-radius: 999px;
  background-color: #0d0f0f;
  display: flex;
  justify-content: space-between;
  padding: 5px;
  flex-wrap: nowrap;
}

.deposit-tab-btn img {
  width: 23%;
}

.deposit-tab-btn img.depo-tab-img-bank {
  width: 20%;
}

.deposit-tab-btn img.depo-tab-img-crypto {
  width: 32%;
}

.deposit-tab-btn p {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.depo-section-label {
  margin: 10px;
}

.depo-section-label .depo-required {
  color: #3cca7f;
}

.quick-pay-btn.depo-method-row {
  width: 100%;
  display: flex;
  color: white;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.qp-btn.depo-btn-reset {
  border: none;
  background-color: transparent;
  color: #b3bec1;
  width: 100%;
  width: 63px;
  text-align: center;
}

.qp-text-box {
  margin: 10px 0;
}

.qp-text-box p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.fp-img-box img.depo-fp-img {
  width: 70%;
  height: 60%;
  object-fit: contain;
  filter: grayscale(100%);
}

.fp-btn.active .fp-img-box img.depo-fp-img {
  filter: grayscale(0%);
}

.superpay-select {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-radius: 999px;
  border: none;
  background-color: #3a4142;
  color: #b3bec1;
  text-align: left;
}

.superpay-select-inner {
  width: 95%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
}

.depo-dropdown-arrow {
  width: auto;
  height: 10px;
}

.payment-type-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #1e2525;
  border-radius: 10px;
  padding: 10px;
}

.payment-type-container .payment-img-box img {
  width: 100%;
  filter: grayscale(100%);
}
.payment-btn.active .payment-img-box img {
  filter: grayscale(0%);
}

.qp-content.ewallet {
  margin-bottom: 40px;
}

.fp-btn.depo-fp-ewallet {
  overflow: visible;
  position: relative;
}

.fp-btn.depo-fp-ewallet .fp-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-btn.depo-fp-ewallet p,
.ewallet-label-center {
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.bank-option-wrapper {
  margin: 20px 0;
}

.bank-option-wrapper .bank-option {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.bank-option-left {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.bank-option-img-box img {
  width: 100%;
  object-fit: contain;
}

.bank-option-status {
  background-color: #3cca7e56;
  color: #3cca7f;
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 12px;
}

.bank-info-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3a4142;
  border-radius: 10px;
  padding: 10px 25px;
}

.bank-info-row p {
  margin: 0;
  font-size: 13px;
}

.bank-info-copy {
  border: none;
  background-color: transparent;
  width: 10%;
}

.bank-info-copy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crypto-btn-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 10px;
}

.crypto-btn-img-box {
  width: 100%;
}

.crypto-btn-name {
  margin-top: 10px;
}

.deposit-amount > p,
.depo-amount-label {
  margin: 10px;
  color: white;
}

.deposit-amount #amountInput,
#amountInput.depo-amount-input,
.depo-amount-input {
  width: 100%;
  padding: 15px 23px;
  border-radius: 999px;
  border: none;
  background-color: #3a4142;
  color: white;
}

.num-input {
  width: 100%;
  display: flex;
  margin: 10px 0;
}

.amount-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  border: none;
  border: 1px solid #3cca7f;
  background-color: transparent;
  color: #3cca7f;
  padding: 10px 20px;
  border-radius: 999px;
  margin: 5px;
  text-align: center;
}

#depo_method {
  display: none;
}

.deposit-channel-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-radius: 999px;
  border: none;
  background-color: #3a4142;
  color: white;
  width: 100%;
}

.deposit-channel-label {
  margin: 0;
}

.deposit-channel-btn img {
  width: 5%;
}

#fileToUpload.depo-file-hidden {
  display: none;
}

.receipt-input-button {
  width: 100%;
  display: flex;
  gap: 10px;
}

#receipt-label.receipt-label-input,
.receipt-label-input {
  width: 70%;
  display: flex;
  padding: 10px 25px;
  background-color: #3a4142;
  border-radius: 999px;
  border: none;
  color: white;
}

.js-file-upload-receipt {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: white;
  color: #141c1c;
  border-radius: 999px;
  padding: 13px 4px;
  font-size: 12px;
}

.depo-receipt-notice {
  color: #3cca7f;
}

.deposit-promotion > p {
  margin: 10px;
  color: white;
}

.depo-promo-trigger-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-radius: 999px;
  border: none;
  background-color: #3a4142;
  color: white;
  text-align: left;
}

.depo-promo-trigger-inner {
  width: 95%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
}

.depo-promo-trigger-inner #promotion-type {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#depo_submit_btn {
  margin: 30px auto;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 999px;
  border: none;
  background-color: #3cca7f;
  color: #141c1c;
}

.deposit-history > p.depo-history-title {
  margin-top: 30px;
  margin-bottom: 10px;
  color: white;
  font-size: 15px;
}

.depo-history-wrap {
  width: 100%;
  display: flex;
}

.deposit-history table.depo-history-table {
  width: 100%;
}

.deposit-history tbody td.depo-status-cell {
  color: #3cca7f;
}

.deposit-history .text-center.depo-no-record {
  color: #b3bec1;
}

.deposit-footer {
  margin: 20px 0;
  width: 100%;
  border: 1px solid #3a4142;
  background-color: transparent;
  border-radius: 10px;
  color: #525656;
  font-size: 12px;
  padding: 15px;
}

.deposit-footer p:first-child {
  font-size: 16px;
}

.deposit-footer a {
  color: #3cca7f;
}

.promo-content h4 {
  text-align: center;
  margin: 10px 0;
  font-weight: bold;
}

.promo-option.promo-list {
  width: 95%;
  margin: 0 auto;
}

.promo-select-btn.promo-empty {
  color: #b3bec1;
  border: none;
  background-color: #141c1c;
  border-radius: 10px;
  padding: 25px;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.promo-item-icon {
  border-radius: 50%;
  background-color: #3a4142;
  padding: 20px;
}

.promo-item-icon.slots {
  background-image: url(../img/deposit/promotion/icon_promotion_slot.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 45%;
}

.promo-item-icon.casino {
  background-image: url(../img/deposit/promotion/icon_promotion_casino.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 45%;
}

.promo-item-icon.sports {
  background-image: url(../img/deposit/promotion/icon_promotion_sports.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 45%;
}

/* .promo-item-icon img {
    width: 100%;
} */

.promo-item-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: flex-start;
  gap: 3px;
}

.promo-item-text p {
  margin: 0;
  text-align: start;
}

.promo-item-text p.depo-promo-meta {
  color: #3cca7f;
  font-size: 12px;
}

.second-promo-content.code {
  width: 95%;
  margin: 0 auto;
}

.second-promo-content.code > p {
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0;
}

.second-promo-content.code .promo-code-row {
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.promo-code-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #3a4142;
  background-color: #141c1c;
  color: white;
}

.depo-promo-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: #3cca7f;
  color: #141c1c;
  padding: 15px;
  border-radius: 999px;
  margin-top: 20px;
  font-weight: bold;
}

/* dropdown */
.payment-option {
  display: none;
}

.bank-details-body {
  width: 85%;
  margin: 35px auto;
  color: #ffffff;
}

.bank-details {
  margin: 20px 0;
}

.bank-select-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 16px;
  color: white;
  background-color: #3a4142;
}

.bank-details input {
  width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 16px;
  color: white;
  background-color: #3a4142;
}

.payment-option {
  width: 100%;
  background-color: #3a4142;
  padding: 20px 0;
  margin-top: -25px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.method-option {
  width: 100%;
  padding: 8px 16px;
  border: none;
  color: #b3bec1;
  background-color: #3a4142;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.method-option img {
  width: 10%;
}

.add-bank-details button {
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  color: #141c1c;
  background-color: #3cca7f;
  font-size: 16px;
  font-weight: 700;
}

.bank-detail-notice {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
  margin: 10px;
}

.bank-detail-notice img {
  width: 15px;
  height: 15px;
}

.bank-detail-notice span {
  font-size: 12px;
  color: #b3bec1;
}

/* Side menu panel — header_design5.php */
.sidebar-container {
  position: fixed;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  width: 68%;
  max-width: 330px;
  font-size: 14px;
  height: 100%;
  background-color: #252522;
  z-index: 2000;
  padding-bottom: 80px;
  scrollbar-width: none;
  top: 0;
}

.sidebar-container .sidebar {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  height: 100%;
}

.sidebar-container .user-block {
  width: 100%;
  height: 6.4vh;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #3a4142, #3cca7f);
}

.sidebar-container .sidebar-user-row {
  width: 90%;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
}

.sidebar-container .user-block-info {
  display: flex;
  flex-direction: column;
  margin: 20px;
}

.sidebar-container #sidebarUsername {
  margin: 0;
  margin-top: 10px;
  font: 1em sans-serif;
}

.sidebar-container .user-status {
  margin: 0;
}

.sidebar-container .user-status > img {
  width: 25%;
  padding-bottom: 5px;
}

.sidebar-container .sidebar-vip-member-text {
  color: #ca7a3c;
  font-size: 12px;
}

.sidebar-container .user-block-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 20px;
}

.sidebar-container .user-block-logo img {
  width: 40%;
}

.sidebar-container .side-bar-back {
  display: flex;
  align-items: center;
}

.sidebar-container .sidebar-close-btn {
  border: none;
  background-color: transparent;
  align-items: center;
  height: 100%;
  display: flex;
  padding: 0;
  cursor: pointer;
}

.sidebar-container .sidebar-close-btn img {
  width: 60%;
}

.sidebar-container .refer-btn {
  margin-top: 10px;
  display: flex;
  width: 100%;
  align-items: center;
}

.sidebar-container .sidebar-cta-btn {
  color: #fff;
  border: none;
  gap: 10px;
  padding: 5px 10px;
  height: 6.1vh;
  display: flex;
  width: 90%;
  align-items: center;
  margin: 10px auto;
  border-radius: 10px;
  cursor: pointer;
  justify-content: flex-start;
}

.sidebar-container .sidebar-cta-btn--refer {
  background: linear-gradient(to right, #3cca7f, #3a4142);
}

.sidebar-container .sidebar-cta-btn img,
.sidebar-container .sidebar-action-btn img {
  height: 80%;
}

.sidebar-container .sidebar-cta-label {
  text-align: center;
  width: 100%;
}

.sidebar-container .vp-spin-row {
  font-size: 12px;
  margin: 5px auto;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sidebar-container .sidebar-action-btn {
  color: #fff;
  border: none;
  gap: 5px;
  padding: 5px 10px;
  height: 5vh;
  border-radius: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: flex-start;
}

.sidebar-container .sidebar-action-btn--vp {
  background: linear-gradient(to right, #aacc10, #3a4142);
}

.sidebar-container .sidebar-action-btn--spin {
  background: linear-gradient(to right, #ca7a3c, #3a4142);
}

.sidebar-container .block-one {
  border: none;
  width: 90%;
  margin: 10px auto;
  margin-top: 15px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #525656;
}

.sidebar-container .block-two,
.sidebar-container .block-three,
.sidebar-container .block-four {
  width: 90%;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
}

.sidebar-container .block-two {
  font-size: 14px;
}

.sidebar-container .block-four {
  padding-bottom: 80px;
}

.sidebar-container .button-block {
  border-radius: 10px;
  background-color: #3a4142;
  padding: 7px 10px;
  gap: 20px;
  border: none;
  color: #fff;
}

.sidebar-container .block-one .button-block,
.sidebar-container .block-three .button-block,
.sidebar-container .block-four .button-block {
  font-size: 14px;
}

.sidebar-container .button-block--logout {
  padding: 10px;
}

.sidebar-container .sidebar-nav-divider {
  border-top: 1px solid rgb(106, 106, 106);
  margin: 8px 0;
}

.sidebar-container .sidebar-nav-btn {
  color: #fff;
  height: 3.5vh;
  gap: 15px;
  background-color: transparent;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.sidebar-container .block-one .button-block > .sidebar-nav-btn:first-of-type {
  margin-bottom: 5px;
}

.sidebar-container .sidebar-nav-btn img {
  height: 80%;
  flex-shrink: 0;
}

.sidebar-container .sidebar-nav-icon--vip {
  height: 53%;
}

.sidebar-container .sidebar-nav-icon--p2p {
  height: 63%;
}

.sidebar-container .sidebar-nav-icon--lg {
  height: 90%;
}

.sidebar-container .sidebar-nav-icon--sponsor {
  height: 60%;
}

.sidebar-container .sidebar-logout-link {
  color: #fff;
  height: 4vh;
  gap: 15px;
  border: none;
  background-color: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  box-sizing: border-box;
}

/* ---- index_design5.php: inline-style replacements (scoped) ---- */
/* Home page inline <style> blocks */
#home {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

#home .marquee-content {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
}

#home .home-banner {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

#home .home-banner::-webkit-scrollbar {
  display: none;
}

#home .banner-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

#home .banner-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Inline style block inside index_design5.php (was global) */
input:focus {
  outline: none;
  box-shadow: none;
  /* remove bootstrap glow if any */
}

/* User panel (was inline style on various elements) */
#home #userContainer .user-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#home #userContainer .user-balance {
  flex: 1;
}

#home #userContainer .user-balance > p {
  margin-top: 15px;
  margin-bottom: 2px;
}

#home #userContainer .user-balance > p > a {
  color: #3cca7f;
  padding: 5px;
}

#home #userContainer .balance-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #3a4142;
  border-radius: 35px;
  padding: 5px 12px;
  width: 100%;
}

#home #userContainer #member_creadit {
  color: #ffffff;
  margin: 0;
  font-size: 15px;
}

#home #userContainer img.js-refresh {
  width: 18px;
  height: 18px;
}

#home #userContainer .user-actions {
  display: flex;
  justify-content: space-between;
  width: 50%;
}

#home #userContainer .user-actions p {
  margin: 0 4px;
  margin-bottom: -3px;
}

#home #userContainer img.badge-cover {
  width: 28px;
  height: 28px;
  margin-left: 2px;
}

/* Auth buttons */
#home #authButtons {
  background-color: #1e2525;
}

#home #authButtons .d-flex.align-items-center.gap-2.w-100 {
  max-width: 500px;
}

#home #loginBtn {
  border-radius: 999px;
  padding: 7px 6px;
}

#home #loginBtn img {
  width: 35px;
  height: 35px;
}

#home #loginBtn .flex-grow-1.text-center {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

#home #registerBtn {
  background: linear-gradient(to right, #3cca7f, #3cca7f);
  color: #1e2525;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 7px 6px;
  font-size: 0.85rem;
  width: 120px;
}

#home #registerBtn img {
  width: 35px;
  height: 35px;
}

#home #registerBtn .flex-grow-1.text-center {
  font-size: 18px;
  font-weight: bold;
}

/* Game category spacing */
#home .game-category-container {
  margin-top: 15px;
}

/* Casino grid (was inline) */
#home .casino-cont {
  min-height: 620px;
}

#home .casino-cont .game-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

#home .casino-cont .game-card-button {
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
}

#home .casino-cont .game-card-button img {
  width: 100%;
  border-radius: 10px;
}

/* game-cont margin-top helpers (replaces inline margin-top styles) */
#home .home-mt-25 {
  margin-top: 25px;
}

#home .home-mt-30 {
  margin-top: 30px;
}

#home .home-crash-wrap {
  margin-bottom: 40px;
}

#home .crash-cont {
  margin-bottom: 40px;
}

/* Lottery section */
#home .lottery-cont .no-background-game-card-container {
  margin: 0;
  padding: 0;
}

#home .lottery-cont .home-lottery-note {
  margin-top: -5%;
  color: #b3bec1;
  text-align: center;
  font-size: 11px;
}

#home .lottery-game-btn-row .home-lottery-bet-now-btn {
  color: #000000;
  background-color: #3cca7f;
  font-size: 12px;
  border: none;
}

#home .lottery-game-btn-row .home-lottery-result-btn {
  color: #3cca7f;
  background-color: transparent;
  border: 1px solid #3cca7f;
  font-size: 12px;
}

/* Tutorial section */
#home .home-tutorial-pt-10 {
  padding-top: 10px;
}

#home .home-tutorial-video-radius {
  border-radius: 15px;
}

/* Announcement modal inline replacements */
#announcement-modal .announcement-modal-popup {
  width: 80vw;
  max-width: 550px;
  height: 45vh;
  position: relative;
  background-color: #1e2525;
  border-radius: 16px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#announcement-modal .announcement-slider {
  overflow-x: scroll;
}

#announcement-modal .announcement-modal-body > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#announcement-modal .announcement-text-container {
  color: #b3bec1;
  font-size: 13px;
}

#announcement-modal .announcement-modal-rebate-title {
  font-size: 16px;
  color: white;
  margin: 5px 0;
}

#announcement-modal .announcement-modal-calendar-row {
  margin-bottom: 10px;
}

#announcement-modal .announcement-modal-details-title {
  font-size: 18px;
  color: white;
  margin: 5px 0;
}

#announcement-modal .announcement-modal-green-line {
  color: rgb(63, 201, 116);
  margin: 2px;
}

#announcement-modal .announcement-modal-line.announcement-modal-m2 {
  margin: 2px;
}

#announcement-modal .announcement-modal-line.announcement-modal-m5 {
  margin: 5px 0;
}

#announcement-modal .announcement-modal-muted-line {
  color: #bec9cc;
}

.description-container strong {
    display: block;
}

.description-container img {
    width: 100%;
}

.account-btn {
  border: none;
  background-color: transparent;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}

.account-btn-icon-container {
  background-color: #3a4142;
  border-radius: 15px;
  aspect-ratio: 1 / 1;
  /* Keep it square */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15%;
  width: 70%;
  height: 40%;
  padding-bottom: 50%;
  /* Creates perfect square based on width */
  position: relative;
}

.account-btn-icon-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  /* ← ADJUST THIS to make icons bigger/smaller */
  height: 70%;
  object-fit: contain;
}

.account-btn-label {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
  line-height: 1.2em;
  min-height: 24px;
  /* Ensures consistent spacing even with text wrapping */
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.myAccount-button-row {
  width: 95%;
  margin: 10px auto 10px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.account-badge-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.account-user-badge {
  background-color: #141c1c;
  color: #e7a646;
  font-size: 11px;
  padding: 2px 10px 2px 40px;
  /* extra LEFT padding for icon */
  border-radius: 999px;
  white-space: nowrap;
}

.account-name-row {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: flex-end;
  margin-bottom: 5px;
  align-items: flex-start;
}

/* =============================================================================
   mod/member/info/info_design5.php — styles moved from inline
   ============================================================================= */

.member-info-d5-hidden {
  display: none !important;
}

#calendarModal.calendar-modal-overlay {
  display: none;
}

#calendarModal.calendar-modal-overlay.is-open {
  display: flex;
}

#calendar-modal-his.calendar-modal-overlay-his {
  display: none;
}

#calendar-modal-his.calendar-modal-overlay-his.is-open {
  display: flex;
}

/* Member center */
.member-info-d5-mc-root {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}
.member-info-d5-mc-banner {
  position: relative;
  width: 100%;
}

.member-info-d5-img-block {
  width: 100%;
  display: block;
}

.member-info-d5-banner-user-row {
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 90%;
  margin: 0 auto;
  position: absolute;
  color: #fff;
  bottom: 15px;
}

.member-info-d5-w-13 {
  width: 13%;
}

.member-info-d5-stretch-img {
  width: 100%;
}

.member-info-d5-flex-ml-tl {
  display: flex;
  margin-left: 10px;
  text-align: left;
}

.member-info-d5-account-name-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}

.member-info-d5-username-banner {
  font-size: 19px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  margin-bottom: 3px;
}

.account-user-badge.member-info-d5-badge-tier {
  background-color: #525656;
  font-size: 12px;
}

.member-info-d5-vip-badge-img {
  width: 33px;
  height: 33px;
}

.member-info-d5-panel-balance {
  width: 93%;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #0d0f0f;
  color: #fff;
  padding: 10px 0;
}

.member-info-d5-balance-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 90%;
  margin: 10px auto;
}

.member-info-d5-flex-col-stretch {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-info-d5-flex-start {
  display: flex;
  justify-content: flex-start;
}

.member-info-d5-muted-label {
  margin: 0;
  font-size: 12px;
  color: #b3bec1;
}

.member-info-d5-accent,
a.member-info-d5-accent {
  color: #3cca7f;
}

.member-info-d5-balance-track {
  display: flex;
  justify-content: space-between;
  border: none;
  background-color: #3a4142;
  border-radius: 999px;
  align-items: center;
}

.member-info-d5-balance-track-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  margin-left: 10px;
}

.member-info-d5-p0 {
  margin: 0;
}

.member-info-d5-refresh-col {
  display: flex;
  flex-direction: column;
  width: 10%;
  justify-content: flex-end;
}

.member-info-d5-mc-cta-row {
  width: 95%;
  margin: 20px auto 0;
  display: flex;
  gap: 5px;
  justify-content: space-between;
}

.member-info-d5-panel-directory {
  width: 93%;
  margin: 20px auto;
  border-radius: 10px;
  background-color: #0d0f0f;
  color: #fff;
}

.member-info-d5-dir-pad-y {
  padding: 5px 0;
}

.member-info-d5-redeem-outer {
  width: 95%;
  margin: 10px auto;
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

.member-info-d5-quarter-slot {
  width: calc(25% - 6px);
}

.member-info-d5-logout-wrap {
  width: 80%;
  margin: 0 auto;
}

a.member-info-d5-logout-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 8px;
  background-color: #3cca7f;
  color: #0d0f0f;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  text-decoration: none;
}

/* Referral */
.member-info-d5-ref-root {
  color: aliceblue;
  text-align: center;
  display: flex;
  width: 90vw;
  margin: 20px auto;
  flex-direction: column;
}

.VP-nav-tab.member-info-d5-vp-nav-inner {
  display: flex;
  background-color: #0d0f0f;
  border-radius: 999px;
  color: #fff;
  padding: 6px;
}

.member-info-d5-ref-body {
  width: 100%;
  margin-top: 20px;
}

.member-info-d5-overview-root {
  width: 100%;
}

.share-card.member-info-d5-w-full {
  width: 100%;
}

.member-info-d5-social-row {
  display: flex;
  justify-content: center;
  gap: 2vw;
  flex-wrap: nowrap;
}

.member-info-d5-social-icon-img {
  width: clamp(24px, 10vw, 40px);
  height: auto;
}

.member-info-d5-pag-img-prev {
  width: 7px;
  margin-right: 4px;
}

.member-info-d5-pag-img-next {
  width: 7px;
  margin-left: 4px;
}

/* View profile */
.view-profile-banner.member-info-d5-vp-banner {
  position: relative;
  width: 100%;
  height: 184px;
}

.profile-info.member-info-d5-vp-avatar-row {
  position: absolute;
  bottom: 45px;
  left: 145px;
  display: flex;
  justify-content: center;
  width: 60%;
}

.member-info-d5-vp-avatar-ring {
  width: 55px;
  height: 55px;
  background-color: #3a4142;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info-d5-vp-avatar-img {
  width: 45px;
  height: 45px;
}

.profile-username.member-info-d5-vp-userbar {
  position: absolute;
  display: flex;
  bottom: 15px;
  justify-content: center;
  width: 100%;
}

.member-info-d5-vp-username {
  font-size: 19px;
}

.profile-container.member-info-d5-vp-container {
  width: 80%;
  margin: 10px auto;
  color: #fff;
}

.member-info-d5-vp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-info-d5-vp-label-center {
  align-items: center;
  text-align: center;
  margin: 0;
}

.member-info-d5-vp-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
}

.member-info-d5-vp-meta-line {
  margin: 0;
  color: #b3bec1;
}

.profile-form.member-info-d5-mt-tight {
  margin-top: 3px;
}

.profile-form.member-info-d5-mt-loose {
  margin-top: 15px;
}

.member-info-d5-vp-field-label {
  margin: 5px 0;
}

.member-info-d5-vp-input-readonly {
  width: 100%;
  border: none;
  border-radius: 999px;
  color: #fff;
  background-color: #3a4142;
  padding: 10px;
  padding-left: 15px;
}

.member-info-d5-vp-field-shell {
  display: flex;
  border: none;
  background-color: #3a4142;
  width: 100%;
  border-radius: 999px;
}

.member-info-d5-vp-field-inner {
  width: 100%;
  background-color: #3a4142;
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-info-d5-vp-value-muted {
  color: #b3bec1;
  font-size: 14px;
}

.member-info-d5-vp-verified {
  color: #3cca7f;
  font-size: 13px;
}

.text_verify.not_yet {
  color: red;
  font-size: 13px;
  cursor: pointer;
}

.text_verify.verified {
  color: #3cca7f;
}

.member-info-d5-vp-dob-row {
  background-color: #3a4142;
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.member-info-d5-vp-dob-input {
  color: #b3bec1;
  font-size: 14px;
  background-color: transparent;
  border: none;
  flex: 1;
  min-width: 0;
}

a.edit_dob.member-info-d5-vp-edit-link,
.edit_dob.member-info-d5-vp-edit-link {
  border: none;
  background: transparent;
  color: #3cca7f;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}

.profile-gender.member-info-d5-vp-gender-bar {
  background-color: #1e2525;
  padding: 5px;
  border-radius: 999px;
  display: flex;
  width: 100%;
}

.gender-btn.member-info-d5-vp-gender-label {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

.gender-btn.member-info-d5-vp-gender-label input[type="radio"] {
  display: none;
}

.member-info-d5-vp-gender-img-m {
  width: 18px;
}

.member-info-d5-vp-gender-img-f {
  width: 16px;
}

.member-info-d5-vp-shipping-input {
  width: 100%;
  background-color: #3a4142;
  border-radius: 999px;
  padding: 12px 16px;
  border: none;
  color: #fff;
  cursor: pointer;
}

#confirm_info.member-info-d5-vp-submit,
button.member-info-d5-vp-submit {
  width: 100%;
  display: flex;
  margin: 20px auto;
  font-size: 18px;
  font-weight: bolder;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #3cca7f;
  color: #141c1c;
  border: none;
  border-radius: 999px;
}

.notice.member-info-d5-vp-notice {
  border: 2px solid #b3bec1;
  background-color: transparent;
  color: #b3bec1;
  border-radius: 15px;
  width: 90%;
  margin: 0 auto;
}

.member-info-d5-vp-notice-pad {
  padding: 20px;
}

.member-info-d5-vp-notice-small {
  font-size: 12px;
}

/* Profile verify modals */
.mobile-modal.member-info-d5-verify-sheet,
.email-modal.member-info-d5-verify-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  height: 40vh;
  background-color: #1e2525;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  padding: 20px;
  display: none;
  z-index: 2000;
  color: #fff;
}

.mobile-modal.member-info-d5-verify-sheet.is-open,
.email-modal.member-info-d5-verify-sheet.is-open {
  display: block;
}

button.modal-close.member-info-d5-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.member-info-d5-verify-inner {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.member-info-d5-verify-title {
  color: #3cca7f;
  font-size: 17px;
}

.member-info-d5-verify-field-block {
  width: 100%;
}

.member-info-d5-verify-field-label {
  text-align: left;
  margin: 6px 0;
}

.member-info-d5-verify-input-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: #3a4142;
  border-radius: 999px;
  align-items: center;
}

.member-info-d5-verify-txt-input {
  flex: 1;
  min-width: 0;
  border: none;
  background-color: transparent;
  padding: 10px;
  color: #b3bec1;
}

.member-info-d5-verify-tick {
  width: 45px;
  padding: 7px;
  padding-right: 10px;
}

a.send_code.member-info-d5-send-code {
  color: #3cca7f;
}

.btn.member-info-d5-verify-submit-primary {
  background: #3cca7f;
  color: #141c1c;
  border-radius: 999px;
  font-weight: bold;
}

#submit_veri_email.member-info-d5-email-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: none;
  background-color: #3cca7f;
  color: #141c1c;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bolder;
  padding: 8px;
  margin-top: 20px;
}

.modal_verify .modal-content.member-info-d5-bs-modal-content {
  background-color: #1e2525;
  color: #fff;
  border-radius: 16px;
}

.modal_verify .form-control.member-info-d5-bs-input {
  background: #3a4142;
  border: none;
  color: #b3bec1;
  border-radius: 999px;
}

#submit-shipping.btn.member-info-d5-bs-submit {
  background: #3cca7f;
  color: #141c1c;
  border-radius: 999px;
  font-weight: bold;
}

.shipping-modal.member-info-d5-shipping-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  height: 78vh;
  background-color: #1e2525;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  padding: 20px;
  /* display: none; */
  z-index: 2000;
  color: #fff;
}

.shipping-modal.member-info-d5-shipping-sheet.is-open {
  display: block;
}

.member-info-d5-shipping-inner {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.member-info-d5-shipping-title {
  color: #3cca7f;
  font-size: 17px;
}

button.member-info-d5-shipping-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: none;
  background-color: #3cca7f;
  color: #141c1c;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bolder;
  padding: 8px;
  margin-top: 20px;
}

#modalOverlay.modal-overlay.member-info-d5-profile-backdrop {
  display: none;
}

#modalOverlay.modal-overlay.member-info-d5-profile-backdrop.is-open {
  display: block;
}

.modal-language.fade .modal-dialog {
  transform: translateX(100%);
}

.modal-language.fade.show .modal-dialog {
  transform: none;
}

#languagesModal .inner-nav {
  position: relative;
  background: #141c1c;
  height: 100%;
  overflow-y: auto;
}

#main-nav .inner-nav {
  width: 100%;
  position: relative;
  background: #141d1c;
  height: 100%;
  overflow-y: auto;
}

/* ===== with_design5_index: extracted inline styles ===== */
.deposit-header .withdrawal-name-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
}

.deposit-header .withdrawal-user-badge {
  background-color: #525656;
  font-size: 12px;
  padding: 2px 15px 2px 45px;
  color: #e7a646;
  border-radius: 999px;
  white-space: nowrap;
}

.withdrawal-body {
  width: 90%;
  max-width: var(--max-width-desktop);
  margin: 20px auto;
  color: #b3bec1;
}

.withdrawal-nav-tab {
  width: 100%;
  border-radius: 999px;
  background-color: #0d0f0f;
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.withdrawal-tab-btn {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border: none;
  background-color: transparent;
  border-radius: 999px;
  color: #b3bec1;
  cursor: pointer;
  white-space: nowrap;
}

.withdrawal-tab-btn p {
  margin: 0;
  display: flex;
  align-items: center;
}

.withdrawal-tab-btn.active {
  background-color: #3a4142;
  color: #ffffff;
}

.bank-card {
  background-color: transparent;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #b3bec1;
  cursor: pointer;
  border: none;
}

.bank-img-box {
  border: 1px solid #b3bec1;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-card.active .bank-img-box {
  border-color: #3cca7f;
}

.bank-card.active .bank-info {
  color: #3cca7f;
}

.no-record-display {
  border: none;
  background-color: #0d0f0f;
  border-radius: 999px;
  padding: 5px;
  text-align: center;
  color: #b3bec1;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  border-radius: 12px;
  scrollbar-width: none;
}

.history-table {
  min-width: 600px; /* adjust as needed */
  width: 100%;
  border-collapse: collapse;
}

/* HEADER */
.history-table thead th {
  background-color: #3a4142;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
}

/* BODY ROWS */
.history-table tbody tr {
  background-color: transparent;
  border-bottom: 1px solid #3a4142;
}

.history-table tbody tr:last-child {
  border-bottom: none;
}

/* CELLS */
.history-table td {
  padding: 10px 5px;
  text-align: center;
  font-size: 12px;
}

/* COLUMN WIDTH */
.history-table th:nth-child(1),
.history-table td:nth-child(1) {
  width: auto;
}

.history-table th:nth-child(2),
.history-table td:nth-child(2) {
  width: auto;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
  width: auto;
}

.history-table th:nth-child(4),
.history-table td:nth-child(4) {
  width: auto;
  justify-content: flex-start;
  text-align: left;
  padding: 10px 15px;
}
/* STATUS COLORS */
.success {
  color: #3cca7f;
}

.failed {
  color: #ff4d4d;
}
.withdrawal-badge-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.withdrawal-user-badge {
  background-color: #141c1c;
  color: #e7a646;
  font-size: 11px;
  padding: 2px 10px 2px 35px; /* extra LEFT padding for icon */
  border-radius: 999px;
  white-space: nowrap;
}
.withdrawal-name-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  justify-content: flex-end;
  margin-bottom: 5px;
}
input[type="number"] {
  touch-action: manipulation;
}

/* VIP page: extracted inline styles from design5_vip.php */
.section_vip {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

.vip-hero-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vip-hero-image-layer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vip-hero-bg {
  width: 170%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.vip-hero-content-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.vip-hero-top-area {
  position: relative;
  height: 70%;
}

.user-top.vip-user-top {
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.user-avatar.vip-user-avatar {
  width: 40px;
}

.user-info.vip-user-info {
  width: 100%;
}

.name-row.vip-name-row {
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
}

.username.vip-username {
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: left;
}

.badge-wrapper.vip-badge-wrapper {
  margin: 0;
  top: 4%;
  width: 5vw;
  transform-origin: left center;
}

.user-badge.vip-user-badge {
  background-color: #494949;
}

.status-img.vip-status-img {
  position: absolute;
  top: 0;
  z-index: 1;
  align-items: center;
  display: flex;
  justify-self: center;
}

.vip-status-rank-img {
  width: 65%;
  margin: 0 auto;
}

.vip-tabs.vip-tabs-row {
  width: 98%;
  margin: 0 auto;
  display: flex;
  position: relative;
  margin-top: -10%;
}

.vip-tab-btn {
  width: 100%;
  background-color: transparent;
  border: none;
}

.vip-tab-icon {
  width: 100%;
}

.vip-content-card {
  width: 93%;
  margin: 10px auto;
  background-color: #0d0f0f;
  border: none;
  border-radius: 20px;
  color: white;
  padding-bottom: 20px;
}

.withdrawal-tab-btn img.with-tab-img-bank {
  width: 18%;
}

.withdrawal-tab-btn img.with-tab-img-ewallet {
  width: 28%;
}

.withdrawal-tab-btn img.with-tab-img-crypto {
  width: 33%;
}

.withdrawal-tab-btn p {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.withdrawal-body .tab-content {
  /* color: #fff; */
  width: 100%;
}

.withdrawal-body .bank-list {
  display: flex;
  flex-direction: column;
  background-color: #0d0f0f;
  border-radius: 10px;
  padding: 10px;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.with-add-method-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #3cca7f;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #3cca7f;
  border-radius: 999px;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* .withdrawal-body .bank-account-info,
.withdrawal-body .wallet-account-info {
    display: none;
} */

.with-label-sm {
  margin: 5px;
}

.with-label-sm-white {
  margin: 5px;
  color: #fff;
}

.with-detail-box {
  width: 100%;
  display: flex;
  padding: 15px 25px;
  border-radius: 999px;
  background-color: #3a4142;
  border: none;
  color: #b3bec1;
}

.with-amount-input {
  width: 100%;
  outline: none;
  border: none;
  border-radius: 999px;
  background-color: #3a4142;
  color: #b3bec1;
  padding: 15px 15px 15px 20px;
}

.with-hint-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
  margin: 5px;
}

.with-icon-attention {
  width: 15px;
  height: 15px;
}

.with-hint-text {
  font-size: 12px;
  color: #b3bec1;
}

#crypto-withdraw-container {
  display: none;
}

.with-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 999px;
  background-color: #3cca7f;
  color: #0d0f0f;
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  margin: 30px 0;
  text-transform: uppercase;
}

.with-history-title {
  margin: 5px;
}

.with-view-more-row {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 20px 0;
}

.with-view-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #3cca7f;
  color: #0d0f0f;
  padding: 5px 10px;
  border-radius: 999px;
  gap: 5px;
  font-size: 12px;
}

.with-view-more-btn img {
  width: 10px;
}

.withdrawal-body .bank-details-footer {
  width: 100%;
  border: 1px solid #3a4142;
  padding: 10px 15px;
  border-radius: 10px;
  color: #808080;
  font-size: 13px;
}

.with-notice-title {
  font-size: 16px;
  margin: 5px 0;
}

.with-notice-p {
  margin: 5px 0;
}

.with-bank-thumb {
  width: 35px;
}

.with-bank-info-grow {
  flex: 1;
}

.with-bank-title {
  margin: 0;
  font-weight: 700;
}

/* list1 style */
.add-bank-option {
  display: none;
}

.add-bank-option.show {
  display: block;
}

.bank-details-body {
  width: 85%;
  margin: 35px auto;
  color: #ffffff;
}

.bank-details {
  margin: 20px 0;
}

.bank-select-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 16px;
  color: white;
  background-color: #3a4142;
}

.bank-details input {
  width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 16px;
  color: white;
  background-color: #3a4142;
}

.add-bank-option {
  width: 100%;
  background-color: #3a4142;
  padding: 20px 0;
  margin-top: -25px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.add-bank-option .bank-option {
  width: 100%;
  padding: 8px 16px;
  border: none;
  color: #b3bec1;
  background-color: #3a4142;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-bank-option .bank-option img {
  width: 10%;
}

.add-bank-details button {
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  color: #141c1c;
  background-color: #3cca7f;
  font-size: 16px;
  font-weight: 700;
}

.bank-detail-notice {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
  margin: 10px;
}

.bank-detail-notice img {
  width: 15px;
  height: 15px;
}

.bank-detail-notice span {
  font-size: 12px;
  color: #b3bec1;
}

.important-notice-container {
  width: 85%;
  max-width: var(--max-width-desktop);
  margin: 35px auto;
  color: #ffffff;
}

.change-password-form input:focus {
  outline: none;
  box-shadow: none;
}

.slots-section {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
}

.slots-top-header {
  background-color: #141c1c;
  /* border-bottom: 2px solid #494949; */
  padding: 15px 0;
  font-size: 0.8rem;
  padding-bottom: 0;
  position: fixed;
  top: 0;
  height: 196px;
  width: 100%;
}

.top-header-content {
    border-bottom: 2px solid #494949;
    padding-bottom: 10px;
}

.err_msg {
  font-size: 12px;
  color: #b3bec1;
  margin-top: 5px;
}

#referral_div {
  display: none;
}

.optional_ref {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.optional_ref img {
  width: 13px;
}

.optional_ref p {
  margin-bottom: 0;
}

.rotate_180 {
  rotate: 180deg;
  transition: all 0.4s;
}

/* design5 footer (moved from inline styles in footer_design5.php) */
.footer-d5-divider-line {
  display: flex;
  border: 1px solid #3a4142;
  margin: 20px 0;
}

.footer-d5-container {
  width: 90%;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  border-radius: 10px;
}

.footer-d5-heading-sm {
  color: #ffffff;
  font-size: 12px;
}

.footer-d5-section-title {
  margin: 5px 0;
  color: #ffffff;
}

.footer-d5-body-muted {
  font-size: 12px;
  color: #697475;
}

.footer-d5-footer-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
  color: #b3bec1;
}

.footer-d5-divider {
  width: 100%;
  height: 1px;
  background-color: #b3bec1;
  margin: 10px 0;
  border: none;
}

.footer-d5-footer-bottom {
  color: #797979;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  margin-top: 30px;
}

.footer-d5-mainLayoutRoot {
  background-color: #3a4142;
  text-align: center;
  color: #b3bec1;
  z-index: 10;
  width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 6vh;
  min-height: 65px;
}

.footer-d5-layout-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 8px auto;
}

.footer-d5-layout-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-d5-layout-nav-btn-account {
  margin-top: 5px;
  gap: 4px;
}

.footer-d5-layout-nav-link {
  border: none;
  background-color: transparent;
}

.footer-d5-layout-nav-text {
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.footer-d5-layout-account-icon {
  margin-top: -8px;
  width: 57%;
}

.footer-d5-layout-account-text {
  margin: 0;
  font-size: 12px;
  text-align: center;
  margin-top: -4px;
}

/* footer utilities */
.payment-row-one {
  display: flex;
  align-items: center;
  width: 90%;
  gap: 5px;
  margin: 10px 0;
}
.payment-row-two {
  display: flex;
  align-items: center;
  width: 90%;
  gap: 5px;
  margin: 10px 0;
}
.payment-row-three {
  display: flex;
  align-items: center;
  width: 60%;
  gap: 5px;
  margin: 10px 0;
}
.footer-d5-flex-row {
  display: flex;
}
.footer-d5-align-center {
  align-items: center;
}
.footer-d5-justify-center {
  justify-content: center;
}
.footer-d5-gap-10 {
  gap: 10px;
}
.footer-d5-gap-5 {
  gap: 5px;
}
.footer-d5-w-100 {
  width: 100%;
}
.footer-d5-w-90 {
  width: 90%;
}
.footer-d5-w-60 {
  width: 60%;
}
.footer-d5-w-40 {
  width: 40%;
}
.footer-d5-w-35 {
  width: 35%;
}
.footer-d5-w-30 {
  width: 30%;
}
.footer-d5-my-10 {
  margin: 10px 0;
}
.footer-d5-mt-20 {
  margin-top: 20px;
}
.footer-d5-mt-10 {
  margin-top: 10px;
}
.footer-d5-mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.footer-d5-img-w-100 {
  width: 100%;
}
.footer-d5-img-w-90 {
  width: 90%;
}
.footer-d5-img-w-80 {
  width: 80%;
}
.footer-d5-img-w-75 {
  width: 75%;
}
.footer-d5-img-w-60 {
  width: 60%;
}
.footer-d5-img-w-50 {
  width: 50%;
}
.footer-d5-img-w-30 {
  width: 30%;
}
.footer-d5-img-w-140 {
  width: 140%;
}

.footer-group-about {
  text-align: center;
}

.aboutus-d5-root {
  color: #b3bec1;
  border-radius: 10px;
  background-color: #0d0f0f;
  text-align: left;
  margin-top: 20px;
  display: flex;
  width: 90vw;
  flex-direction: column;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
}

.aboutus-d5-section-pad {
  padding: 10px;
}

.aboutus-d5-contact-title {
  font-weight: bold;
}

.aboutus-d5-contact-desc {
  font-size: 14px;
}

.aboutus-d5-contact-divider {
  width: 98%;
  height: 1px;
  background-color: #3a4142;
  margin-bottom: 10px;
}

.aboutus-d5-contact-item-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.aboutus-d5-contact-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.aboutus-d5-contact-muted {
  color: #525656;
}

.aboutus-d5-contact-item-livechat {
  font-size: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.aboutus-d5-livechat-label {
  margin-left: 6px;
}

/* vip_bonus_report_design5: extracted inline styles */
.vip-bonus-d5-root {
  color: aliceblue;
  text-align: center;
  display: flex;
  width: 90vw;
  margin: 20px auto;
  flex-direction: column;
}

.VP-user-container.vip-bonus-d5-user-card {
  display: flex;
  flex-direction: column;
  background-color: #0d0f0f;
  border: none;
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 10px;
}

.vip-bonus-d5-ml-10 {
  margin-left: 10px;
}

.vip-bonus-d5-user-badge {
  background-color: #3a4142;
  font-size: 10px;
}

.vip-bonus-d5-badge-cover {
  width: 28px;
  height: 28px;
}

.VP-balance-row.vip-bonus-d5-balance-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2px;
  gap: 10px;
  margin-top: 10px;
}

.vip-bonus-d5-col {
  display: flex;
  flex-direction: column;
}

.vip-bonus-d5-row-start {
  display: flex;
  justify-content: flex-start;
}

.vip-bonus-d5-balance-label {
  margin: 0;
  font-size: 12px;
  color: #b3bec1;
}

.vip-bonus-d5-track {
  display: flex;
  justify-content: space-between;
  border: none;
  background-color: #3a4142;
  border-radius: 999px;
  align-items: center;
}

.vip-bonus-d5-track-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  margin-left: 10px;
}

.vip-bonus-d5-p0 {
  margin: 0;
}

.vip-bonus-d5-btn-reset {
  background-color: transparent;
  border: none;
  display: flex;
}

.vip-bonus-d5-refresh-icon {
  width: 70%;
}

.vip-bonus-d5-accent,
a.vip-bonus-d5-accent {
  color: #3cca7f;
  font-weight: bold;
}

.vip-bonus-d5-m0 {
  margin: 0;
}

.VP-nav-tab.vip-bonus-d5-nav-tab {
  display: flex;
  background-color: #0d0f0f;
  border-radius: 999px;
  color: white;
  padding: 10px;
}

.vip-bonus-d5-body {
  width: 100%;
  margin-top: 20px;
}

.vip-bonus-d5-title {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-bonus-d5-panel {
  display: flex;
  flex-direction: column;
  background-color: #0d0f0f;
  border-radius: 10px;
  color: white;
}

.vip-bonus-d5-panel-row {
  display: flex;
}

.vip-bonus-d5-content {
  width: 85%;
  margin: 0 auto;
  display: flex;
  margin-top: 15px;
  flex-direction: column;
}

.vip-bonus-d5-flex {
  display: flex;
}

.vip-bonus-d5-field-label {
  margin: 0;
  padding-bottom: 5px;
}

.vip-bonus-d5-redeem-input {
  display: flex;
  background-color: #3a4142;
  border-radius: 999px;
  border: none;
  margin: 0;
  margin-bottom: 5px;
  font-size: 13px;
  color: #b3bec1;
  text-align: left;
  padding: 10px 10px 10px 20px;
  outline: none;
}

.vip-bonus-d5-note-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.vip-bonus-d5-note-icon {
  width: 15px;
}

.vip-bonus-d5-note-text {
  font-size: 13px;
  color: #b3bec1;
}

.vip-bonus-d5-primary-btn {
  width: 90%;
  margin: 20px auto;
  border: none;
  border-radius: 999px;
  background-color: #3cca7f;
  color: #0d0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-weight: bold;
  font-size: 18px;
}

.vip-bonus-d5-mt-20 {
  margin-top: 20px;
}

.vip-bonus-d5-pb-20 {
  padding-bottom: 20px;
}

.vip-bonus-d5-history-label {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 3px;
}

.vip-bonus-d5-w-full {
  width: 100%;
}

.vip-bonus-d5-main-btn {
  display: flex;
  justify-content: space-between;
  border: none;
  border-radius: 80px;
  background-color: #3a4142;
  color: white;
  align-items: center;
  padding: 10px;
}

.vip-bonus-d5-main-btn-text {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0;
}

.vip-bonus-d5-dropdown-icon {
  width: 20px;
}

.vp-btn-container.vip-bonus-d5-btn-container {
  display: none;
  flex-direction: column;
  background-color: #3a4142;
  padding-top: 25px;
  margin-top: -20px;
}

.vip-bonus-d5-option-btn {
  display: flex;
  border: none;
  justify-content: flex-start;
  background-color: #3a4142;
  color: white;
  align-items: center;
  padding: 10px;
}

.vip-bonus-d5-date-row {
  display: flex;
  gap: 15px;
  width: 90%;
  margin: 10px auto;
}

.vip-bonus-d5-flex-1 {
  flex: 1;
}

.vip-bonus-d5-submit-btn {
  width: 85%;
  margin: 0 auto;
  padding: 10px 15px;
  background-color: #3cca7f;
  color: #0d0f0f;
  border: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.vp1-table.vip-bonus-d5-table {
  width: 90%;
  margin: 0 auto;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: #b3bec1;
  font-size: 12px;
}

.vip-bonus-d5-col-no {
  width: 8%;
}
.vip-bonus-d5-col-type {
  width: 25%;
}
.vip-bonus-d5-col-time {
  width: 24%;
}
.vip-bonus-d5-col-amount {
  width: 20%;
}
.vip-bonus-d5-col-status {
  width: 30%;
}

.vip-bonus-d5-table-head {
  background-color: #3a4142;
  border: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.vip-bonus-d5-th {
  padding: 5px;
}

.vp1-table-nav.vip-bonus-d5-table-nav {
  width: 90%;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.vip-bonus-d5-page-numbers {
  display: flex;
  gap: 5px;
}

.vip-bonus-d5-hide {
  display: none;
}

.vip-bonus-d5-game-row {
  width: 95%;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.vip-bonus-d5-game-item {
  display: flex;
  flex-direction: column;
  width: 20%;
}

.vip-bonus-d5-game-icon-wrap {
  background-color: #3a4142;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
}

.vip-bonus-d5-game-icon {
  padding: 15px;
  width: 100%;
}

.vip-bonus-d5-game-name {
  color: #b3bec1;
  text-indent: -4px;
  font-size: 12px;
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
}

.vip-bonus-d5-game-rate {
  font-weight: bold;
  font-size: 12px;
  margin: 3px 0;
}

.vip-bonus-d5-vp-chip {
  color: #0d0f0f;
  background-color: #3cca7f;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
}

.vip-bonus-d5-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-bonus-d5-object-contain {
  object-fit: contain;
}

.vip-bonus-d5-mt-25 {
  margin-top: 25px;
}

.vip-bonus-d5-rate-table {
  margin: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.vip-bonus-d5-rate-thead {
  background-color: #3a4142;
  padding: 10px;
}

.vip-bonus-d5-rate-head-row {
  margin: 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.vip-bonus-d5-rate-head-th {
  padding: 10px;
  color: #b3bec1;
}

.vip-bonus-d5-rate-head-th-left {
  border-top-left-radius: 10px;
}

.vip-bonus-d5-rate-head-th-right {
  border-top-right-radius: 10px;
}

.vip-bonus-d5-rate-row {
  border-top: 1px solid #3a4142;
}

.vip-bonus-d5-rate-cell {
  text-align: center;
  vertical-align: middle;
}

.vip-bonus-d5-rate-text {
  font-size: 16px;
  margin: 0;
}

.vip-bonus-d5-time-ampm {
  margin-left: 5px;
}

/* history style */
.custom-input-his {
  font-size: clamp(10px, 3vw, 13px);
}

.dropdown-container-his {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

/* closed box */
.custom-select-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  /* your requirement */
  background: #3a4142;
  /* adjust to your UI */
  color: white;
}

/* arrow */
.dropdown-arrow-his {
  color: #b3bec1;
  transition: transform 0.25s ease;
}

/* dropdown list */
.custom-dropdown-list {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background-color: #3a4142;
  border-radius: 8px;
  padding: 6px 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 999;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* items */
.custom-dropdown-list a {
  padding: 10px 12px;
  color: white;
  cursor: pointer;
  display: block;
}

.custom-dropdown-list li {
  padding: 10px 12px;
  color: white;
  cursor: pointer;
}

/* open state */
.dropdown-container-his.open .custom-dropdown-list {
  display: block;
}

.dropdown-container-his.open .dropdown-arrow-his {
  transform: rotate(180deg);
}

.depo-his-layout {
  color: aliceblue;
  text-align: center;
  display: flex;
  width: 90vw;
  margin: 20px auto;
  flex-direction: column;
}

.vp-tab-icon-his {
  height: 23px;
  margin-right: 6px;
}

.his-display-block {
  display: block;
}

.his-display-none {
  display: none;
}

.his-section-spacing {
  margin-top: 30px;
}

.his-text-left {
  text-align: left;
}

.his-date-row {
  display: flex;
  gap: 15px;
}

.his-date-col {
  flex: 1;
}

.his-ampm-select {
  margin-left: 5px;
}

/* point_wheel_design5 inline-style refactor */
.pw5-announcement-pad {
  padding: 5px;
  background-color: transparent;
}

.pw5-announcement-inner {
  max-width: 96%;
  margin: 0 auto;
}

.pw5-announcement-pill {
  background: #141c1c;
  color: #fff;
  border-radius: 28px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.pw5-announcement-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  filter: invert(1) brightness(1.2);
}

.pw5-announcement-scroll-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pw5-announcement-marquee {
  color: #b4b4b4;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

.pw5-gift-img {
  display: flex;
  flex-direction: column;
}

.pw5-gift-box {
  z-index: 5;
}

.pw5-gift-box-b {
  width: 140px;
  margin-left: -130px;
}

.pw5-gift-box-c {
  width: 120px;
  margin-top: -30px;
  margin-left: 305px;
}

.pw5-gift-box-a {
  width: 90px;
  margin-top: 30px;
  margin-left: -70px;
}

.pw5-spin-btn {
  font-size: 18px;
  width: 85%;
  border-radius: 50px;
  padding: 13px;
  font-weight: bold;
  background-color: #3cca7f;
  border: none;
  margin-bottom: 20px;
}

.pw5-accent-text {
  color: #3cca7f;
}

.pw5-frame-wrapper {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 15px;
}

.pw5-frame-img {
  width: 100%;
  display: block;
}

.pw5-frame-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 100%;
}

.pw5-overlay-top-6 {
  top: 6%;
}

.pw5-overlay-top-8 {
  top: 8%;
}

.pw5-overlay-top-15 {
  top: 15%;
}

.pw5-title-lg {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.pw5-subtitle {
  font-size: 12px;
  margin-top: 4px;
}

.pw5-prize-text-shift,
.pw5-amount-shift {
  margin-top: -2%;
}

.pw5-mega-jackpot-label {
  font-size: 16px;
  margin-top: -8%;
}

.pw5-other-prize-value {
  margin-top: 7px;
}

.pw5-how-to-win-title {
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.pw5-instruction-row-box {
  flex-direction: column;
  width: 90%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 5%;
}

.pw5-how-to-win-title-bottom {
  font-weight: bold;
  margin-bottom: 15px;
  white-space: nowrap;
}

.pw5-ticket-1 {
  width: 70%;
}

.pw5-ticket-2 {
  width: 90%;
}

.pw5-ticket-3 {
  width: 150%;
  margin-left: -15%;
}

.pw5-ticket-amount {
  margin: 0;
}

.pw5-prize-btn-container {
  width: 80%;
  margin: 0 auto;
  margin-top: 10px;
  text-align: center;
  flex-direction: column;
  display: flex;
}

.pw5-btn-secondary {
  color: #3cca7f;
  border: 1px solid #3cca7f;
  background-color: transparent;
  font-size: 15px;
}

.pw5-btn-primary {
  color: #141c1c;
  background-color: #3cca7f;
  font-size: 15px;
}

.how-to-win-title {
  font-size: 23px;
}

.instruction-text h1 {
  font-size: 18px;
}

.instruction-text p {
  font-size: 15px;
}

.ticket-desc p {
  font-size: 14px;
}

@media (max-width: 430px) {
  .how-to-win-title {
    font-size: 21px;
  }

  .instruction-text h1 {
    font-size: 16px;
  }

  .instruction-text p {
    font-size: 12px;
  }

  .ticket-desc p {
    font-size: 13px;
  }
}

.load_more_button img {
    width: 35px;
  }


.load_more_button {
    background: none;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.total_of_slots {
    text-align: center;
}