/* =====================================================
   STRONG TRADE WORLD – simple CSS (no framework)
   Sections:  1 Basics  2 Helpers  3 Buttons/Forms
              4 Login/Register  5 Portal layout
              6 Cards/Tables  7 Prize list  8 Toast/Modal
   Colours change karne ho to sirf :root me badlo.
   ===================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap
}



/* Bootstrap-style Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

/* Badge Colors */
.bg-primary {
    background-color: #0d6efd;
    color: #fff;
}

.bg-secondary {
    background-color: #6c757d;
    color: #fff;
}

.bg-success {
    background-color: #198754;
    color: #fff;
}

.bg-danger {
    background-color: #dc3545;
    color: #fff;
}

.bg-warning {
    background-color: #ffc107;
    color: #000;
}

.bg-info {
    background-color: #0dcaf0;
    color: #000;
}

.bg-light {
    background-color: #f8f9fa;
    color: #000;
}

.bg-dark {
    background-color: #212529;
    color: #fff;
}


/* ---------- 1. BASICS ---------- */
:root {
  --bg: #06101d;
  --fg: #f0f4f9;
  --card: #0e1a29;
  --muted: #b0bcc9;
  --border: #344151;
  --input: #2a3646;
  --accent: #1a2739;
  --red: #f84c45;
  --red1: #bb0522;
  --red2: #d14300;
  --gold: #eab444;
  --ink: #030b1a;
  --sidebar: #030c1b;
  --success: #1fc893;
  --bay: url("../assets/bay.jpg");
   --ref-gold: #EAB444;
    --ref-bg: #0F1A29;
    --ref-border: #344153;
    --ref-text: #F0F3F8;
    --ref-muted: #AAB5C5;
}

*, *::before, *::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-size: 16px
}

h1, h2, h3, h4, p, dl, dd, ul {
  margin: 0
}

ul {
  padding: 0;
  list-style: none
}

a {
  color: var(--gold);
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

button, input, select {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer
}

table {
  border-collapse: collapse;
  width: 100%
}

::selection {
  background: var(--red);
  color: #fff
}

.hidden {
  display: none !important
}

/* ---------- 2. HELPERS ---------- */
.display {
  font-family: "Sora", "DM Sans", sans-serif;
  font-weight: 600
}

.gold {
  color: var(--gold)
}

.ok {
  color: var(--success)
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .875rem
}

.xs {
  font-size: .76rem
}

.bold {
  font-weight: 600
}

.center {
  text-align: center
}

.upper {
  text-transform: uppercase
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold)
}

.flex {
  display: flex
}

.wrap {
  flex-wrap: wrap
}

.between {
  justify-content: space-between
}

.items-start {
  align-items: flex-start
}

.items-center {
  align-items: center
}

.gap1 {
  gap: .5rem
}

.gap2 {
  gap: .75rem
}

.gap3 {
  gap: 1rem
}

.grow {
  flex: 1
}

.min0 {
  min-width: 0
}

.trunc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.mt1 {
  margin-top: .5rem
}

.mt2 {
  margin-top: 1rem
}

.mt3 {
  margin-top: 1.5rem
}

.mt4 {
  margin-top: 2.5rem
}

.mb1 {
  margin-bottom: .5rem
}

.mb2 {
  margin-bottom: 1rem
}

.mb3 {
  margin-bottom: 1.5rem
}

.navy {
  background-color: var(--ink);
  background-image: linear-gradient(160deg, rgba(18, 31, 47, .9), rgba(3, 11, 26, .96))
}

.rule {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0
}

.note {
  border-left: 2px solid var(--gold);
  padding-left: .75rem;
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.6
}

.warn {
  display: flex;
  gap: .75rem;
  border: 1px solid rgba(234, 180, 68, .25);
  background: rgba(234, 180, 68, .05);
  padding: 1rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6
}

/* Grids (mobile = 1 column, bade screen par columns) */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr
}

@media(min-width:576px) {
  .grid.c-sm-2 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:768px) {
  .grid.c-md-2 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1200px) {
  .grid.c-xl-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid.c-xl-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid.c-xl-4 {
    grid-template-columns: repeat(4, 1fr)
  }

  .grid.c-xl-5 {
    grid-template-columns: repeat(5, 1fr)
  }
}

/* phone par cards left-right swipe */
@media(max-width:575.98px) {
  .swipe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--accent)
  }

  .swipe>* {
    flex: 0 0 84%;
    max-width: 19rem;
    scroll-snap-align: start
  }
}

/* ---------- 3. BUTTONS & FORMS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: none;
  font-weight: 600;
  font-size: .92rem;
  transition: filter .2s, background-color .2s, border-color .2s, color .2s
}

.btn:active {
  transform: translateY(1px)
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed
}

.btn-block {
  width: 100%
}

.btn-brand {
  color: #fff;
  background-image: linear-gradient(120deg, var(--red1), var(--red2));
  box-shadow: 0 14px 34px -18px rgba(248, 76, 69, .7)
}

.btn-brand:hover {
  filter: brightness(1.12)
}

.btn-gold {
  color: var(--gold);
  border-color: rgba(234, 180, 68, .5)
}

.btn-gold:hover {
  background: rgba(234, 180, 68, .1);
  border-color: var(--gold)
}

.btn-line {
  border-color: var(--input)
}

.btn-line:hover {
  background: var(--accent);
  border-color: var(--gold)
}

.btn-ghost {
  color: var(--muted)
}

.btn-ghost:hover {
  color: var(--fg);
  background: var(--accent)
}

.btn-icon {
  width: 2.75rem;
  padding: 0
}

.field {
  margin-bottom: 1rem
}

.field label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .4rem
}

.input {
  width: 100%;
  min-height: 2.9rem;
  padding: .5rem .8rem;
  background: var(--bg);
  border: 1px solid var(--input);
  border-radius: .4rem;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
  color: #ffff;
}

.input::placeholder {
  color: #7f8c9b
}

.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(234, 180, 68, .2)
}

.input.sm {
  min-height: 2.4rem;
  padding: .25rem .6rem;
  font-size: .88rem
}

select.input {
  width: auto
}

.help {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .3rem
}

.error {
  display: none;
  font-size: .78rem;
  font-weight: 500;
  color: var(--red);
  margin-top: .3rem
}

.field.invalid .input {
  border-color: var(--red)
}

.field.invalid .error {
  display: block
}

.pw-wrap {
  position: relative
}

.pw-wrap .input {
  padding-right: 2.8rem
}

.pw-toggle {
  position: absolute;
  top: 0;
  right: .25rem;
  width: 2.6rem;
  height: 2.9rem;
  border: 0;
  background: none;
  color: var(--muted)
}

.pw-toggle:hover {
  color: var(--fg)
}

/* ---------- 4. LOGIN / REGISTER ---------- */
.auth {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr
}

.auth-form {
  order: 1;
  border-top: 3px solid var(--red);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1.5rem
}

.auth-hero {
  order: 2;
  position: relative;
  overflow: hidden;
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border)
}

@media(min-width:992px) {
  .auth {
    grid-template-columns: 1.12fr .88fr
  }

  .auth-hero {
    order: 1;
    min-height: 100vh;
    border-top: 0;
    border-right: 1px solid var(--border)
  }

  .auth-form {
    order: 2;
    align-items: center;
    padding: 3.5rem 3rem
  }
}

.photo {
  position: absolute;
  inset: 0;
  background: var(--bay) center 50%/cover no-repeat;
  animation: drift 24s ease-in-out infinite alternate
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 11, 26, .88), rgba(3, 11, 26, .12)), linear-gradient(0deg, rgba(3, 11, 26, .45), transparent 72%)
}

.hero-top {
  position: relative;
  z-index: 2;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3.5rem
}

.hero-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 5rem 1.5rem 2rem
}

@media(min-width:992px) {
  .hero-top {
    display: flex
  }

  .hero-body {
    padding: 5rem 3.5rem 4.5rem
  }
}

.hero-body h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: #fff
}

.hero-body p {
  max-width: 36rem;
  color: rgba(240, 244, 249, .8);
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  margin-top: .9rem
}

.hero-feat {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 244, 249, .2)
}

@media(min-width:576px) {
  .hero-feat {
    display: grid
  }
}

.hero-feat div {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 500
}

.feat-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(240, 244, 249, .25);
  background: rgba(240, 244, 249, .1);
  color: var(--gold)
}

.auth-box {
  width: 100%;
  max-width: 440px
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem
}

.tab {
  flex: 1;
  min-height: 2.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem
}

.tab:hover {
  color: var(--fg)
}

.tab.active {
  color: var(--fg);
  border-bottom-color: var(--red)
}

.tab-pane {
  display: none
}

.tab-pane.active {
  display: block;
  animation: reveal .4s ease both
}

.or {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin: 1.5rem 0
}

.or::before, .or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border)
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem
}

.brand-box {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  background-image: linear-gradient(120deg, var(--red1), var(--red2));
  box-shadow: 0 14px 34px -18px rgba(248, 76, 69, .7)
}

.brand-text {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2
}

.brand-text small {
  display: block;
  margin-top: .25rem;
  font-size: .56rem;
  font-weight: 500;
  color: var(--muted)
}

.mobile-brand {
  margin-bottom: 1.75rem
}

@media(min-width:992px) {
  .mobile-brand {
    display: none
  }
}

/* ---------- 5. PORTAL LAYOUT ---------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1050;
  width: 16rem;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  border-top: 3px solid var(--red);
  transform: translateX(-100%);
  transition: transform .3s ease
}

.sidebar.open {
  transform: none
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s
}

.backdrop.show {
  opacity: 1;
  visibility: visible
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border)
}

.side-label {
  padding: 1.5rem 1.5rem .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted)
}

.side-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 0 .75rem;
  overflow-y: auto
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.75rem;
  padding: .55rem .8rem;
  border-left: 2px solid transparent;
  border-radius: .25rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  transition: background-color .2s, color .2s
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(26, 39, 57, .6)
}

.nav-link.active {
  color: var(--fg);
  background: var(--accent);
  border-left-color: var(--red)
}

.nav-link i {
  font-size: 1.05rem
}

.side-foot {
  padding: 1rem;
  border-top: 1px solid var(--border)
}

.avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(234, 180, 68, .1);
  border: 1px solid rgba(234, 180, 68, .25)
}

.main-wrap {
  min-width: 0
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(6, 16, 29, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border)
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem
}

.menu-btn {
  display: inline-flex
}

.mobile-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .5rem 1rem;
  border-top: 1px solid var(--border);
  scrollbar-width: none
}

.mobile-tabs::-webkit-scrollbar {
  display: none
}

.mobile-tabs a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: .25rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500
}

.mobile-tabs a.active {
  color: #fff;
  background-image: linear-gradient(120deg, var(--red1), var(--red2))
}

.content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem
}

@media(min-width:576px) {
  .topbar-row {
    padding: 0 1.75rem
  }

  .content {
    padding: 2rem 1.75rem
  }
}

@media(min-width:992px) {
  .sidebar {
    transform: none
  }

  .backdrop {
    display: none
  }

  .main-wrap {
    margin-left: 16rem
  }

  .menu-btn, .mobile-tabs, .only-mobile {
    display: none
  }

  .topbar-row {
    padding: 0 2.25rem
  }

  .content {
    padding: 2.5rem 2.25rem
  }
}

.page {
  display: none
}

.page.active {
  display: block;
  animation: reveal .55s cubic-bezier(.2, .7, .2, 1) both
}

.page-title {
  font-size: 1.75rem;
  margin-top: .25rem
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem
}

.header_top_social{
  display: flex;
  gap:20px;
}

.st_social {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    /* flex-wrap: wrap; */
    gap: 15px;
    /* margin-bottom: 1.5rem; */
     /* padding: 1.5rem 1.25rem; */
    /* width: 100%; */
}

.st_social_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* min-height: 52px; */
    padding: 6px 9px;
    /* padding: 8px 12px; */
    background: #0F1A29;
    color: #F5F7FA;
    border: 1px solid #344153;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.st_social_btn > i:first-child {
    font-size: 16px;
    /* font-size: 19px; */
    color: #EAB444;
}



.st_social_btn:hover {
    background: #EAB444;
    border-color: #EAB444;
    color: #08111F;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(234, 180, 68, 0.18);
}

.st_social_btn:hover > i:first-child,
.st_social_btn:hover  {
    color: #08111F;
}



.st_social_btn:focus-visible {
    outline: 2px solid #EAB444;
    outline-offset: 4px;
}

/* Mobile Responsive */
/* @media (max-width: 576px) {
    .st_social {
        flex-direction: column;
    }
} */


.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 11.5rem;
  display: flex;
  align-items: flex-end;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.5rem
}

.banner .photo {
  z-index: -2;
  background-position: center 55%
}

.banner .shade {
  z-index: -1
}

.banner-text {
  padding: 1.5rem 1.25rem
}

.banner_news {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.5rem;
  min-height: 0;
}

.banner_news .photo {
  z-index: -2;
  background-position: center 55%
}

.banner_news .shade {
  z-index: -1
}
.banner_news .banner-text {
  padding: 15px;
}


.banner-text h1 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: #fff;
  margin: .5rem 0 .25rem
}

.footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .76rem;
  color: var(--muted)
}

/* ---------- 6. CARDS / TABLES ---------- */
.tile {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(234, 180, 68, .4);
  border-radius: 6px;
  padding: 1rem;
  transition: transform .25s, border-color .25s, box-shadow .25s
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(234, 180, 68, .16) 50%, transparent 58%);
  transform: translateX(-130%)
}

.tile .label {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .76rem;
  color: var(--muted)
}

.tile i {
  color: var(--gold);
  transition: transform .3s
}

.tile .value {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: .7rem;
  font-variant-numeric: tabular-nums;
  word-break: break-word
}

.tile .detail {
  font-size: .74rem;
  color: var(--muted);
  margin-top: .5rem
}

.page.active .tile {
  animation: tile-in .56s cubic-bezier(.2, .7, .2, 1) both
}

.page.active .grid>*:nth-child(2) .tile {
  animation-delay: 70ms
}

.page.active .grid>*:nth-child(3) .tile {
  animation-delay: 140ms
}

.page.active .grid>*:nth-child(4) .tile {
  animation-delay: 210ms
}

.page.active .grid>*:nth-child(5) .tile {
  animation-delay: 280ms
}

@media(hover:hover) {
  .tile:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9)
  }

  .tile:hover::after {
    animation: shine .9s ease
  }

  .tile:hover i {
    transform: scale(1.15)
  }

  .card:hover {
    border-color: rgba(234, 180, 68, .6)
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: border-color .25s
}

@media(min-width:576px) {
  .card {
    padding: 1.5rem
  }
}

.card.premium {
  border-color: rgba(234, 180, 68, .4);
  box-shadow: 0 14px 34px -18px rgba(234, 180, 68, .6)
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.1rem;
  color: var(--gold);
  background: var(--accent);
  border: 1px solid rgba(234, 180, 68, .25)
}

.icon-box.gold {
  background: rgba(234, 180, 68, .1);
  border-color: rgba(234, 180, 68, .2)
}

.progress {
  height: .5rem;
  border-radius: 4px;
  background: var(--accent);
  overflow: hidden
}

.progress span {
  display: block;
  height: 100%;
  background: var(--gold)
}

.stats3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border)
}

.stats3>div:nth-child(2) {
  padding: 0 .75rem;
  border-inline: 1px solid var(--border)
}

.stats3>div:nth-child(3) {
  padding-left: .75rem
}

.stat-label {
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted)
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
  font-size: .875rem
}

.pair dt {
  color: var(--muted)
}

.pair dd {
  margin-top: .25rem
}

.table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--accent)
}

.table-wrap.tall {
  max-height: 28rem;
  overflow-y: auto
}

th {
  font-size: .76rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  padding: .75rem 1rem .75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

td {
  font-size: .9rem;
  white-space: nowrap;
  padding: .7rem 1rem .7rem 0;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums
}

.tall th {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2
}

.right {
  text-align: right
}

.slab-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem
}

.slab-row:last-child {
  border-bottom: 0
}

.rule-item {
  border-left: 2px solid var(--red);
  padding-left: .75rem
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

@media(min-width:576px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr
  }
}

.profile-grid dt {
  font-size: .76rem;
  color: var(--muted)
}

.profile-grid dd {
  margin-top: .5rem;
  font-size: .92rem;
  font-weight: 500;
  overflow-wrap: anywhere
}

/* ---------- 7. PRIZE LIST ---------- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.25rem
}

@media(min-width:992px) {
  .prize-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:1200px) {
  .prize-grid {
    gap: 1.25rem
  }
}

.prize {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  opacity: 0;
  transform: translateY(18px);
  transition: border-color .3s, box-shadow .3s
}

.prize.visible {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s
}

.prize::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 10%, var(--gold) 22%, transparent 34%, transparent 55%, var(--red) 70%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask-composite: exclude
}

.prize.grand {
  border-color: rgba(234, 180, 68, .55)
}

.prize-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f5f8
}

.prize-photo .grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(3, 11, 26, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 11, 26, .08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(transparent 15%, #000);
  mask-image: linear-gradient(transparent 15%, #000)
}

.prize-photo .scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(234, 180, 68, .28) 49%, rgba(255, 255, 255, .5) 50%, transparent 64%);
  transform: translateX(-120%)
}

.prize-photo .corner {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 calc(100% - 14px), calc(100% - 2px) calc(100% - 14px), calc(100% - 2px) 0)
}

.prize-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1)
}

.prize-none {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .75rem;
  text-align: center;
  background: var(--accent);
  color: var(--muted);
  font-size: .75rem
}

.prize-none i {
  font-size: 2.2rem;
  color: var(--gold)
}

.rank {
  position: absolute;
  z-index: 3;
  left: .75rem;
  top: .75rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  border-radius: .25rem;
  border: 1px solid rgba(234, 180, 68, .5);
  background: rgba(3, 11, 26, .95);
  padding: .35rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold)
}

.prize-cap {
  position: relative;
  padding: 1rem;
  border-top: 2px solid rgba(234, 180, 68, .45)
}

.prize-cap::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--gold)
}

.prize-cap .cat {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gold)
}

.prize-cap h4 {
  margin-top: .5rem;
  font-size: .88rem;
  line-height: 1.4;
  min-height: 2.5rem;
  font-family: "Sora", "DM Sans", sans-serif;
  font-weight: 600
}

@media(prefers-reduced-motion:no-preference) {
  .prize::before {
    animation: orbit 4s linear infinite
  }

  .prize:nth-child(3n+2)::before {
    animation-delay: -1.3s
  }

  .prize:nth-child(3n)::before {
    animation-delay: -2.6s
  }

  .prize.grand {
    animation: charge 3s ease-in-out infinite
  }

  .prize-photo img {
    animation: float 5s ease-in-out infinite
  }

  .prize-cap::after {
    animation: line 2s ease-in-out infinite alternate
  }

  .prize-photo .scan {
    animation: scan 6s ease-in-out infinite
  }
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .prize.visible:hover {
    transform: perspective(900px) translateY(-5px) rotateX(2deg) rotateY(-2deg);
    border-color: var(--gold);
    box-shadow: 0 14px 34px -18px rgba(234, 180, 68, .6)
  }

  .prize:hover img {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.07)
  }
}

details summary {
  cursor: pointer;
  width: fit-content
}

details a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px
}

details a:hover {
  color: var(--fg)
}

/* ---------- 8. TOAST / MODAL / ANIMATIONS ---------- */
#toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  padding: .75rem 1rem;
  border-radius: .4rem;
  font-size: .9rem;
  box-shadow: 0 18px 40px -24px #000;
  animation: reveal .3s both
}

.toast.err {
  border-left-color: var(--red)
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .7)
}

.modal.open {
  display: flex
}

.modal-box {
  width: 100%;
  max-width: 30rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  animation: reveal .35s both
}

.big-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--gold);
  background: var(--accent);
  margin-bottom: 1rem
}

.spin {
  display: inline-block;
  animation: spin .7s linear infinite
}

.reveal {
  animation: reveal .65s cubic-bezier(.2, .7, .2, 1) both
}

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

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translateX(-1.2%)
  }

  to {
    transform: scale(1.12) translateX(1.2%)
  }
}

@keyframes shine {
  to {
    transform: translateX(130%)
  }
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes orbit {
  to {
    --angle: 360deg
  }
}

@keyframes charge {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(234, 180, 68, .2)
  }

  50% {
    box-shadow: inset 0 0 22px rgba(234, 180, 68, .14)
  }
}

@keyframes scan {
  0%, 15% {
    transform: translateX(-120%)
  }

  65%, 100% {
    transform: translateX(120%)
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(1px) rotate(-.7deg)
  }

  50% {
    transform: translateY(-8px) rotate(.7deg)
  }
}

@keyframes line {
  from {
    left: 0
  }

  to {
    left: 70%
  }
}

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .prize {
    opacity: 1;
    transform: none
  }
}

/* small screen / desktop helpers */
.only-desktop-sm {
  display: none
}

@media(min-width:576px) {
  .only-desktop-sm {
    display: inline
  }
}

/* login <-> register switch link */
.auth-switch a {
  font-weight: 600
}

.auth-switch a:hover {
  text-decoration: underline
}

a.brand {
  color: inherit
}





.st-summary {
        --st-gold: #EAB444;
        --st-bg: #06101E;
        --st-card: #0F1A29;
        --st-border: #344153;
        --st-text: #F0F3F8;
        --st-muted: #AAB5C5;

        width: 100%;
        padding: 20px 0px;
        background: var(--st-bg);
        font-family: Inter, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", sans-serif;
    }

    .st-summary-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px;
    }

    .st-summary-card {
        position: relative;
        min-width: 0;
        /* min-height: 218px; */
        padding:14px;
        background: var(--st-card);
        border: 2px solid var(--st-border);
        border-radius: 11px;
        overflow: hidden;
        transition: border-color .25s ease, transform .25s ease;
    }

    .st-summary-card::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 4px;
        background: rgba(234, 180, 68, .42);
    }

    .st-summary-card:hover {
        border-color: var(--st-gold);
        transform: translateY(-3px);
    }

    .st-summary-label {
        display: flex;
        align-items: center;
        gap: 13px;
        color: var(--st-muted);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
    }

    .st-summary-label i {
        color: var(--st-gold);
        font-size: 22px;
        flex-shrink: 0;
    }

.st-summary-value {
    margin-top: 9px;
    color: var(--st-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.6px;
    overflow-wrap: anywhere;
}
   .st-summary-note {
    margin-top: 10px;
    color: var(--st-muted);
    font-size: 15px;
    line-height: 1.5;
}

    @media (max-width: 1200px) {
        .st-summary-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
        }

    

        .st-summary-label {
         font-size: 14px;
        }
    }

    @media (max-width: 576px) {
        .st-summary {
            padding: 14px 0px;
        }

        .st-summary-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

    }


    .st-qualification {
        --stq-bg: #06101E;
        --stq-gold: #EAB444;
        --stq-text: #F0F3F8;
        --stq-muted: #AAB5C5;
        --stq-track: #1B293C;

        width: 100%;
        padding: 18px 0;
        background: var(--stq-bg);
        color: var(--stq-text);
        font-family: Inter, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", sans-serif;
    }

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

   .stq-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
}
    .stq-status {
        flex-shrink: 0;
        color: var(--stq-gold);
        font-size: 17px;
        font-weight: 500;
    }

    .stq-description {
        margin: 0 0 25px;
        color: var(--stq-muted);
        font-size: 16px;
        line-height: 1.6;
    }

    .stq-targets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .stq-target {
        min-width: 0;
    }

    .stq-target-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 17px;
    }

    .stq-target-label {
        color: var(--stq-muted);
        font-size: 18px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .stq-percentage {
        flex-shrink: 0;
        color: var(--stq-gold);
        font-size: 17px;
        font-weight: 500;
    }

    /* Progress bar */
    .stq-progress {
        width: 100%;
        height: 6px;
        overflow: hidden;
        background: var(--stq-track);
        border-radius: 50px;
    }

    .stq-progress-fill {
        height: 100%;
        width: 0;
        background: var(--stq-gold);
        border-radius: 50px 0 0 50px;
        transition: width 1s ease;
    }

    .stq-remaining {
        margin-top: 15px;
        color: var(--stq-muted);
        font-size:16px;
        line-height: 1.5;
    }

    /* Tablet */
    @media (max-width: 992px) {
        .stq-title {
            font-size: 20px;
        }

        .stq-status {
            font-size: 17px;
        }

        .stq-description {
            font-size: 16px;
        }

        .stq-target-label,
        .stq-percentage {
            font-size: 19px;
        }

        .stq-remaining {
            font-size: 16px;
        }

        .stq-targets {
            gap: 22px;
        }
    }

    /* Mobile */
    @media (max-width: 576px) {
        .st-qualification {
            padding: 12px 0;
        }

        .stq-heading {
            align-items: flex-start;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 14px;
        }

        .stq-title {
            font-size: 16px;
        }

        .stq-status {
            font-size: 17px;
        }

        .stq-description {
            margin-bottom: 25px;
            font-size: 16px;
            line-height: 1.7;
        }

        .stq-targets {
            grid-template-columns: minmax(0, 1fr);
            gap: 27px;
        }

        .stq-target-header {
            margin-bottom: 12px;
            gap: 8px;
        }

        .stq-target-label,
        .stq-percentage {
            font-size: 16px;
        }

        .stq-progress {
            height: 6px;
        }

        .stq-remaining {
            margin-top: 10px;
            font-size: 15px;
        }
    }

    @media (max-width: 360px) {
        .stq-title {
            font-size: 15px;
        }

        .stq-target-label,
        .stq-percentage {
            font-size: 14px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .stq-progress-fill {
            transition: none;
        }
    }
.main_card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin-top:30px;
}
       .income_card {
        width: 100%;
    min-width: 0;
        padding: 14px;
        background: #0F1A29; 
        border: 2px solid #344153;
        border-radius: 11px;
        position: relative;
        overflow: hidden;
    }
    .income_card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(234, 179, 68, 0.703);
}
.income_icon {
    display: flex;
    align-items: center;
    gap: 15px;
}
.income_icon i{
      color: #eab444;
    font-size: 20px;
}
.income_icon span{
      color: #aab5c5;
    font-size: 14px;
    font-weight: 400;
}
.income_card h3{
  font-size: 18px;
    font-weight: 600;
    color: #f0f3f8;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .main_card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 400px) {
    .main_card {
        grid-template-columns: 1fr;
    }
}


.st-referral-card {
    --ref-gold: #EAB444;
    --ref-bg: #0F1A29;
    --ref-border: #344153;
    --ref-text: #F0F3F8;
    --ref-muted: #AAB5C5;

    position: relative;
    width: 100%;
    padding: 22px;
    overflow: hidden;
    background: var(--ref-bg);
    border: 2px solid var(--ref-border);
    border-radius: 12px;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

.st-referral-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(234, 180, 68, 0.75);
}

.st-referral-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ref-text);
    font-size: 20px;
    font-weight: 600;
}

.st-referral-heading i {
    color: var(--ref-gold);
    font-size: 24px;
}

.st-referral-inner {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.st-referral-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    outline: none;
    color: var(--ref-muted);
    background: #091321;
    border: 1px solid var(--ref-border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .25s ease;
}

.st-referral-input:focus {
    border-color: var(--ref-gold);
}

.st-referral-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    flex-shrink: 0;
    color: #101725;
    background: var(--ref-gold);
    border: 1px solid var(--ref-gold);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.st-referral-button:hover {
    background: #F4C65F;
    border-color: #F4C65F;
    transform: translateY(-1px);
}

.st-referral-button:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.st-referral-button i {
    font-size: 17px;
}

.st-referral-message {
    min-height: 0;
    margin-top: 0;
    color: var(--ref-gold);
    font-size: 13px;
}

.st-referral-message:not(:empty) {
    margin-top: 12px;
}

@media (max-width: 576px) {
    .st-referral-card {
        padding: 17px;
    }

    .st-referral-heading {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .st-referral-inner {
        flex-direction: column;
        gap: 10px;
    }

    .st-referral-input {
        flex: none;
        width: 100%;
        font-size: 12px;
    }

    .st-referral-button {
        width: 100%;
        min-height: 44px;
    }
}


 .st-investment-card {
        --inv-bg: #0F1A29;
        --inv-border: #94752D;
        --inv-gold: #EAB444;
        --inv-text: #F0F3F8;
        --inv-muted: #AAB5C5;
        --inv-track: #1B293C;
        --inv-green: #10D6A0;
        padding:20px;
        background: var(--inv-bg);
        border: 2px solid var(--inv-border);
        color: var(--inv-text);
        font-family: Inter, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", sans-serif;
        box-sizing: border-box;
        margin-top: 30px;
    }

    .st-investment-card *,
    .st-investment-card *::before,
    .st-investment-card *::after {
        box-sizing: border-box;
    }

    /* Header */
    .st-investment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        margin-bottom: 8px;
    }

    .st-investment-header h3 {
        margin: 0;
        color: var(--inv-text);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
    }

    .st-investment-status {
        flex-shrink: 0;
        color: var(--inv-gold);
        font-size: 17px;
        font-weight: 500;
    }

    /* Day count */
    .st-investment-day {
        margin-bottom: 16px;
        color: var(--inv-text);
        font-size: 17px;
        font-weight: 500;
    }

    /* Progress bar */
    .st-investment-progress {
        width: 100%;
        height: 10px;
        margin-bottom: 20px;
        overflow: hidden;
        background: var(--inv-track);
        border-radius: 50px;
    }

    .st-investment-progress-fill {
        height: 100%;
        background: var(--inv-gold);
        border-radius: 50px 0 0 50px;
        transition: width .6s ease;
    }

    /* Details grid */
    .st-investment-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 15px;
    }

    .st-investment-item {
        min-width: 0;
    }

    .st-investment-label {
        margin-bottom: 6px;
        color: var(--inv-muted);
        font-size: 20px;
        font-weight: 500;
        line-height: 1.4;
    }

    .st-investment-value {
        color: var(--inv-text);
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .st-investment-green {
        color: var(--inv-green);
    }

    /* Disclaimer */
    .st-investment-note {
        margin: 25px 0 0;
        color: var(--inv-muted);
        font-size: 16px;
        line-height: 1.6;
    }

    /* Tablet */
    @media (max-width: 768px) {
        .st-investment-card {
            padding: 30px 26px;
        }

 
        .st-investment-status {
            font-size: 17px;
        }

 

        .st-investment-value {
            font-size: 18px;
        }

        .st-investment-note {
            font-size: 16px;
        }
    }

    /* Mobile */
    @media (max-width: 480px) {
        .st-investment-card {
            padding: 22px 17px;
        }

        .st-investment-header {
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 8px;
        }

    

        .st-investment-status {
            font-size: 16px;
        }

   

        .st-investment-details {
            column-gap: 15px;
            row-gap: 15px;
        }

        .st-investment-label {
            margin-bottom: 8px;
            font-size: 15px;
        }

        .st-investment-value {
            font-size: 17px;
        }

        .st-investment-note {
            margin-top: 25px;
            font-size: 14px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .st-investment-progress-fill {
            transition: none;
        }
    }


.st-profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 28px;
    width: 100%;
    padding: 20px 0;
    background: #06101E;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

.st-profile-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* .st-profile-field label {
    color: #AAB5C5;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.4;
} */

/* Keep the required input class */
/* .st-profile-field .input {
    width: 100%;
    min-width: 0;
    padding: 5px 0;
    color: #F0F3F8;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.5;
    transition: border-color .25s ease;
} */

/* .st-profile-field .input::placeholder {
    color: #667487;
    opacity: 1;
}

.st-profile-field .input:focus {
    border-bottom-color: #EAB444;
} */

/* Tablet */
@media (max-width: 768px) {
    .st-profile-form {
        column-gap: 24px;
        row-gap: 24px;
    }

    .st-profile-field label {
        font-size: 19px;
    }

    .st-profile-field .input {
        font-size: 23px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .st-profile-form {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .st-profile-field {
        gap: 8px;
    }

    .st-profile-field label {
        font-size: 16px;
    }

    .st-profile-field .input {
        font-size: 19px;
        padding: 7px 0;
    }
}


.bar_code_main {
    display: flex;
    justify-content: space-between;
}
.qr_text {
    margin-top: 10px;
}
.link_cpy_div {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.new_button_css {
    padding: 10px 15px;
    color: #101725;
    background: var(--ref-gold);
    border: 1px solid var(--ref-gold);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
    white-space: nowrap;
}
.new_button_css:hover {
    background: #F4C65F;
    border-color: #F4C65F;
    transform: translateY(-1px);
}
.barcode_inner {
    width: 50%;
}
div#qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_info_p {
    background: #0F1A29;
    border: 2px solid #344153;
    padding: 20px 10px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main_info_p::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(234, 179, 68, 0.703);
}
select.input {
    width: auto;
    min-height: auto;
    padding: 7px 10px;
}
.barcard_info h5, h6 {
    color: var(--muted);
    font-size: 16px;
    margin: 15px 0;
}
.alert.alert-info {
    color: #02ff3d !important;
    background-color: #16923380 !important;
    border-color: #02ff3d !important;
    padding: 10px 6px;
    border-radius: 6px;
}

@media (max-width:992px) {
 .bar_code_main{
  flex-direction: column;
  gap:10px;
 } 
 .barcode_inner {
    width: 100%;
}
}


.support-dropdown {
    position: relative;
}

.support-dropdown .support-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.support-arrow {
    font-size: 11px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.support-dropdown.active .support-arrow {
    transform: rotate(180deg);
}

.support-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: #11151d;
    border: 1px solid #303744;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 9999;
}

.support-dropdown.active .support-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color:var(--muted);
    font-size: 14px;
    text-decoration: none;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.support-menu a i {
    font-size: 16px;
    color: var(--muted);
}

.support-menu a:hover {
    color: #fff;
    background: rgba(0, 200, 240, 0.12);
}

.support-menu a:hover i {
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .support-menu {
        position: static;
        display: none;
        min-width: 100%;
        margin-top: 8px;
        box-shadow: none;
        transform: none;
    }

    .support-dropdown.active .support-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}
.milestone-card {
    padding: 25px;
    background: #0F1A29;
    border: 1px solid #344153;
    border-radius: 18px;
    color: #fff;
    position: relative;
    margin-top: 30px;
    overflow: hidden;
}

.milestone-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(234, 180, 68, 0.75);
}

.milestone-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.milestone-heading h4 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 6px;
}

.milestone-heading p {
    color: #AAB5C5;
    font-size: 13px;
    margin: 0;
}

.milestone-total {
    color: #ffdf73;
    background: #211b0d;
    border: 1px solid #6d5422;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 20px;
    font-weight: 700;
}

/* Normal horizontal progress bar */
.custom-progress {
    width: 100%;
    height: 15px;
    background: #263448;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 25px;
}

.custom-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b6f2b, #d4af37, #ffdf73);
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(234, 180, 68, 0.35);
    transition: width 0.8s ease;
}

/* Seven milestone points */
.milestone-points {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.milestone-step {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.milestone-step span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #66512a;
    background: #111b29;
    color: #b8a16c;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.milestone-step.active span {
    color: #101722;
    background: linear-gradient(145deg, #ffdf73, #d4af37);
    border-color: #ffdf73;
    box-shadow: 0 0 12px rgba(234, 180, 68, 0.25);
}

@media (max-width: 600px) {
    .milestone-card {
        padding: 20px 12px;
    }

    .milestone-heading h4 {
        font-size: 16px;
    }

    .milestone-heading p {
        font-size: 11px;
    }

    .milestone-total {
        font-size: 16px;
        padding: 8px 10px;
    }

    .custom-progress {
        height: 15px;
        margin-bottom: 20px;
    }

    .milestone-points {
        gap: 3px;
    }

    .milestone-step span {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .milestone-step span {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }
}
.milestone-tracker {
    padding: 0 0 5px;
}

/* Percentage labels above progress bar */
.milestone-labels {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    margin-bottom: 15px;
}

.milestone-labels span {
    color: #b8a16c;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.milestone-labels span.active {
    color: #ffdf73;
}

/* Progress bar */
.custom-progress {
    width: 100%;
    height: 15px;
    position: relative;
    background: #28374a;
    border-radius: 50px;
    margin-bottom: 0;
}

/* Filled progress */
.custom-progress-fill {
    width: 0;
    height: 100%;
    position: relative;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #8b6f2b,
        #d4af37,
        #ffdf73
    );
    box-shadow: 0 0 12px rgba(234, 180, 68, 0.25);
    transition: width 0.8s ease;
}

/* Dots positioned on the bar */
.progress-markers {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.progress-marker {
    width: 12px;
    height: 12px;
    justify-self: center;
    border-radius: 50%;
    background: #0F1A29;
    border: 2px solid #8b6f2b;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.progress-marker.active {
    background: #fff0a6;
    border-color: #fff0a6;
    box-shadow: 0 0 8px rgba(255, 223, 115, 0.8);
}

/* Responsive */
@media (max-width: 600px) {
    .milestone-labels {
        margin-bottom: 12px;
    }

    .milestone-labels span {
        font-size: 11px;
    }

 

    .progress-marker {
        width: 10px;
        height: 10px;
        border-width: 2px;
    }
}

@media (max-width: 380px) {
    .milestone-labels span {
        font-size: 9px;
    }

    .progress-marker {
        width: 8px;
        height: 8px;
    }
}

.only-mobile{
  display: none;
}


/* ========================================
   STRONG TRADE WORLD - PAGINATION
   Theme: Navy + Gold
======================================== */

.pagination {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0;
    margin: 0;
    list-style: none;
}

/* Pagination items */
.pagination .paginate_button {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Pagination links */
.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;

    background: #0F1A29;
    color: #B8C3D2;

    border: 1px solid #344153;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    box-shadow: none;
    transition: all 0.25s ease;
}

/* Hover effect */
.pagination .page-link:hover {
    color: #EAB444;
    background: #17263A;
    border-color: #EAB444;
    box-shadow: 0 0 12px rgba(234, 180, 68, 0.12);
    transform: translateY(-2px);
}

/* Active page */
.pagination .page-item.active .page-link {
    color: #07111F;
    background: linear-gradient(135deg, #F7D477 0%, #EAB444 100%);
    border-color: #EAB444;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(234, 180, 68, 0.20);
    cursor: default;
    transform: none;
}

/* Previous and Next buttons */
.pagination .page-item.previous .page-link,
.pagination .page-item.next .page-link {
    padding: 0 17px;
    color: #EAB444;
    background: #111E2E;
    border-color: #344153;
}

/* Previous / Next hover */
.pagination .page-item.previous .page-link:hover,
.pagination .page-item.next .page-link:hover {
    color: #07111F;
    background: #EAB444;
    border-color: #EAB444;
}

/* Disabled buttons, if generated */
.pagination .page-item.disabled .page-link {
    color: #647184;
    background: #0A1422;
    border-color: #263447;
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* Remove Bootstrap focus shadow */
.pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 180, 68, 0.15);
}

/* Last button */
.pagination .page-item:last-child .page-link {
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 576px) {
    .pagination {
        gap: 3px;
        padding: 14px 0;
    }

    .pagination .page-link {
        min-width: 34px;
        height: 36px;
        padding: 0 9px;
        border-radius: 7px;
        font-size: 12px;
    }

    .pagination .page-item.previous .page-link,
    .pagination .page-item.next .page-link {
        padding: 0 8px;
    }
}




/* Login Social Icons */
.st-login-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 25px;
}

.st-login-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #344153 45%,
        #EAB444
    );
}

.st-login-divider:last-child {
    background: linear-gradient(
        90deg,
        #EAB444,
        #344153 55%,
        transparent
    );
}

.st-login-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: #EAB444;
    background: #0F1A29;
    border: 1px solid #344153;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.st-login-social-icon:hover {
    color: #08111F;
    background: #EAB444;
    border-color: #EAB444;
    box-shadow: 0 0 18px rgba(234, 180, 68, 0.25);
    transform: translateY(-3px);
}

.st-login-social-icon:focus-visible {
    outline: 2px solid #EAB444;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .st-login-social {
        gap: 12px;
        margin-top: 20px;
    }

    .st-login-social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
