/* 
====================================================
© 2026 Topuphub. All rights reserved.

This stylesheet (main.css) is the property of Topuphub.
Unauthorized copying, modification, distribution or reuse
of this file (in part or full) is strictly prohibited.

Designed & maintained for Topuphub platform only.
====================================================
*/


:root{
  --blue:#2563eb;
  --blue2:#3b82f6;
  --light:#f5f9ff;
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  
  --tp-blue:#2d6cdf;
  --tp-blue2:#4b86ff;
  --tp-muted:#7b8198;
  --tp-radius:18px;
  --tp-shadow:0 20px 60px rgba(5,18,40,0.08);
  --tp-soft-shadow:0 8px 24px rgba(5,18,40,0.06);
  --tp-shimmer-base:#eef2f7;
}

*{margin:0;padding:0;box-sizing:border-box;
    font-family: 'Inter',sans-serif;
}

body{background:var(--light);color:var(--text);}

/* HEADER */
header{
  position:sticky;top:0;z-index:20;
  background:#fff;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--border);
}

/* ===== APP LOADER ===== */
#app-loader{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(245,249,255,0.85);
  backdrop-filter: blur(6px);

  z-index: 99999;
}

body.loader-open{
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#app-loader{
  opacity:1;
  transition:opacity .25s ease;
}

#app-loader.hide{
  opacity:0;
  pointer-events:none;
}

.page-anim{
  animation: pageFade .25s ease;
}
@keyframes pageFade{
  from{opacity:0; transform: translateY(10px);}
  to{opacity:1; transform: translateY(0);}
}


/* CARD */
.loader-card{
  background:#ffffff;
  border-radius:22px;
  padding:34px 28px;
  text-align:center;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  width:90%;
  max-width:360px;
}

/* LOGO */
.loader-logo{
  position:relative;
  width:64px;
  height:64px;
  margin:0 auto 16px;
  border-radius:50%;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:26px;
  font-weight:700;
}

.loader-logo span{
    display: flex;
    justify-content: center;
}

.loader-logo img{
    width: 70px;
    border-radius: 50%;
}

/* pulse ring */
.pulse-ring{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:2px solid rgba(37,99,235,.4);
  animation:pulse 1.6s infinite ease-out;
}

/* TEXT */
.loader-card h3{
  margin:10px 0 6px;
  font-size:18px;
  color:#0f2f5c;
}

.loader-card p{
  font-size:13px;
  color:#64748b;
}

/* PROGRESS BAR */
.loader-bar{
  margin-top:18px;
  height:6px;
  background:#e5ecff;
  border-radius:999px;
  overflow:hidden;
}

.loader-bar span{
  display:block;
  height:100%;
  width:40%;
  background:linear-gradient(90deg,#2563eb,#3b82f6);
  border-radius:999px;
  animation:loading 1.2s infinite ease-in-out;
}

/* ANIMATIONS */
@keyframes loading{
  0%{transform:translateX(-100%)}
  50%{transform:translateX(40%)}
  100%{transform:translateX(180%)}
}

@keyframes pulse{
  0%{opacity:.8; transform:scale(.9)}
  100%{opacity:0; transform:scale(1.4)}
}


.logo{font-size:20px;font-weight:700;color:var(--blue);}
.header-right{display:flex;gap:10px;align-items:center;}
.wallet{
  background:#eef4ff;
  padding:6px 14px;
  border-radius:999px;
  color:var(--blue);
  font-weight:600;
  font-size:14px;
}

.auth-logged {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* balance chip */
.wallet-chip {
  background: #eef4ff;
  color: #2563eb;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

/* avatar */
.user-avatar-wrap {
  position: relative;
  width: 44px;          /* avatar size + border */
  height: 44px;
  border-radius: 50%;
  padding: 2px;         /* border thickness */

  /* 🔥 blue gradient border */
  background: linear-gradient(
    135deg,
    #e8f0ff 0%,
    #4f7cff 40%,
    #2563eb 70%,
    #4f7cff 100%
  );

  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
 width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* dropdown */
/*.user-dropdown {*/
/*  position: absolute;*/
/*  right: 0;*/
/*  top: 48px;*/
/*  width: 240px;*/
/*  background: #fff;*/
/*  border-radius: 14px;*/
/*  box-shadow: 0 20px 40px rgba(0,0,0,.15);*/
/*  padding: 12px;*/
/*  display: none;*/
/*  z-index: 999;*/
/*}*/

/*.user-dropdown.show {*/
/*  display: block;*/
/*}*/

/* base state (hidden) */
.user-dropdown{
    position:absolute;
    right:0;
    top:56px;
    width:300px;
    max-width:92vw;

    background:#fff;
    border-radius:10px;
    box-shadow:0 14px 40px rgba(0,0,0,.15);

    padding:14px;

    opacity:0;
    transform:translateY(12px) scale(.96);
    pointer-events:none;

    transition:
        opacity .18s ease,
        transform .22s cubic-bezier(.2,.8,.2,1);
    
    z-index:999;
}

/* show state */
.user-dropdown.show{
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}

.user-info{
    padding-bottom:8px;
    border-bottom:1px solid #f0f0f0;
}

.user-meta .name{
    font-weight:700;
}

.user-meta .email{
    opacity:.75;
}

/* logout item soft red */

.drop-accBox.drop-danger{
    background:#fff3f3;
    color:#c0392b;
}

.drop-accBox.drop-danger .drop-accBoxText{
    color:#c0392b;
}

/* user info */
.user-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.user-info .name {
  font-weight: 600;
}

.user-info .email {
  font-size: 12px;
  color: #777;
}

/* divider */
.divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

/* dropdown buttons */
.user-dropdown button {
  width: 100%;
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  font-size: 14px;
  cursor: default;
  border-radius: 8px;
  background: #f4f6ff;
  margin-bottom: 5px;
}

.user-dropdown button:hover {
  background: #f4f6ff;
}

.user-dropdown .danger {
  color: #e11d48;
}


.btn{
  padding:7px 14px;
  border-radius:10px;
  font-size:14px;
  border:none;
  cursor:default;
}
.btn-blue{background:var(--blue);color:#fff;}
.btn-outline{background:#fff;border:1px solid var(--border);}

/* wrapper */

.user-avatar-wrap{
    position:relative;
}

/* dropdown base */

.user-dropdown{
    position:absolute;
    right:0;
    top:56px;
    width:280px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    padding:14px;

    opacity:0;
    transform:translateY(8px) scale(.98);
    pointer-events:none;
    transition:all .22s ease;
    z-index:1000;
}

.user-dropdown.show{
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}

/* user info */

.user-info{
    display:flex;
    gap:10px;
    align-items:center;
}

.user-info .avatar-lg{
    width:38px;
    height:38px;
    border-radius:50%;
    object-fit:cover;
}

.user-info .name{
    font-weight:700;
    font-size:14px;
}

.user-info .email{
    font-size:12px;
    color:#777;
}


/* =========================
   GRID (renamed class)
========================= */

.accountGridMenu{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-top:12px;
    margin-bottom:12px;
}

/* grid boxes */

.drop-accBox{
    text-decoration:none;
    background:#f5f7ff;
    border-radius:12px;
    padding:12px 8px;
    text-align:center;
    color:#2b3a66;
    transition:.15s ease;
}

.drop-accBox:active{
    transform:scale(.96);
}

.drop-accBoxIcon img{
    width:28px;
    height:28px;
    object-fit:contain;
    margin-bottom:6px;
}

.drop-accBoxText{
    font-size:13px;
    font-weight:600;
}


/* =========================
   bottom links
========================= */

.dropdown-links{
    border-top:1px solid #eee;
    padding-top:10px;
    display:flex;
    flex-direction:column;
    gap:6px;
}

.dropdown-links a{
    text-decoration:none;
    padding:8px 10px;
    border-radius:8px;
    color:#333;
    font-weight:600;
    transition:.15s ease;
}

.dropdown-links a:hover{
    background:#f3f5ff;
}

.dropdown-links a.danger{
    color:#e74b4b;
}


/* HERO */
.hero{
  margin:16px;
  background:linear-gradient(135deg,#eef4ff,#ffffff);
  border-radius:22px;
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hero h1{font-size:22px;}
.hero p{font-size:14px;color:var(--muted);}
.hero .meta{font-size:13px;color:var(--muted);}
.hero button{margin-top:8px;width:160px}

/* TRUST */
.trust{
  margin:16px;
  background:#fff;
  padding:16px;
  border-radius:18px;
  font-size:14px;
  color:var(--muted);
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

/* FOOTER */
footer{
  background:#f1f5f9;
  padding:20px 16px 90px;
  font-size:13px;
  text-align:center;
  color:var(--muted);
}
footer a{color:var(--muted);text-decoration:none;margin:0 6px}
/* ================= NAV BAR ================= */
nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 64px;                 /* 🔒 fixed height (important) */
  background: #fff;
  border-top: 1px solid var(--border);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* ================= NAV ITEM ================= */
nav .nav-ul{
    flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  
  transition:transform .15s ease;
}

nav .nav-ul:active{
    transform:scale(0.92);
}

/*#nav .nav-placeholder{*/
/*  pointer-events: none;*/
/*}*/

nav .icon{
  height: 26px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

nav .icon img{
  width: 26px;
  height: auto;
}

/* Default state */
.nav-ul .icon img:nth-of-type(1) {
    display: block;
}

.nav-ul .icon img:nth-of-type(2) {
    display: none;
}

/* Active state */
.nav-ul.active .icon img:nth-of-type(1) {
    display: none;
}

.nav-ul.active .icon img:nth-of-type(2) {
    display: block;
}

nav .text{
  font-size: 12px;
  font-weight: 500;
  color: #5C648D;
}

.nav-ul.active{
    color: #2563eb;
}

/* invisible spacer */
.nav-placeholder{
  width: 54px;   /* same as center icon */
  height: 1px;
  pointer-events: none;
}


/* ================= CENTER SEARCH ================= */
.nav-center{
  position: absolute;            /* 🔥 layout se alag */
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  top: -26px;                    /* kitna upar chahiye */
}

.nav-center .icon{
  /*width: 54px;*/
  /*height: 54px;*/
  /*background: #fff;*/
  /*border-radius: 50%;*/
  /*display: flex;*/
  /*align-items: center;*/
  /*justify-content: center;*/
  /*box-shadow: 0 6px 16px rgba(0,0,0,0.35);*/
  
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 6px 16px rgba(0,0,0,0.35); */
    flex-direction: column;
    border-top: 1px solid #2563eb;
}

.nav-center img{
  width: 24px;
  height: 24px;
}

.nav-center .text{
  margin-top: 6px;
  font-size: 12px;
  color: #5C648D;
}

/* hero card */
.hero-card{
  margin:16px;
  padding:20px;
  /*background:linear-gradient(135deg,#eef4ff,#ffffff);*/
  
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  overflow:hidden;
}

.hero-title{
  display:flex;
  align-items:center;
  font-size:22px;
  font-weight:700;
  color:#1e40af;
}

.hero-title span{
    font-size: 16px;
}

.hero-icon{
  width:35px;
  height:auto;
}

.hero-sub{
    margin-top: 6px;
    font-size: 13px;
    color: #213551;
}

.hero-meta{
  margin-top:10px;
  display:flex;
  gap:4px;
  font-size:12px;
  color:#64748b;
}

.hero-meta span{
  display:flex;
  align-items:center;
}
.hero-meta p{
    color: #2334493b;
}

.hero-meta img{
  width:16px;
  height:auto;
}

.hero-btn{
    margin-top: 15px;
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    /*cursor: pointer;*/
    box-shadow: 0 10px 26px rgba(37,99,235,.35);
}

.hero-right img{
  width:420px;
  max-width:100%;
}

.hero-right{
        position: absolute;
    width: 50%;
    right: 0;
}
/**/

/**/

/* trust card */
.trust-card{
  margin:16px;
  padding:20px;
  /*background:linear-gradient(135deg,#eef4ff,#ffffff);*/
  
  background-image: url("/assets/images/bg.webp");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  overflow:hidden;
  padding-top: 5px;
  padding-bottom: 5px;
}

.trust-title{
        display: flex;
    justify-content: space-between;
    /*width: 100%;*/
}

.trust-title span{
        font-size: 18px;
    font-weight: 700;
}

.trust-title .secure-icon{
        width: 30px;
    height: 30px;
}

.trust-card .payments-icon img{
    width: 100%;
}

.trust-card .payments-icon{
    margin-top: 5px;
    width: 130px;
}

.trust-title div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-right{
      position: absolute;
    width: 50%;
    right: 0;
}

.trust-meta{
  margin-top:5px;
  display:flex;
  gap:4px;
  font-size:14px;
  color:#64748b;
}

.trust-meta span{
  display:flex;
  align-items:center;
}
.trust-meta p{
    color: #2334493b;
}

.trust-meta img{
  width:16px;
  height:auto;
}

/* quick action */
.quick-actions {
  display: flex;
  gap: 10px;
  padding: 20px;
  padding-top: 0;
}

.qa-card {
     background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.6);
    /*cursor: pointer;*/
    transition: transform .2s ease, box-shadow .2s ease;
    width: 23%;
    padding-bottom: 10px;
    padding-top: 10px;
}

.qa-card img {
  width: 35px;
  height: 35px;
}

.qa-card span {
    font-size: 10px;
    font-weight: 500;
    color: #213551;
}

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.22);
}
/* section */

.section {
  padding: 20px;
}

.heading {
  font-size: 20px;
  margin-bottom: 12px;
  color:#0f2f5c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* PC / Desktop – 7 cards */
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* CARD */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* IMAGE */
/*.card-img {*/
/*  width: 100%;*/
/*  height: 120px;*/
/*  object-fit: cover;*/
/*}*/

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.card-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.2);
    opacity: 0.8;
}

.card-img.shimmer{
    height: auto;
}

.card-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* BODY */
.card-body {
  padding: 14px;
}

.card-body h3 {
  font-size: 16px;
  margin: 0;
}

.card-body p {
  font-size: 13px;
  color: #666;
  margin: 4px 0 10px;
}

/* FOOTER */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section .price {
     color: #2563eb;
    font-weight: 100;
    font-size: 12px;
}

.section .price strong{
        font-weight: 800;
    font-size: 15px;
}

/* BUTTON */
.section button {
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  /*cursor: pointer;*/
  white-space: nowrap;
}

/* SKELETON LINES */
.line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.line.title { width: 60%; height: 14px; }
.line.subtitle { width: 80%; }
.line.price { width: 40%; }

/* SHIMMER EFFECT */
.shimmer {
    position: relative;
    background: #e5e7eb;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}


/* CONTAINER */
.gh-searchFilter{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

/* SEARCH */
.gh-search{
  flex:1;
  display:flex;
  align-items:center;
  gap:12px;
  background: linear-gradient(145deg,#ffffff,#f1f6ff);
  border:1px solid rgba(255,255,255,.8);
  box-shadow: 0 14px 30px rgba(27,91,255,.08);
  border-radius:999px;
  padding:16px 20px;
  transition:.3s ease;
}

.gh-search:focus-within{
  box-shadow: 0 0 0 4px rgba(43,109,255,.15);
}

.gh-searchIcon{
  width:20px;
  height:20px;
  opacity:.7;
}

.gh-search input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  font-size:16px;
  font-weight:800;
  color:#1b2b45;
}

.gh-search input::placeholder{
  color:#9aa7bd;
  font-weight:700;
}

/* FILTER BUTTON */
.gh-filterBox{
  position:relative;
}

.gh-filterBtn{
  border:none;
  background: linear-gradient(145deg,#ffffff,#f1f6ff);
  border:1px solid rgba(255,255,255,.8);
  box-shadow: 0 14px 30px rgba(27,91,255,.08);
  border-radius:999px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:900;
  color:#1b2b45;
  cursor:default;
  transition:.3s ease;
}

.gh-filterBtn:hover{
  transform:translateY(-2px);
}

.gh-filterIcon{
  width:20px;
  height:20px;
  filter: brightness(0) invert(1);
}

.gh-arrow{
  font-size:14px;
  opacity:.6;
  transition:.3s ease;
}

/* DROPDOWN */
.gh-dropdown{
  position:absolute;
  top:70px;
  right:0;
  width:200px;
  background:linear-gradient(145deg,#ffffff,#f7faff);
  border-radius:20px;
  padding:10px;
  box-shadow: 0 22px 45px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.95);
  transition:.25s ease;
  z-index:999;
}

.gh-filterBox.active .gh-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.gh-filterBox.active .gh-arrow{
  transform:rotate(180deg);
}

/* DROPDOWN ITEMS */
.gh-dd-item{
  padding:13px 14px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
  color:#1b2b45;
  cursor:default;
  transition:.2s ease;
}

.gh-dd-item:hover{
  background:#edf4ff;
  color:#1b5bff;
}

.gh-dd-item.active{
  background: linear-gradient(180deg,#2b6dff,#1b5bff);
  color:#fff;
  box-shadow: 0 8px 18px rgba(27,91,255,.25);
}

.gh-empty{
    grid-column: 1 / -1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:70px 25px;
    background:#ffffff;
    border-radius:22px;
    box-shadow: 0 20px 45px rgba(0,0,0,.06);
    margin-top:10px;
}

/* ICON WRAPPER */
.gh-emptyIcon{
    width:90px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background: linear-gradient(145deg,#f3f7ff,#e9f1ff);
    margin-bottom:20px;
    animation: floatIcon 2.8s ease-in-out infinite;
}

.gh-emptyIcon img{
    width:42px;
    opacity:.7;
}

/* TITLE */
.gh-emptyTitle{
    font-size:22px;
    font-weight:900;
    color:#1b2b45;
    margin-bottom:8px;
}

/* SUBTEXT */
.gh-emptyText{
    font-size:14px;
    color:#9aa7bd;
    font-weight:700;
    text-align:center;
    max-width:260px;
}

/* FLOAT ANIMATION */
@keyframes floatIcon {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* MOBILE */
@media(max-width:600px){
  .gh-searchFilter{
    flex-direction:column;
    align-items:stretch;
  }

  .gh-filterBtn{
    justify-content:center;
  }

  .gh-dropdown{
    /*width:100%;*/
    right:auto;
  }
}

/* search section modal*/

/* FULL SCREEN MODAL */
/* BASE STATE (hidden) */
.gs-searchModal{
  position:fixed;
  inset:0;
  background: linear-gradient(180deg,#f4f8ff,#ffffff);
  z-index:9999;

  display:flex;
  flex-direction:column;

  transform: translateY(100%);
  opacity:0;
  visibility:hidden;

  transition: 
    transform .35s cubic-bezier(.22,1,.36,1),
    opacity .25s ease,
    visibility .25s;
}

/* ACTIVE STATE (slide up) */
.gs-searchModal.active{
  transform: translateY(0);
  opacity:1;
  visibility:visible;
}

/* HEADER */
.gs-searchHeader{
  padding:20px;
  display:flex;
  justify-content:flex-end;
}

.gs-close{
  background:#fff;
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  font-size:18px;
  font-weight:900;
}

/* CONTENT */
.gs-searchContent{
  padding:20px;
}

/* SEARCH GROUP */
.gs-searchBox{
  display:flex;
  align-items:center;
  background:#ffffff;
  border-radius:999px;
  padding:8px 8px 8px 18px;
  box-shadow:0 14px 35px rgba(27,91,255,.08);
  /*gap:10px;*/
  margin-bottom: 15px;
}

/* ICON */
.gs-searchIcon{
  width:20px;
  opacity:.6;
  margin-right: 10px;
}

/* INPUT */
.gs-searchBox input{
  flex:1;
  border:none;
  outline:none;
  font-size:16px;
  font-weight:800;
  color:#1b2b45;
  background:transparent;
}

/* BUTTON (attached look) */
.gs-searchBtn{
  border:none;
  padding:12px 20px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  color:#fff;
  background: linear-gradient(180deg,#2b6dff,#1b5bff);
  box-shadow: 0 8px 18px rgba(27,91,255,.25);
  transition:.2s ease;
}

.gs-searchBtn:active{
  transform:scale(.96);
}

/* SORT ROW */
.gs-sortRow{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.gs-sortItem{
  padding:16px;
  background:#ffffff;
  border-radius:16px;
  font-weight:800;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  transition:.25s ease;
}

.gs-sortItem.active{
  background: linear-gradient(180deg,#2b6dff,#1b5bff);
  color:#fff;
  box-shadow:0 12px 28px rgba(27,91,255,.25);
}

/* ERROR STATE */
.gs-searchBox.error{
  box-shadow: 0 0 0 3px rgba(255,0,0,.15);
  border: 1px solid rgba(255,0,0,.4);
}

/* SUCCESS STATE */
.gs-searchBox.success{
  box-shadow: 0 0 0 3px rgba(0,180,80,.15);
  border: 1px solid rgba(0,180,80,.4);
}

/* Smooth transition */
.gs-searchBox{
  transition:.25s ease;
}

/**/
/* why card */

   /* ===== Compact / Hero-mini Why Card ===== */
.why-card {
  position: relative;
  max-width: 640px;            /* reduced width */
  background: #ffffff;
  border-radius: 20px;         /* slightly smaller radius */
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: 0 12px 24px -10px rgba(0, 20, 50, 0.06), 0 2px 6px rgba(0,0,0,0.02);
  transition: box-shadow 220ms ease, transform 220ms ease;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  margin: 20px;
  color: #0d2742;
}

/* thin accent line */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 3px;
  background: linear-gradient(90deg,#2b7fff,#88b7ff,#b6d7ff);
  border-radius: 0 0 10px 10px;
  opacity: 0.55;
  pointer-events: none;
}

/* header */
.why-card h2 {
  font-size: 1.6rem;          /* smaller */
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem 0;
  display:flex;
  align-items:center;
  gap:10px;
  color: #0d2742;
}

/* playful sparkle - smaller */
.why-card h2::after{
  content: '✨';
  font-size: 1.15rem;
  opacity: 0.85;
  margin-left: 4px;
}

/* grid */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1rem;
}

/* compact cardlets */
.why-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #f8fbff;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(157,191,255,0.18);
  box-shadow: 0 6px 12px rgba(0, 30, 70, 0.03);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms;
  cursor: default;
  /*animation: cardGlideIn .36s cubic-bezier(.15,.85,.35,1) both;*/
  opacity: 0;
  transform: translateY(14px);
}

/* hover */
.why-item:hover{
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(64,148,255,0.34);
  box-shadow: 0 20px 28px -16px rgba(0,80,180,0.12), 0 0 0 1px rgba(255,255,255,0.7) inset;
}

.why-item.show {
  animation: cardGlideIn .45s cubic-bezier(.15,.85,.35,1) forwards;
}

/* stagger delay */
.why-item.show:nth-child(1){ animation-delay:.05s; }
.why-item.show:nth-child(2){ animation-delay:.10s; }
.why-item.show:nth-child(3){ animation-delay:.15s; }
.why-item.show:nth-child(4){ animation-delay:.20s; }

/* icon bubble */
.why-item .icon {
  flex: 0 0 40px;
  height: 40px;
  min-width:40px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg,#eaf4ff,#f3fbff);
  color: #1760d6;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 2px 6px rgba(0,80,180,0.06);
}

.why-item .icon img{
    width: 25px;
}

/* hover icon */
.why-item:hover .icon{
  transform: scale(1.04);
  background: linear-gradient(180deg,#dff0ff,#eaf7ff);
  color: #0a49a0;
}

/* svg sizing */
.why-item .icon svg {
  width:20px;
  height:20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

/* content */
.why-content strong{
  display:block;
  font-size:1.02rem;
  font-weight:600;
  color:#132f4f;
  line-height:1.18;
  margin-bottom:2px;
}
.why-content p{
  margin:0;
  font-size:0.86rem;
  color:#4a6b88;
  line-height:1.35;
  font-weight:400;
}

/* keyframes */
@keyframes cardGlideIn {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}

/* responsive */
@media (max-width: 680px){
  .why-card{ max-width:100%; padding:1rem; border-radius:16px; }
  .why-card h2{ font-size:1.4rem; margin-bottom:1rem; }
  .why-list{ grid-template-columns: 1fr; gap:0.7rem; }
  .why-item{ padding:0.75rem; border-radius:12px; }
  .why-item .icon{ flex-basis:36px; height:36px; min-width:36px; }
  .why-item .icon svg{ width:18px; height:18px; }
}

/* extra-compact modifier (use .why-card.compact if you want it even tighter) */
.why-card.compact { padding:0.9rem; border-radius:14px; }
.why-card.compact h2 { font-size:1.35rem; margin-bottom:0.9rem; }
.why-card.compact .why-item { padding:0.6rem; border-radius:12px; }
.why-card.compact .why-content strong { font-size:0.98rem; }
.why-card.compact .why-content p { font-size:0.82rem; }
    
/* ============= why card end =========== */

/* follow-card */

/*.follow-card{*/
/*  background-image: url("/assets/images/bg.webp");*/
/*  background-size: cover;*/
/*  background-position: top;*/
/*  background-repeat: no-repeat;*/

/*  margin: 20px;*/
/*  background-color: #fff;*/
/*  border-radius: 20px;*/
/*  padding: 28px 18px 32px;*/
/*  text-align: center;*/
  /*box-shadow: 0 10px 30px rgba(0,0,0,0.05);*/
/*  box-shadow: 0 14px 36px rgba(37,99,235,.18);*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*}*/

/* heading */
/*.follow-card h2{*/
/*  margin: 0;*/
/*  font-size: 26px;*/
/*  font-weight: 700;*/
/*  color: #3b5bd6;*/
/*}*/

/*.follow-card p{*/
/*  margin: 10px 0 26px;*/
/*  font-size: 16px;*/
/*  color: #6b7a99;*/
/*}*/

/* icons row */
/*.social-row{*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  gap: 16px;*/
/*}*/

/* icon wrapper */
/*.social{*/
  /*width: 74px;*/
  /*height: 74px;*/
/*  background: #fff;*/
/*  border-radius: 50%;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  box-shadow: 0 8px 20px rgba(0,0,0,0.08);*/
/*  transition: transform 0.2s ease, box-shadow 0.2s ease;*/
/*  padding: 10px;*/
/*  cursor: default;*/
/*}*/

/*.social img{*/
/*  width: 36px;*/
/*  height: 36px;*/
/*}*/

/* hover / tap effect */
/*.social:hover{*/
/*  transform: translateY(-4px);*/
/*  box-shadow: 0 12px 26px rgba(0,0,0,0.12);*/
/*}*/

/* ================= WRAPPER ================= */
.cards-wrapper{
  display: flex;
  flex-direction: column;   /* 📱 mobile default */
  /*gap: 20px;*/
}

/* ================= DESKTOP VIEW ================= */
@media (min-width: 768px){
  .cards-wrapper{
    flex-direction: row;    /* 🖥️ side by side */
    align-items: stretch;
  }

  .follow-card,
  .why-card{
    flex: 1;                /* equal width */
  }
}

.auth-card.forgot-card .bottom-text{
    margin-top: 20px;
}

.auth-card.forgot-card h2{
    margin-bottom: 25px;
}

.auth-card, .telegram-wait{
     /*max-width: 380px;*/
    background-color: #f8fbff;
    border-radius: 20px;
    padding: 20px;
   box-shadow: 0 14px 36px rgba(37,99,235,.18);
    margin: 20px;
    
        background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

.auth-toggle{
  position: relative;
  display: flex;
  background: #eef3ff;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
  overflow: hidden;
}

/* slider */
.toggle-slider{
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg,#3b6df6,#5a8bff);
  border-radius: 999px;
  transition: transform 0.35s ease;
  z-index: 1;
}

/* buttons */
.toggle-btn{
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  font-weight: 600;
  color: #5c6c9a;
  cursor: default;
  position: relative;
  z-index: 2;
}

.toggle-btn.active{
  color: #fff;
}


/* Headings */
.auth-card h2{
  text-align: center;
  margin: 10px 0 4px;
  font-size: 22px;
}
.auth-card h2 span{
  color: #3b6df6;
}
.subtitle{
  text-align: center;
  color: #7a88a6;
  margin-bottom: 20px;
}

/* Inputs */
.input-box{
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.input-box input{
  border: 0;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
}

.input-box .icon{
      font-size: 16px;
    color: #7a88a6;
    display: flex;
    margin-right: 10px;
}

.input-box .eye{
      font-size: 16px;
    color: #7a88a6;
    display: flex;
    padding-right: 10px;
}

.input-box .icon img, .input-box .eye img{
        width: 20px;
    height: auto;
}

/* Links */
.forgot{
  display: block;
  text-align: right;
  font-size: 13px;
  color: #3b6df6;
  margin-bottom: 16px;
  text-decoration: none;
  cursor: default;
}

/* Primary button */
.primary-btn{
  width: 100%;
  height: 45px;
  border: 0;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg,#3b6df6,#5a8bff);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 24px rgba(59,109,246,0.4);
  display: flex;
  justify-content: center;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: block;
  animation: spin 0.7s linear infinite;
}

.primary-btn .hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* Divider */
.divider{
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #8a96b2;
  font-size: 13px;
}
.divider::before,
.divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe3ff;
}
.divider span{
  padding: 0 10px;
}

/* Social buttons */
.social-btn{
  /*width: 100%;*/
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e3e9ff;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 12px;
   cursor: default;
}
.social-btn img{
  width: 22px;
}

/* Bottom */
.bottom-text{
  text-align: center;
  font-size: 13px;
  color: #7a88a6;
}
.bottom-text a{
  color: #3b6df6;
  font-weight: 600;
  text-decoration: none;
}

.toggle-btn{
  transition: all 0.3s ease;
}

.input-box{
  transition: all 0.3s ease;
}

.hidden{
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.extra-login{
        display: flex;
    gap: 10px;
    justify-content: center;
}

/* ===== AUTH ERROR (Premium) ===== */
.auth-error{
  display: none;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 235, 238, 0.95),
    rgba(255, 245, 245, 0.95)
  );
  border-radius: 16px;
  padding: 14px 16px 14px 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: #b71c1c;
  margin-bottom: 16px;
  box-shadow:
    0 10px 26px rgba(198,40,40,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  animation: errorSlideIn 0.45s ease;
}

/* left icon bubble */
.auth-error::before{
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg,#e53935,#ff6b6b);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(229,57,53,0.4);
  font-size: 14px;
}

/* subtle top glow line */
.auth-error::after{
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229,57,53,0.6),
    transparent
  );
}

/* animation */
@keyframes errorSlideIn{
  from{
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ===== TELEGRAM WAIT STATE ===== */
.telegram-wait{
  text-align: center;
  animation: fadeInUp 0.45s ease;
}

.tg-icon{
  font-size: 42px;
  margin-bottom: 6px;
}

.telegram-wait h2{
  margin-top: 8px;
}

.tg-steps{
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
  color: #5c6c9a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.tg-steps div{
  margin: 6px 0;
}

.waiting-btn{
  opacity: 0.8;
  cursor: default;
}

.cancel-btn{
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e3e9ff;
  background: #fff;
  font-weight: 600;
  color: #3b6df6;
  cursor: default;
}

.cancel-btn:hover{
  background: #eef3ff;
}

/* animation */
@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


    /* CARD */
.wallet-card {
    /*max-width: 360px;*/
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(37,99,235,.18);
    background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    margin: 20px;
}

/* HEADER */
.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.wallet-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1f2d5a;
}

.balance {
  background: #e7efff;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: #2f6df6;
}

.balance strong{
    color: #000;
}

/* INPUT */
.amount-input {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 2px solid #0040ff2e;
}

.amount-input span {
  font-size: 18px;
  color: #2f6df6;
  margin-right: 6px;
  padding-right: 6px;
  border-right: 1px solid #6a6a6a70;
}

.amount-input input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

/* SUGGESTIONS */
.amount-suggestions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.amount-suggestions button {
    border: 2px solid #0040ff2e;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 14px;
    font-weight: 600;
    color: #2f6df6;
    cursor: default;
    transition: 0.2s;
}

.amount-suggestions button strong {
    color: #000;
}

.amount-suggestions button:hover {
  background: #e1eaff;
}

/* SUBMIT */
.submit-btn {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4f8cff, #2f6df6);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 25px rgba(47,109,246,0.4);
}

.add-fund{
        display: flex;
    justify-content: center;
}
.add-fund span{
       display: flex;
    justify-content: center;
    /* margin-bottom: 10px; */
    background: linear-gradient(135deg, #4f8cff, #2f6df6);
    width: 70%;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 6px;
    font-weight: 500;
}

/* ============ wallet card new =============*/
.walletWrap{
  margin: 20px;
  padding: 14px; /* white bg thickness */
  border-radius: 26px;

  background: rgba(255,255,255,.75);
  box-shadow: 0 16px 40px rgba(20, 80, 200, .15);
}

/*.walletCard{*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*  border-radius: 20px;*/

/*  background-image: url("/assets/images/wallet-bg.webp");*/
/*  background-size: cover;*/
/*  background-position: center;*/
/*  background-repeat: no-repeat;*/

/*  border: 1px solid rgba(255,255,255,.35);*/
/*  box-shadow: 0 18px 40px rgba(20, 80, 200, .25);*/
/*}*/

.walletWrap{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 18px 40px rgba(20, 80, 200, .25);
    background:#fff; /* neeche ka normal bg */
}

.walletWrap::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:25vh; 
    background-image:url("/assets/images/wallet-bg.webp");
    background-size:cover;
    background-position:top center;
    background-repeat:no-repeat;
    z-index:0;
    
    box-shadow: inset 0 -40px 35px -20px rgba(255,255,255,0.85);
    
    -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 70%,transparent 100%);
            mask-image: linear-gradient(to bottom,#000 0%,#000 70%,transparent 100%);
}

.walletWrap > *{
    position:relative;
    z-index:1;
}


/*.walletCard{*/
/*      position: relative;*/
/*    overflow: hidden;*/
/*    border-radius: 20px;*/
    /*padding: 22px;*/
/*    margin: 20px;*/
/*    background-image: url("/assets/images/wallet-bg.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    border: 1px solid rgba(255,255,255,.35);*/
/*    box-shadow: 0 18px 40px rgba(20, 80, 200, .25);*/
/*}*/

.walletCard .walletTop{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding: 20px;
  padding-bottom: 1px;
}

/*.walletCard .walletBottom{*/
/*        background-color: #dce6ff4f;*/
/*    padding: 17px;*/
/*    margin: 10px;*/
/*    border-radius: 12px;*/
/*    padding-bottom: 10px;*/
/*    padding-top: 10px;*/
/*}*/

.walletCard .walletIcon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.walletCard .walletIcon img{
    width:55px;
}

.walletCard .walletText .title{
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:.2px;
}

.walletCard .walletText .amount{
  color:#fff;
  font-size:25px;
  font-weight:800;
  margin-top:4px;
}

.walletCard .sub{
  color:rgba(255,255,255,.85);
  font-size:14px;
  margin-top:6px;
  margin-left: 17px;
}

/* chips row */
.walletCard .walletBottom{
  background-color: rgba(220,230,255,.30);
  padding: 14px;
  margin: 12px;
  border-radius: 14px;
  margin-bottom: 0px;
}

/* chips + custom icon row */
.chipBar{
  display:flex;
  align-items:center;
  gap:10px;
}

.walletCard .quickRow{
  flex:1;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}

.walletCard .chip{
  width:100%;
  border:0;
  cursor:default;
  padding:10px 0;
  border-radius:14px;
  font-weight:800;
  font-size:15px;
  background: rgba(255,255,255,.95);
  color:#0f2f86;
  border-bottom:4px solid rgba(0,92,255,.18);
  transition:.2s;
}

.walletCard .chip:active{ transform:scale(.97); }

.walletCard .chip.active{
  outline:2px solid rgb(78 132 255);
}

/* Custom icon button (right side) */
.walletCard .customBtn{
  width:44px;
  height:44px;
  border-radius:14px;
  border:0;
  cursor:default;
  font-size:18px;
  font-weight:900;

  background: rgba(255,255,255,.70);
  color:#0f2f86;
  border-bottom:4px solid rgba(0,92,255,.18);
}

/* input animation */
.amountBox{
  margin-top: 12px;
  width: 100%;

  /* animation */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: .25s ease;
}

.amountBox.show{
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
}

/* input container */
.amountInputWrap{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,.95);
  border: 2px solid rgba(220,230,255,.95);
  border-radius: 16px;

  padding: 10px 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border-bottom: 4px solid rgba(0,92,255,.18);
}

/* ₹ sign */
.amountInputWrap .rs{
  width: 22px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  color: #0f2f86;
}

/* input */
.amountInputWrap input{
  flex: 1;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;

  font-size: 16px;
  font-weight: 700;
  color: #0f2f86;

  padding: 0;
  margin: 0;
  height: 26px;
}

/* remove number arrows (chrome) */
.amountInputWrap input::-webkit-outer-spin-button,
.amountInputWrap input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.amountInputWrap input[type=number]{
  -moz-appearance: textfield;
}

/* close button */
.closeAmt{
    width: 25px;
    height: 25px;
    /* flex: 0 0 36px; */
    border: 0;
    cursor: default;
    border-radius: 14px;
    background: rgba(47,111,255,.12);
    color: #2f6fff;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* add funds button */
.walletCard .btnAdd{
  width: 100%;
  /*margin-top: 14px;*/
  border: 0;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;

  background: linear-gradient(90deg,#2f6fff,#3f83ff,#2f6fff);
  border-bottom: 2px solid rgba(0,0,0,.10);
  display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}


.walletCard .btnAdd:active{
  transform: translateY(1px);
}

/* ============ =============*/

.txCard{
  margin: 20px;
  padding: 14px;
  border-radius: 22px;

  background: rgb(207 219 255 / 42%);
  border: 1px solid rgba(255,255,255,.55);

  box-shadow: 0 18px 40px rgba(20, 80, 200, .12);
}

/* header */
.txHead{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}

.txHeadIcon{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#2f6fff,#66a8ff);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 12px 20px rgba(47,111,255,.25);
}

.txHeadTitle{
  font-size: 15px;
  font-weight: 800;
  color:#1b2b57;
}

/* list container (white inner card) */
.txList{
  background: rgba(255,255,255,.70);
  border-radius: 18px;
  padding: 8px;
}

/* item row */
.txItem{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 10px;
  border-radius: 16px;
}

.txItem + .txItem{
  border-top: 1px solid rgba(15,47,134,.08);
}

/* left icon */
.txIcon{
  width:46px;
  height:46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;

  font-size:18px;
  font-weight:900;
  color:#fff;
}

.txIcon img{
    width: 35px;
}

.txIcon.green{ background: rgba(39,174,96,.18); color:#27ae60; }
.txIcon.red{ background: rgba(231,76,60,.18); color:#e74c3c; }
.txIcon.orange{ background: rgba(243,156,18,.18); color:#f39c12; }
.txIcon.black{ background: rgb(0 0 0 / 18%);color: #000000; }

/* middle text */
.txInfo{
  flex:1;
  min-width: 0;
}

.txAmount{
  font-size: 22px;
  font-weight: 900;
  color:#15224a;
  line-height: 1.1;
  white-space: nowrap;
}

.txAmount.credit{
    color: #27ae60;
}

.txAmount.debit{
    color: #2c3e50;
}

.txAmount.failed{
   color: #e74c3c;
}

.txAmount.pending{
   color: #f39c12;
}

.txText{
  font-size: 10px;
  font-weight: 600;
  color: rgba(21,34,74,.65);
  margin-top: 3px;
}

/* right side */
.txRight{
  text-align:right;
}

.txTime{
  font-size: 12px;
  font-weight: 600;
  color: rgba(21,34,74,.55);
  margin-top: 6px;
}

/* status pills */
.txStatus{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  width: 115px;
  justify-content: center;
}

.txStatus .dot{
  width:18px;
  height:18px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
}

.txStatus.credited{
  background: rgba(39,174,96,.12);
  color:#27ae60;
}
.txStatus.credited .dot{
  background:#27ae60;
  color:#fff;
}

.txStatus.failed{
  background: rgba(231,76,60,.12);
  color:#e74c3c;
}
.txStatus.failed .dot{
  background:#e74c3c;
  color:#fff;
}

.txStatus.debited{
  background: rgba(44,62,80,.10);
  color:#2c3e50;
}
.txStatus.debited .dot{
  background:#2c3e50;
  color:#fff;
}

.txStatus.orange{
  background: rgba(243,156,18,.18);
  color:#f39c12;
}
.txStatus.orange .dot{
  background:#f39c12;
  color:#fff;
}

/* Empty state (when trans = 0) */
.txEmpty{
  padding: 18px 12px;
  margin-top: 10px;
  border-radius: 18px;
  text-align: center;

  background: rgba(255,255,255,.75);
  border: 1px dashed rgba(15,47,134,.18);
  display: none;
}

.txEmptyIcon{
    /* width: 52px; */
    /* height: 52px; */
    margin: 0 auto 10px auto;
    /* border-radius: 16px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(47,111,255,.10); */
    color: #2f6fff;
    font-size: 22px;
    font-weight: 900;
}

.txEmptyTitle{
  font-size: 14px;
  font-weight: 900;
  color:#15224a;
}

.txEmptyText{
  font-size: 11px;
  font-weight: 600;
  color: rgba(21,34,74,.55);
  margin-top: 4px;
}


/* End state (when hasMore=false at bottom) */
.txEnd{
  display:flex;
  align-items:center;
  gap:10px;

  padding: 14px 6px;
  margin-top: 10px;
  display: none;
}

.txEndLine{
  flex:1;
  height: 1px;
  background: rgba(15,47,134,.12);
}

.txEndText{
  font-size: 11px;
  font-weight: 800;
  color: rgba(21,34,74,.50);
  background: rgba(255,255,255,.70);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.60);
}


/**/

.txItem.shimmer {
  position: relative;
 margin-bottom: 15px;
 overflow: hidden;
}

/* sab text hide + base bg */
.txItem.shimmer * {
  background: #f0f0f0;
  border-radius: 4px;
  color: transparent !important;
  user-select: none;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

/* shimmer overlay */
.txItem.shimmer *::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmertxItem 2s infinite linear;
}

/* icon circle */
.txItem.shimmer .txIconShimmer {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

/* lines */
.txItem.shimmer .txInfo .shLine {
  height: 12px;
  margin-bottom: 6px;
}

.txItem.shimmer .txInfo .shLine.w120 { width: 120px; }
.txItem.shimmer .txInfo .shLine.w170 { width: 170px; }

.txItem.shimmer .txRight .shPill {
  height: 24px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.txItem.shimmer .txRight .shPill.w90 { width: 90px; }

.txItem.shimmer .txRight .shLine {
  height: 10px;
}

.txItem.shimmer .txRight .shLine.w140 { width: 140px; }

@keyframes shimmertxItem {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ============ =========== */

.history-card{
  /*max-width:360px;*/
  background: linear-gradient(180deg,#f7faff,#eef4ff);
  border-radius:20px;
  padding:16px;
  margin: 20px;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  font-family: Inter, sans-serif;
}

/* HEADER */
.history-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.history-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:18px;
  color:#1f2d5a;
}

.history-title .check{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#4f8cff;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}

/* TOGGLE */
.switch{
  position:relative;
  width:46px;
  height:26px;
}
.switch input{display:none;}
.slider{
  position:absolute;
  inset:0;
  background:#4f8cff;
  border-radius:30px;
}
.slider::before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  background:#fff;
  border-radius:50%;
  top:2px;
  left:22px;
}

/* LIST */
.history-list{
      background: #fff;
    border-radius: 18px;
    overflow: hidden;
    overflow-y: auto;
    max-height: 70vh;
}

/* ITEM */
.history-item{
  display:flex;
  gap:12px;
  padding:14px;
  border-bottom:1px solid #eef2ff;
  align-items:flex-start;
}

.history-item:last-child{
  border-bottom:none;
}

.history-card .icon{
  width:40px;
  height:40px;
  border-radius:12px;
  background:#e9f6f1;
  color:#28a745;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
}

.details{
  flex:1;
}

.details h4{
  margin:0;
  font-size:20px;
  color:#1f2d5a;
}

.details p{
  margin:4px 0 6px;
  font-size:14px;
  color:#7b89b6;
}

.details2{
        flex: 1;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.time{
  font-size:12px;
  color:#7b89b6;
  white-space:nowrap;
}

/* STATUS */
.status{
  display:flex;
  align-items:center;
  gap:6px;
}

.dot{
 display: flex;
}

.dot img{
        width: 20px;
    height: auto;
}

.badge{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

.badge.success{
  background:#eafaf1;
  color:#2ecc71;
}

.badge.failed{
  background:#ffecee;
  color:#ff4d4f;
}

.badge.pending{
  background:#fff5dd;
  color:#f5b942;
}


.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
  margin: 16px;
  
  background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

/* ===== Modal Root ===== */
.thx-history-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    font-family: inherit;
}

.thx-history-modal.active {
    display: block;
    animation: thxFadeIn 0.25s ease;
}

@keyframes thxFadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* ===== Overlay ===== */
/*.thx-history-overlay {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: rgba(15, 23, 42, 0.55);*/
/*    backdrop-filter: blur(6px);*/
/*    -webkit-backdrop-filter: blur(6px);*/

    /* GPU acceleration */
/*    transform: translateZ(0);*/
/*    will-change: backdrop-filter, opacity;*/
/*}*/

.thx-history-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.45);
    cursor: default;
    z-index: 1;
}

.thx-history-modal.active {
    display: block;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@keyframes thxOverlayIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* ===== Bottom Sheet ===== */
.thx-history-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 22px 22px 0 0;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    transition: bottom 0.35s cubic-bezier(.4,0,.2,1);
    
    z-index: 2;
}

/*.thx-history-sheet {*/
/*    position: absolute;*/
/*    z-index: 2;*/
/*}*/

.thx-history-modal.active .thx-history-sheet {
    bottom: 0;
}

/* ===== Drag Handle ===== */
.thx-history-sheet::before {
    content: "";
    width: 40px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
    margin: 10px auto 0;
}

/* ===== Header ===== */
.thx-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.thx-history-title {
    font-weight: 600;
    font-size: 16px;
    color: #1e293b;
}

.thx-history-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    background: #f1f5f9;
    transition: 0.2s;
    font-size: 18px;
}

.thx-history-close:hover {
    background: #e2e8f0;
}

/* ===== Body ===== */
.thx-history-body {
    padding: 14px;
    overflow-y: auto;
}

/* Scrollbar */
.thx-history-body::-webkit-scrollbar {
    width: 6px;
}
.thx-history-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* ===== Item ===== */
.thx-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    cursor: default;
    transition: all 0.28s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Hover */
.thx-history-item:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.18);
}

/* Press */
.thx-history-item:active {
    transform: scale(0.96);
}

/* Content */
.thx-history-content {
    flex: 1;
}

/* ===== Arrow Container ===== */
.thx-history-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-left: 12px;

    opacity: 0;
    transform: translateX(-12px) scale(0.85);
    transition: all 0.28s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

/* FIX CENTER */
.thx-history-arrow::before {
    content: "➜";
    display: block;
    transform: translateX(-1px);   /* 👈 center correction */
    transition: transform 0.25s ease;
}

.thx-history-item:hover .thx-history-arrow::before {
    transform: translateX(1px);
}

.thx-history-item.go .thx-history-arrow::before {
    transform: translateX(30px);
}

/* Hover → show arrow */
.thx-history-item:hover .thx-history-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Hover arrow move */
/*.thx-history-item:hover .thx-history-arrow::before {*/
/*    transform: translateX(3px);*/
/*}*/

/* ===== Click Animation ===== */
/*.thx-history-item.go {*/
/*    transform: translateX(12px);*/
/*    background: linear-gradient(135deg,#3b82f6,#2563eb);*/
/*    color: #fff;*/
/*    border-color: transparent;*/
/*}*/

/*.thx-history-item.go .thx-history-id {*/
/*    color: rgba(255,255,255,0.85);*/
/*}*/

/* Arrow push forward */
.thx-history-item.go .thx-history-arrow {
    /*transform: translateX(30px) scale(1.15);*/
    box-shadow: 0 6px 18px rgba(37,99,235,0.55);
}

/* Arrow icon forward */
/*.thx-history-item.go .thx-history-arrow::before {*/
/*    transform: translateX(6px);*/
/*}*/

.thx-history-item:hover .thx-history-arrow {
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15),
                0 6px 18px rgba(37,99,235,0.45);
}

/* ===== Text ===== */
.thx-history-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
    color: #0f172a;
}

.thx-history-id {
    font-size: 13px;
    color: #64748b;
}

.thx-history-id:empty {
    display: none;
}

/* ===== Loading ===== */
.thx-history-loading {
    text-align: center;
    padding: 25px;
    color: #64748b;
    font-size: 14px;
}

/* ===== Animation Out ===== */
.thx-history-modal.closing .thx-history-sheet {
    bottom: -100%;
}

.thx-history-modal.closing {
    animation: thxFadeOut 0.25s ease forwards;
}

@keyframes thxFadeOut {
    from { opacity: 1 }
    to { opacity: 0 }
}

/* Background Image */
/*.product-card .card-img {*/
/*      width: 100%;*/
/*    height: 160px;*/
/*    object-fit: cover;*/
/*    object-position: top;*/
/*}*/

.image-wrap{
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #eef3ff;
}

/* BLUR BACKGROUND IMAGE */
.img-blur{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.2); /* blur edges hide karne ke liye */
    opacity: 0.7;
}

/* MAIN IMAGE (NO CROP) */
.img-main{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    z-index: 2;
}

/* Content */
.card-content {
  padding: 16px;
}

/* Header */
.card-header h3 {
  margin: 8px 0 4px;
  font-size: 18px;
  color: #0f2f5c;
}

.card-header h3 span {
  font-weight: 600;
}

.card-header p {
  font-size: 13px;
  color: #6b7a99;
}

.game-logo {
  width: 90px;
}

/* Inputs */
.form-group {
  margin-top: 14px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #556;
}

.form-group input {
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #e4ebf5;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
  border-color: #3b82f6;
}

/* Row */
.form-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

/* Verify Button */
.history-btn {
      padding: 5px 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 14px;
    cursor: default;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
    display: flex;
    align-items: center;
    gap: 2px;
    /*border: 1px solid #0069ff;*/
    width: 55px;
    height: 30px;
    justify-content: center;
}

.history-btn span{
    display: flex;
}

.history-btn span img{
    width: 20px;
}


/* Verify Button */
.verify-btn {
      padding: 5px 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 14px;
    cursor: default;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
    display: flex;
    align-items: center;
    gap: 2px;
    /*border: 1px solid #0069ff;*/
    width: 150px;
    height: 30px;
    justify-content: center;
}

.verify-btn span{
    display: flex;
}

.verify-btn span img{
    width: 20px;
}

/* Verified */
.verified {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #16a34a;
}

.tick {
  background: #16a34a;
  color: #fff;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}

.features-badge{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.features-badge > div{
    display: flex;
    gap: 5px;
    background-color: #0095ff1f;
    border: 1px solid #0040ff2e;
    padding: 5px 8px;
    border-radius: 6px;
    align-items: center;
}

.features-badge div span{
    display: flex;
}

.features-badge div span img{
    width: 12px;
}

.features-badge div p{
       white-space: nowrap;
    font-size: 10px;
    font-weight: 500;
}


/*.category-card{*/
/*     background-color: #fff;*/
/*    padding: 20px;*/
/*    margin: 16px;*/
/*    box-shadow: 0 14px 36px rgba(37,99,235,.18);*/
    /* background-image: url("/assets/images/bg.webp"); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
/*    border-radius: 20px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*}*/

/*.category-card h3{*/
/*  font-size: 18px;*/
/*  margin: 0;*/
/*  color: #0f2f5c;*/
/*}*/

/*.category-card p{*/
/*  margin: 4px 0 14px;*/
/*  font-size: 13px;*/
/*  color: #6b7a99;*/
/*}*/

/* GRID */
/*.category-grid{*/
/*  display: grid;*/
/*  grid-template-columns: repeat(4, 1fr);*/
/*  gap: 12px;*/
/*}*/

.category-card{
  background: #fff;
  padding: 20px;
  margin: 16px;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card h3{
  font-size: 18px;
  margin: 0;
  color: #0f2f5c;
}

.category-card p{
  margin: 4px 0 14px;
  font-size: 13px;
  color: #6b7a99;
}

/* ===== GRID ===== */
.category-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ===== CATEGORY ITEM ===== */
.cat-item{
    position: relative;
    background: linear-gradient(180deg,#f8fafc,#eef2ff);
    border-radius: 14px;
    padding: 14px 8px;
    border: 2px solid transparent;
    text-align: center;
    cursor: default;
    transition: .25s ease;
    overflow-x: hidden;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.cat-item img{
  width: 36px;
  margin-bottom: 6px;
}

.cat-item span{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

/* hover */
.cat-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* ===== ACTIVE STATE ===== */
.cat-item.active{
  border-color: #3b82f6;
  background: linear-gradient(180deg,#eef4ff,#ffffff);
  box-shadow: 0 14px 30px rgba(59,130,246,.35);
}

/* ===== TICK BADGE ===== */
.cat-item .tick-badge{
  position: absolute;
  top: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: .2s ease;
}

.cat-item.active .tick-badge{
  opacity: 1;
  transform: scale(1);
}

.cat-item:active{
  transform: scale(.96);
}


/* ITEM */
/*.cat-item{*/
/*  background: #fff;*/
/*  border-radius: 14px;*/
/*  padding: 14px 8px;*/
/*  text-align: center;*/
/*  box-shadow: 0 6px 16px rgba(0,0,0,0.06);*/
/*  border: 2px solid transparent;*/
/*  cursor: default;*/
/*  transition: .2s ease;*/
/*}*/

/*.cat-item img{*/
/*  width: 45px;*/
/*  height: 45px;*/
/*  object-fit: contain;*/
  /*margin-bottom: 6px;*/
/*}*/

/*.cat-item span{*/
/*  font-size: 13px;*/
/*  font-weight: 500;*/
/*  color: #0f2f5c;*/
/*  white-space: nowrap;*/
/*}*/

/* ACTIVE STATE */
/*.cat-item.active{*/
/*  border-color: #3b82f6;*/
/*  background: linear-gradient(180deg, #eaf1ff, #ffffff);*/
/*  box-shadow: 0 10px 26px rgba(59,130,246,.35);*/
/*}*/

/*.cat-item.active span{*/
/*  color: #2563eb;*/
/*}*/

/* HOVER */
/*.cat-item:hover{*/
/*  transform: translateY(-2px);*/
/*}*/


.package-grid{
      /*position: relative;*/
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 36px rgba(37,99,235,.18);
    margin: 16px;
    /*background-image: url("/assets/images/bg.webp");*/
    /*background-size: cover;*/
    /*background-position: bottom;*/
    /*background-repeat: no-repeat;*/
  padding: 10px;
}

.package-card{
     background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    border: 3px solid #e9e9e9;
    cursor: default;
    transition: .25s ease;
    margin: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.package-card:hover{
  transform: translateY(-3px);
}

/* Active selected */
.package-card.active{
  border-color: #3b82f6;
  box-shadow: 0 14px 36px rgba(59,130,246,.35);
}

/* Image box */
.package-img{
      background: linear-gradient(180deg,#eef3ff,#ffffff);
    border-radius: 12px;
    padding: 10px;
    background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 15px;
    /* box-shadow: 0 14px 36px rgba(37,99,235,.18); */
    border: 1px solid #004aff1c;
}

.package-img img{
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* Text */
.package-info{
  margin-top: 8px;
}

.qty{
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.qty-1{
  font-size: 13px;
  font-weight: 100;
  color: #1e293b;
}

.package-grid .price{
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
  margin-top: 4px;
}

.package-grid .price strong{
color: #000;
font-size: 20px;
}

.package-grid{
  display: grid;
  gap: 15px;
}

/* 📱 Mobile: 2 per row */
@media (max-width: 767px){
  .package-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📟 Tablet: 5 per row */
@media (min-width: 768px) and (max-width: 1023px){
  .package-grid{
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 💻 Laptop/Desktop: 7 per row */
@media (min-width: 1024px){
  .package-grid{
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ===== SHIMMER BASE ===== */
.package-grid .shimmer {
  position: relative;
  overflow: hidden;
}

/* moving light */
.package-grid .shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmerpackage 1.4s infinite;
}

@keyframes shimmerpackage {
  100% {
    transform: translateX(100%);
  }
}

/* ===== SHIMMER BLOCKS ===== */
 .package-grid .shimmer-box {
  height: 70px;
  border-radius: 12px;
  background: #e5e7eb;
  margin-bottom: 8px;
}

.package-grid .shimmer-line {
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  margin: 6px auto;
}

.package-grid .shimmer-line.sm { width: 60%; }
.package-grid .shimmer-line.md { width: 75%; }
.package-grid .shimmer-line.lg { width: 90%; }

/* Remove hover / border effect */
.package-grid .shimmer.package-card {
  border: 0;
  box-shadow: none;
  cursor: default;
}

.p-card{
  background: linear-gradient(180deg,#f9fafb,#f1f5f9);
  border-radius: 14px;
  padding: 14px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform .2s ease, box-shadow .2s ease;
}

.p-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* subtle glow */
.p-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,.6),
    transparent 70%);
  opacity: .5;
  pointer-events: none;
}

/* ===== Amount Section ===== */
.p-card .amounts{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-card .amounts p{
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.p-card .amounts span{
  font-size: 13px;
  color: #475569;
}

/* ===== Price Row ===== */
.p-card .price{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-card .price p{
  font-size: 17px;
  font-weight: 900;
  color: #2563eb;
}

/* diamond icon container */
.p-card .price div{
  /*background: #e0e7ff;*/
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card .price div[data-type="codcp"]{
  background: linear-gradient(135deg,#fff3c4,#facc15);
}

.p-card .price div[data-type="diamond"],div[data-type="crystal"],div[data-type="nexus"]{
  background: linear-gradient(135deg,#e0f2fe,#bfdbfe);
}

.p-card .price div[data-type="pass"]{
  background: linear-gradient(135deg, #fef4e0, #feefbf);
}

.p-card .price div[data-type="2x-diamond"]{
  background: linear-gradient(135deg,#e0f2fe,#bfdbfe);
}

.p-card .price div[data-type="package"]{
  background: linear-gradient(135deg, #fef4e0, #feefbf);
}

.p-card .price div img{
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.p-card .badge{
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.p-card.active{
  border-color: #3b82f6;
  box-shadow: 0 16px 40px rgba(59,130,246,.35);
}

.p-card:active{
  transform: scale(.97);
}

/* ===== Tick Badge ===== */
.tick-badge{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: .2s ease;
}

/* ===== Active Card ===== */
/*.p-card.active{*/
/*  border-color: #22c55e;*/
/*  box-shadow: 0 16px 40px rgba(34,197,94,.35);*/
/*}*/

.p-card.active .tick-badge{
  opacity: 1;
  transform: scale(1);
}

/*.p-card{*/
/*        background-color: #d6d6d6;*/
/*    border-radius: 5px;*/
/*    padding: 15px;*/
/*        box-sizing: border-box;*/
/*    overflow-x: hidden;*/
/*}*/

/*.p-card .amounts{*/
/*        display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.p-card .amounts p{*/
/*        font-size: 15px;*/
/*    font-weight: 800;*/
/*}*/

/*.p-card .amounts span{*/
/*    font-size: 13px;*/
/*}*/


/*.p-card .price{*/
/*        display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.p-card .price p{*/
/*        font-size: 15px;*/
/*    font-weight: 900;*/
/*}*/

/*.p-card .price div{*/
    
/*}*/

/*.p-card .price div img{*/
/*    width: 35px;*/
/*}*/

   .payment-card{
  background: #f4f7ff;
  border-radius: 18px;
  padding: 16px;
  margin: 16px;
  box-shadow: 0 14px 36px rgba(37,99,235,.18);
}

/* summary */
.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.summary-row.sub{
  margin-top:4px;
}

.label{
  font-size:13px;
  color:#6b7a99;
}

.value{
  font-size:14px;
  font-weight:600;
  color:#0f2f5c;
}

.payment-card .price{
  font-size:18px;
  font-weight:700;
  color:#0f2f5c;
}

/* payment method */
.payment-method{
  margin-top:14px;
  background:#f8faff;
  border-radius:14px;
  /*padding:12px;*/
}

.payment-method h4{
  margin:0 0 10px;
  font-size:14px;
  color:#0f2f5c;
}

.method{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  border-radius:12px;
  padding:10px;
  border:2px solid #00000024;
}

.method.disabled{
  opacity: .45;
  pointer-events: none;
  filter: grayscale(1);
}

.method.split::after{
  content: "Split Payment";
  font-size: 11px;
  color: #2563eb;
  font-weight: 600;
}

.method.full::after{
  content: "Full Payment";
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
}

.method.active{
  border-color:#3b82f6;
}

.left{
  display:flex;
  align-items:center;
  gap:8px;
}

.check{
  display: flex;
}

.check img{
    width: 15px;
    height: 15px;
}

.icon{
  width:20px;
}

.method span{
  font-size:14px;
  font-weight:600;
}

.method small{
  font-weight:400;
  color:#6b7a99;
}

.amt{
  font-size:16px;
  font-weight:700;
}

/* upi */
.upi-box{
  display:flex;
  gap:14px;
  margin-top:10px;
}

.upi-box img{
  height:20px;
  object-fit:contain;
}

.method .check img{
        border: 1px solid #00000024;
    border-radius: 10px;
    width: 15px;
    height: 15px;
}

/* amount */
.amount-row{
  display:flex;
  justify-content:space-between;
  margin:14px 0;
  font-size:16px;
  color:#0f2f5c;
}

/* pay button */
.pay-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:linear-gradient(135deg,#3b82f6,#2563eb);
  color:#fff;
  font-size:16px;
  font-weight:600;
  cursor:default;
  /*box-shadow:0 10px 26px rgba(59,130,246,.4);*/
  display: flex;
  justify-content: center;
  height: 6vh;
  align-items: center;
}

.low-balance{
  color:#ef4444 !important;
  font-size:12px;
  display: none;
}

.coupon-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 14px 16px;
    border-radius: 14px;
    
    background: #f3f6fb;
    border: 2px solid #dbe6ff;
    
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    
    margin: 10px 0;
}

.coupon-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coupon-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    
    background: linear-gradient(135deg, #e0edff, #c7dbff);
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-icon img{
    width: 25px;
}

.coupon-text {
    font-size: 16px;
    font-weight: 600;
    color: #1e2a44;
}

.coupon-btn {
    border: none;
    outline: none;
    
    padding: 8px 18px;
    border-radius: 20px;
    
    font-size: 14px;
    font-weight: 600;
    color: white;
    
    background: linear-gradient(135deg, #4a8cff, #2563eb);
    
    cursor: default;
    
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    
    transition: 0.2s;
}

.coupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

.coupon-btn:active {
    transform: scale(0.95);
}

/* Applied Box */
.coupon-box.applied {
    background: #f0fff5;
    border: 2px solid #b9f3c9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: none;
}

/* Left */
.coupon-info {
    display: flex;
    flex-direction: column;
}

/* Icon success */
.coupon-icon.success {
    background: linear-gradient(135deg, #c9f7d9, #a7f0c2);
}

/* Title */
.coupon-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f5132;
}

/* Description */
.coupon-box.applied .coupon-desc {
    font-size: 13px;
    color: #198754;
    margin-top: 2px;
}

.coupon-box.applied .coupon-desc .amount {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-block;
    /*min-width: 70px; */
}

/* Remove Button */
.coupon-remove {
    border: none;
    outline: none;
    
    padding: 7px 16px;
    border-radius: 18px;
    
    font-size: 13px;
    font-weight: 600;
    
    color: #dc3545;
    background: #ffe5e8;
    
    cursor: default;
    
    transition: 0.2s;
}

.coupon-remove:hover {
    background: #ffd6da;
}

.coupon-remove:active {
    transform: scale(0.94);
}

/* Slide animation */
.coupon-box.applied {
    display: none;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
}

.coupon-box.applied.show {
    animation: couponSlide 0.45s ease forwards;
}

@keyframes couponSlide {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}


/* Success icon */
.coupon-icon.success {
    background: linear-gradient(135deg, #c9f7d9, #a7f0c2);
    position: relative;
}

/* Tick circle */
.tick {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #16a34a;
    position: relative;
}

/* Tick line */
.tick::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    animation: tickAnim 0.4s ease 0.2s forwards;
}

@keyframes tickAnim {
    to {
        transform: rotate(45deg) scale(1);
    }
}

.coupon-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.coupon-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.coupon-modal-content {
    width: 100%;
    max-width: 500px;
    background: #f4f7ff;
    border-radius: 20px 20px 0 0;
    padding: 18px;
    transform: translateY(100%);
    transition: 0.35s ease;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

.coupon-modal.active .coupon-modal-content {
    transform: translateY(0);
}

/* Header */
.coupon-modal .coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.coupon-modal .coupon-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e2a44;
}

.coupon-modal .coupon-close {
    font-size: 20px;
    cursor: default;
}

/* Input */
.coupon-modal .coupon-input-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon-modal .coupon-input-box input {
    flex: 1;
    border: 2px solid #dbe6ff;
    border-radius: 12px;
    padding: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.coupon-modal .coupon-input-box input:focus {
  outline: none;
  border-color: #4a8cff;
  background: #ffffff;
  
  box-shadow:
    0 0 0 3px rgba(74, 140, 255, 0.15),
    0 4px 12px rgba(37, 99, 235, 0.15);

  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.input-success {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.coupon-modal .coupon-input-box button {
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    background: linear-gradient(135deg,#4a8cff,#2563eb);
    cursor: default;
}

.coupon-error-box {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
  animation: couponfadeIn 0.25s ease;
  margin-bottom: 10px;
}

@keyframes couponfadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.coupon-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: 0.25s;
}

.coupon-success-overlay.active {
  opacity: 1;
}

.coupon-success-box {
  background: white;
  border-radius: 16px;
  padding: 22px;
  width: 280px;
  text-align: center;
  transform: scale(0.85);
  transition: 0.25s;
}

.coupon-success-overlay.active .coupon-success-box {
  transform: scale(1);
}

.coupon-success-overlay .success-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.coupon-success-overlay .success-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
  color: #1e293b;
}

.coupon-success-overlay .success-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
}

.coupon-success-overlay .success-btn {
  background: linear-gradient(135deg,#4a8cff,#2563eb);
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

/* lightweight card styling similar to your app look */
/* LIST */
.coupon-list {
  /*padding: 6px;*/
  max-height: 60vh;
  overflow: auto;
}

/* CARD */
.coupon-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #e6ecff;
  box-shadow: 0 8px 24px rgba(30, 60, 120, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.25s;
  border-left: 4px solid #3b82f6;
}

/* hover effect (web) */
/*.coupon-card:active {*/
  /*transform: translateY(-1px);*/
/*  transform: scale(0.96);*/
/*  box-shadow: 0 10px 28px rgba(30, 60, 120, 0.12);*/
/*}*/

/* SUGGESTED */
.coupon-suggest {
    border-left: 4px solid #3b82f6;
    /*background: linear-gradient(165deg, #ffffff, #e7f0ff);*/
}


/* TOP */
.coupon-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

/* CODE BADGE */
.coupon-code {
  display: inline-block;
  background: #eef4ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}

/* DESC */
.coupon-desc {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
  max-width: 220px;
}

/* SAVE AMOUNT */
.coupon-preview {
  font-weight: 700;
  color: #16a34a;
  font-size: 15px;
  background: #ecfdf5;
  padding: 4px 8px;
  border-radius: 8px;
}

/* ACTION */
.coupon-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* APPLY BUTTON */
.btn-apply {
  background: linear-gradient(135deg,#4a8cff,#2563eb);
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
  transition: 0.2s;
}

.btn-apply:active {
  transform: scale(0.96);
}

.btn-apply.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* META */
/*.coupon-meta {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  gap: 8px;*/
/*  font-size: 12px;*/
/*  color: #64748b;*/
/*  border-top: 1px dashed #e6ecff;*/
/*  padding-top: 8px;*/
/*}*/

/* LIMIT SECTION BOX */
.coupon-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #e6ecff;
  padding-top: 8px;
  font-size: 12px;
}

/* EACH LIMIT ROW */
.limit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #eef2ff;
  padding: 6px 10px;
  border-radius: 8px;
}

/* LABEL */
.limit-label {
  color: #64748b;
  font-weight: 500;
}

/* VALUE */
.limit-value {
  font-weight: 700;
  color: #1e293b;
}

/* ACTION BUTTON LINK */
.coupon-link-btn {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(34,197,94,0.3);
  transition: 0.2s;
}

.coupon-link-btn:active {
  transform: scale(0.96);
}

/* TAG */
.coupon-modal .tag {
  background: #e6f0ff;
  color: #2563eb;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}

/* REASON */
.coupon-reason {
  color: #b91c1c;
  font-size: 13px;
  background: #fff1f2;
  padding: 6px 8px;
  border-radius: 8px;
}

/* LINK */
.coupon-action a {
  color: #2563eb;
  text-decoration: none;
  font-size: 12px;
}

/* REWARD TYPE (Instant / Cashback) */
.coupon-reward {
  font-size: 12px;
  font-weight: 600;
  color: #7c3aed;
  background: #f3e8ff;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  margin-top: 4px;
}

/* MAX DISCOUNT */
.coupon-max {
  font-size: 12px;
  font-weight: 600;
  color: #ea580c;
  background: #fff7ed;
  padding: 3px 8px;
  border-radius: 8px;
}

/* OPTIONAL: best coupon highlight (future use) */
.coupon-best {
  border: 1px solid #22c55e;
  background: linear-gradient(165deg, #ffffff, #ecfdf5);
}

/* OPTIONAL: clickable feel when enabled */
.btn-apply:not(.disabled) {
  cursor: default;
}

/* NO COUPON BOX */
.no-coupon-box {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px dashed #dbe6ff;
  box-shadow: 0 8px 24px rgba(30, 60, 120, 0.06);
}

/* ICON */
.no-coupon-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.no-coupon-icon img{
    width: 45px;
}

/* TITLE */
.no-coupon-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

/* DESC */
.no-coupon-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

/* Coupon Card */
/*.coupon-modal .coupon-card {*/
/*    background: white;*/
/*    border-radius: 14px;*/
/*    padding: 14px;*/
/*    margin-bottom: 12px;*/
/*    box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
/*    border: 1px solid #e6ecff;*/
/*}*/

/*.coupon-modal .coupon-card-top {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.coupon-modal .coupon-code {*/
/*    font-size: 16px;*/
/*    font-weight: 700;*/
/*    color: #2563eb;*/
/*}*/

/*.coupon-modal .coupon-desc {*/
/*    font-size: 13px;*/
/*    color: #555;*/
/*}*/

/*.coupon-modal .apply-btn {*/
/*    background: linear-gradient(135deg,#4a8cff,#2563eb);*/
/*    color: white;*/
/*    border: none;*/
/*    padding: 6px 14px;*/
/*    border-radius: 20px;*/
/*    font-size: 13px;*/
/*    cursor: default;*/
/*}*/

/* Meta */
/*.coupon-modal .coupon-meta {*/
/*    margin-top: 8px;*/
/*    font-size: 12px;*/
/*    color: #666;*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 8px;*/
/*}*/

/*.coupon-modal .coupon-card {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.coupon-modal .coupon-card::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: linear-gradient(*/
/*        120deg,*/
/*        transparent,*/
/*        rgba(255,255,255,0.4),*/
/*        transparent*/
/*    );*/
/*    transform: translateX(-100%);*/
/*    animation: couponshine 3s infinite;*/
/*}*/

/*@keyframes couponshine {*/
/*    100% {*/
/*        transform: translateX(100%);*/
/*    }*/
/*}*/

/* Shimmer Loading Effect */
.coupon-shimmer-wrapper {
    /*padding: 0 4px;*/
}

.coupon-shimmer-card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e6ecff;
    position: relative;
    overflow: hidden;
}

.coupon-shimmer-line {
    height: 10px;
    background: #f0f3f8;
    border-radius: 8px;
    margin: 8px 0;
}

.coupon-shimmer-line-small {
    height: 10px;
    background: #f0f3f8;
    border-radius: 6px;
    margin: 6px 0;
}

.coupon-shimmer-line-medium {
    height: 10px;
    background: #f0f3f8;
    border-radius: 7px;
    margin: 7px 0;
    width: 80%;
}

.coupon-shimmer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.coupon-shimmer-left {
    flex: 1;
}

.coupon-shimmer-right {
    width: 60px;
    height: 28px;
    background: #f0f3f8;
    border-radius: 20px;
}

.coupon-shimmer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.coupon-shimmer-tag {
    width: 80px;
    height: 15px;
    background: #f0f3f8;
    border-radius: 8px;
}

.coupon-shimmer-tag-small {
    width: 60px;
    height: 15px;
    background: #f0f3f8;
    border-radius: 8px;
}

/* Shimmer Animation */
.coupon-shimmer-card {
    position: relative;
    overflow: hidden;
}

.coupon-shimmer-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: translateX(-100%);
    animation: couponShimmerFlow 1.8s infinite;
}

@keyframes couponShimmerFlow {
    100% {
        transform: translateX(100%);
    }
}

/* Individual shimmer elements animation */
.coupon-shimmer-line,
.coupon-shimmer-line-small,
.coupon-shimmer-line-medium,
.coupon-shimmer-right,
.coupon-shimmer-tag,
.coupon-shimmer-tag-small {
    position: relative;
    overflow: hidden;
}

.coupon-shimmer-line::after,
.coupon-shimmer-line-small::after,
.coupon-shimmer-line-medium::after,
.coupon-shimmer-right::after,
.coupon-shimmer-tag::after,
.coupon-shimmer-tag-small::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transform: translateX(-100%);
    animation: couponShimmerElement 1.8s infinite;
}

@keyframes couponShimmerElement {
    100% {
        transform: translateX(100%);
    }
}

/* ============== ==============*/

.legal-card{
  background:#ffffff;
  border-radius:20px;
  padding:22px;
  margin:16px;
  box-shadow:0 14px 36px rgba(37,99,235,.18);
  background-image:url("/assets/images/bg.webp");
  background-size:cover;
  background-position:top;
  background-repeat:no-repeat;
}

.legal-card h2{
  font-size:22px;
  color:#0f2f5c;
  margin-bottom:12px;
}

.legal-card h3{
  font-size:16px;
  color:#1e40af;
  margin-top:18px;
  margin-bottom:6px;
}

.legal-card p{
  font-size:14px;
  color:#475569;
  line-height:1.7;
  margin-bottom:10px;
}

.legal-card ul{
  padding-left:18px;
  margin:6px 0 12px;
}

.legal-card li{
  font-size:14px;
  color:#475569;
  margin-bottom:6px;
}

.legal-muted{
  font-size:12px;
  color:#64748b;
  margin-top:14px;
}

/*.toast-container{*/
/*    position: fixed;*/
/*    top: 50px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    z-index: 9999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*    width: 90%;*/
/*    padding: 20px;*/
/*    box-sizing: border-box;*/
/*    box-shadow: 0 14px 36px rgba(37,99,235,.18);*/
/*    border-radius: 20px;*/
/*    background-color: #ffffff;*/
/*    border: 1px solid #004aff33;*/
/*}*/

/*.toast-container .toast-text{*/
/*        display: flex;*/
/*    flex-direction: column;*/
/*    margin-left: 75px;*/
/*}*/

/*.toast-container.error{*/
/*    background-image: url("/assets/images/alert-error.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*.toast-container.success{*/
/*    background-image: url("/assets/images/alert-success.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*.toast-container.warning{*/
/*    background-image: url("/assets/images/alert-warn.webp");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*}*/


/* Root container */
.toast-root {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 10px;

  width: calc(100% - 32px);
  max-width: 380px;

  pointer-events: none;
}

/* Toast card */
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 12px;

  background: #ffffff;
  color: #0f172a;

  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.08);

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;

  animation: toast-in .25s ease;
}

/* Icon wrapper */
.toast-icon {
  /*width: 20px;*/
  /*height: 20px;*/
  margin-top: 2px;
  flex-shrink: 0;
}

.toast-icon img{
        width: 35px;
    height: 35px;
}

/* Text */
.toast-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.toast-msg {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.85;
  margin-top: 2px;
}

/* Types */
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid #ef4444; }
.toast.warning { border-left: 4px solid #f59e0b; }

/* Animations */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-6px) scale(.96);
  }
}

/* ========== ORDER INFO WRAPPER ========== */
.order-info {
  /*max-width: 420px;*/
  margin: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 45%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(37,99,235,.15);
  padding: 20px;
  animation: fadeUp .5s ease;
  display: none;
}

/* ========== STATUS ICON ========== */
.order-info .status-icon {
      /* width: 84px; */
    height: 130px;
    margin: 10px auto 12px;
    border-radius: 50%;
    /* background: #22c55e; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 12px 30px rgba(34,197,94,.45); */
}

.order-info .status-icon img {
  /*width: 46px;*/
  /*height: 46px;*/
  width: 100%;
}

/* ========== TITLES ========== */
.order-info .status-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0;
}

.order-info .status-sub {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  max-width: 260px;
  margin: 0 auto 16px;
}

/* ========== CARD ========== */
.order-info .card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-radius: 18px;
  padding: 16px;
  margin-top: 16px;
  border: 1px solid #eaf0ff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* ========== ORDER CARD ========== */
.order-info .order-card {
  position: relative;
  overflow: hidden;
}

.order-info .order-card::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: url('/assets/images/bg.webp') no-repeat;
  background-size: contain;
  opacity: .35;
  pointer-events: none;
}

/* ========== ROWS ========== */
.order-info .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.order-info .space {
  padding-bottom: 10px;
  border-bottom: 1px dashed #dbe7ff;
}

.order-info .label {
  color: #2563eb;
  font-weight: 600;
}

.order-info .order-id {
  font-weight: 700;
}

/* ========== GAME INFO ========== */
.order-info .game {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  align-items: center;
}

.order-info .game img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.order-info .game h3 {
  font-size: 16px;
  margin: 0;
  line-height: 1.3;
  color: #0f2f5c;
}

/* ========== USER INFO ========== */
.order-info .info {
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  padding-left: 0;
}

.order-info .info div {
  margin-bottom: 4px;
}

/* ========== SUMMARY ========== */
.order-info .summaryText {
  font-size: 18px;
  font-weight: 700;
  color: #0f2f5c;
  margin-bottom: 8px;
}

.order-info .summary {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(135deg, #f0f6ff, #ffffff);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.order-info .price {
  color: #2563eb;
}

/* ========== PAYMENT ========== */
.order-info .payment {
  margin-top: 12px;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info .payment span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.order-info .payment img {
  width: 22px;
}

/*.order-info .paid {*/
/*  background: #dcfce7;*/
/*  color: #16a34a;*/
/*  padding: 4px 12px;*/
/*  border-radius: 20px;*/
/*  font-size: 12px;*/
/*  box-shadow: 0 6px 14px rgba(34,197,94,.25);*/
/*}*/

/* common badge */
.order-info .paid{
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* PENDING */
.order-info .paid.pending{
  background: #fef9c3;
  color: #a16207;
  box-shadow: 0 6px 14px rgba(234,179,8,.25);
}

/* SUCCESS */
.order-info .paid.success{
  background: #dcfce7;
  color: #16a34a;
  box-shadow: 0 6px 14px rgba(34,197,94,.25);
}

/* FAILED */
.order-info .paid.failed{
  background: #fee2e2;
  color: #dc2626;
  box-shadow: 0 6px 14px rgba(239,68,68,.25);
}

/* CANCELLED */
.order-info .paid.cancelled{
  background: #e5e7eb;
  color: #374151;
  box-shadow: 0 6px 14px rgba(107,114,128,.25);
}

/* ========== DATE ========== */
.order-info .datetime {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  background: #f9fbff;
  padding: 8px 10px;
  border-radius: 10px;
}

/* ========== BUTTON ========== */
.order-info .btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: .25s;
}

.order-info .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37,99,235,.15);
}

.order-info .btn img {
  width: 20px;
}

/* ========== ANIMATION ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-info-s {
  /*max-width: 420px;*/
  margin: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 45%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(37,99,235,.15);
  padding: 20px;
  animation: fadeUp .5s ease;
  /*display: none;*/
}

.order-info-s.shimmer-wrap .sh-card{
  background:#fff;
  border-radius:16px;
  padding:14px;
  margin-bottom:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.order-info-s .shimmer{
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 10px;
}

.order-info-s .shimmer::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:60%;
  height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: shimmerMove 1.2s infinite;
}

@keyframes shimmerMove{
  0%{ left:-60%; }
  100%{ left:120%; }
}

/* sizes */
.order-info-s .sk-icon{ width:60px; height:60px; border-radius:50%; margin: 0 auto; }
.order-info-s .sk-title{ height:18px; width:60%; margin:12px auto; }
.order-info-s .sk-sub{ height:14px; width:80%; margin:10px auto; }

.order-info-s .sk-line{ height:14px; width:100%; margin:10px 0; }
.order-info-s .sk-small{ width:40%; }
.order-info-s .sk-mid{ width:70%; }

.order-info-s .sk-game{ display:flex; align-items:center; gap:10px; margin:12px 0; }
.order-info-s .sk-game-img{ width:46px; height:46px; border-radius:12px; }
.order-info-s .sk-game-title{ height:16px; width:70%; }

.order-info-s .sk-btn{ height:44px; width:100%; border-radius:14px; margin-top:12px; }


.error-404-wrapper {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f5f9ff, #eef4ff);
    padding: 20px;
    box-sizing: border-box;
}

.error-card {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 80, 255, 0.12);
}

.error-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f8cff, #2b6cff);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-card h2 {
    font-size: 22px;
    color: #1c2b5a;
    margin-bottom: 10px;
}

.error-card p {
    font-size: 14px;
    color: #6b7a99;
    line-height: 1.6;
    margin-bottom: 25px;
}

.error-404-wrapper .btn-home {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4f8cff, #2b6cff);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404-wrapper .btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(43, 108, 255, 0.35);
}

/* account menu css */

.accMenu{
  padding: 16px;
  background: #f3f7ff;
  border-radius: 28px;
}

.accTitle{
  font-size: 20px;
  font-weight: 800;
  color: #1b2b45;
  margin: 10px 0 18px;
}

.accCard{
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.accProfile{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px;
}

.accProfileLeft{
  display:flex;
  align-items:center;
  gap: 14px;
}

.accAvatar{
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9f0ff;
  border: 3px solid #d6e4ff;
}

.accAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.accUserInfo{
  line-height: 1.2;
}

.accName{
  font-size: 18px;
  font-weight: 800;
  color: #1b2b45;
}

.accEmail{
  font-size: 11px;
  color: #7a8aa6;
  margin-top: 4px;
}

.accBtn{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f2f6ff;
    border: 2px solid #d9e6ff;
    color: #1b2b45;
    font-weight: 700;
    text-decoration: none;
}

.accArrow{
  font-size: 20px;
  color: #6b8cff;
  margin-left: 2px;
}

.accWalletBar{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 18px;
  text-decoration:none;
  color: inherit;
}

.accWalletLeft{
  display:flex;
  align-items:center;
  gap: 12px;
}

.accIconCircle{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #edf4ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
}

.accIconCircle img{
    width: 35px;
}

.accWalletAmount{
  font-size: 30px;
  font-weight: 900;
  color: #1b2b45;
}

.accWalletRight{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #6c7a92;
}

.accGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.accBox{
  background: rgba(255,255,255,0.92);
  border-radius: 26px;
  padding: 22px 14px;
  text-align:center;
  text-decoration:none;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: default;
}

.accBoxIcon{
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: #edf4ff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 14px;
  font-size: 26px;
}

.accBoxIcon img{
    width: 35px;
}

.accBoxText{
  font-size: 22px;
  font-weight: 800;
  color: #1b2b45;
}

.accLogout{
  margin-top: 18px;
  width: 100%;
  border: none;
  cursor: default;
  padding: 18px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  font-size: 22px;
  font-weight: 800;
  color: #7b3a3a;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
}

.accLogoutIcon{
  font-size: 26px;
}

.accLogoutIcon img{
    width: 35px;
}


/* order history */

/* ===== Topuphub Order History UI ===== */
.oh-wrap{
  padding: 16px;
  background: #eef5ff;
  border-radius: 26px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.oh-searchFilter{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 16px;
}

.oh-search{
  flex:1;
  display:flex;
  align-items:center;
  gap: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
  border-radius: 999px;
  padding: 14px 16px;
}

.oh-searchIcon{
  font-size: 18px;
  opacity: .6;
}

.oh-search input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  font-size: 16px;
  font-weight: 800;
  color:#1b2b45;
}
.oh-search input::placeholder{
  color:#9aa7bd;
  font-weight: 800;
}

.oh-filterBtn{
  border:none;
  cursor:default;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
  border-radius: 999px;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color:#1b2b45;
  min-width: 92px;
  justify-content:center;
}

.oh-filterIconBtn{
  width: 54px;
  height: 54px;
  padding: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.oh-filterIcon{
  width: 22px;
  height: 22px;
}


/*.oh-filterBtn{*/
  /*width: 110px;             */
/*  justify-content: space-between;*/
/*  gap: 8px;*/
/*}*/

/*.oh-filterText{*/
/*  display:block;*/
  /*max-width: 70px;      */
/*  overflow:hidden;*/
/*  white-space:nowrap;*/
/*  text-overflow:ellipsis;*/
/*}*/


.oh-filterBox{
  position: relative;
}

.oh-dropdown{
  position:absolute;
  top: 58px;
  right: 0;
  width: 160px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 38px rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 8px;
  display:none;
  z-index: 9999;
}

.oh-dd-item{
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 900;
  color:#1b2b45;
  cursor:default;
  font-size: 15px;
}

.oh-dd-item:hover{
  background:#edf4ff;
  color:#1b5bff;
}

.oh-dd-item.active{
  background: linear-gradient(180deg, #2b6dff 0%, #1b5bff 100%);
  color:#fff;
}


.oh-drop{opacity:.6;}

.oh-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 38px rgba(0,0,0,.07);
  border-radius: 26px;
  padding: 16px;
  margin-bottom: 16px;
  position:relative;
  overflow:hidden;
}

.oh-cardTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}

.oh-left{
  display:flex;
  align-items:flex-start;
  gap: 14px;
  min-width:0;
}

.oh-gameIcon{
      width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 14px 26px rgba(0,0,0,.12);
    flex: 0 0 auto;
}

.oh-info{min-width:0;}

.oh-title{
  font-size: 13px;
  font-weight: 900;
  color:#1b2b45;
  line-height: 1.15;
}

.oh-orderId{
  font-weight: 900;
  color:#1b2b45;
}

.oh-meta{
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  color:#7a8aa6;
  line-height: 1.45;
}

.oh-meta b{
  color:#1b2b45;
  font-weight: 900;
}

.oh-badge{
    padding: 5px 5px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.oh-badge.paid{
  background:#dff7ea;
  color:#0a7a2f;
}
.oh-badge.pending{
  background:#ffe9b8;
  color:#a56a00;
}
.oh-badge.cancelled{
  background:#ffd9d9;
  color:#b00020;
}

.oh-cardBottom{
  margin-top: 10px;
  background: #f1f6ff;
  border: 1px solid rgba(27,91,255,.08);
  border-radius: 18px;
padding: 5px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.oh-date{
  font-size: 10px;
  font-weight: 800;
  color:#7a8aa6;
}

.oh-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.oh-btn{
    border: none;
    cursor: default;
    border-radius: 16px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 900;
}

.oh-btn.view{
  background: linear-gradient(180deg, #2b6dff 0%, #1b5bff 100%);
  color:#fff;
  box-shadow: 0 16px 26px rgba(27,91,255,.18);
}

.oh-btn.view.light{
  background:#d7e6ff;
  /*color:#1b5bff;*/
  box-shadow:none;
  
    color: #000;
    font-size: 10px;
    display: flex;
    gap: 5px;
}

.oh-btn.pay{
  background:#ffd772;
  color:#1b2b45;
}

.oh-btn.pay.dark{
  background: linear-gradient(180deg, #2b6dff 0%, #1b5bff 100%);
  color:#fff;
}

.oh-arrow{
  margin-left: 6px;
  font-size: 22px;
}

.oh-empty{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 38px rgba(0,0,0,.07);
  border-radius: 26px;
  padding: 24px 18px;
  text-align:center;
}

.oh-emptyTitle{
  font-size: 26px;
  font-weight: 900;
  color:#1b2b45;
}

.oh-emptySub{
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color:#7a8aa6;
}

/**/

.oh-shimmerCard{
  position:relative;
  overflow:hidden;
}

.oh-shimmerCard .shimmer{
  background: linear-gradient(90deg,
    rgba(230,238,255,0.7) 0%,
    rgba(255,255,255,0.95) 50%,
    rgba(230,238,255,0.7) 100%
  );
  background-size: 200% 100%;
  animation: shimmerMove 1.2s infinite linear;
  border-radius: 14px;
}

@keyframes shimmerMove{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}

.oh-shimmerImg{
  width:72px;
  height:72px;
  border-radius:18px;
  flex:0 0 auto;
}

.oh-shimmerTitle{
  width:220px;
  height:20px;
  margin-top:2px;
}

.oh-shimmerSub{
  width:160px;
  height:16px;
  margin-top:10px;
  opacity:.9;
}

.oh-shimmerLine{
  width:190px;
  height:14px;
  margin-top:10px;
}

.oh-shimmerBadge{
  width:84px;
  height:34px;
  border-radius:999px;
}

.oh-shimmerDate{
  width:180px;
  height:18px;
  border-radius:12px;
}

.oh-shimmerBtn{
  width:90px;
  height:40px;
  border-radius:16px;
}

/* ============ checker ============= */

.checker{
    margin: 16px;
    padding: 14px;
    border-radius: 26px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 16px 40px rgba(20, 80, 200, .15);
}

/* GRID */
.checker .game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  /*padding: 10px;*/
  margin-bottom: 15px;
}

/* CARD */
.checker .game-card {
  position: relative;
  background: #fff;
  /*border-radius: 14px;*/
  padding: 8px;
  /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);*/
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.checker .game-card:active {
  transform: scale(0.96);
}

/* IMAGE */
.checker .game-img {
      position: relative;
    width: 100%;
    height: 90px;
    overflow: hidden;
    /* border-radius: 5px; */
    background-size: cover;
    background-position: center;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.checker .game-img::before {
        content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.2);
    opacity: 0.8;
}

.checker .game-img img{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* NAME */
.checker .game-name {
    /* margin-top: 6px; */
    /* height: 14px; */
    /* border-radius: 6px; */
    background: #eef1f6;
    text-align: center;
    padding-bottom: 3px;
    padding-top: 3px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #0f2f5c;
}

/* SELECTED STATE */
.checker .game-card.selected {
  /*box-shadow: 0 0 0 2px #3b82f6, 0 8px 25px rgba(59, 130, 246, 0.25);*/
}

.checker .game-card.selected .tick {
  opacity: 1;
  transform: scale(1);
}

/* GREEN TICK */
.checker .tick {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
  z-index: 5;
}

/* SHIMMER */
.checker .shimmer {
  position: relative;
  overflow: hidden;
}

.checker .shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shimmerchecker 1.2s infinite;
}

@keyframes shimmerchecker {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* DATA LOADED */
.checker .game-grid.loaded .shimmer::after {
  display: none;
}

/* RESPONSIVE (optional but safe) */
@media (min-width: 600px) {
  .checker .game-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}


/* INPUT GROUP */
.checker .form-group {
  /*margin-bottom: 14px;*/
      margin-bottom: 14px;
    padding: 8px;
    margin-top: 0;
    margin-bottom: 0;
}

.checker label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
/* INPUT */
.checker input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #f8fbff;
}

.checker input:focus {
  border-color: #3b82f6;
  background: #fff;
}

/* BUTTON */
.checker .verify-btn-checker,.product-card .verify-btn-checker  {
  position: relative;
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: none;
  margin-top: 6px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.product-card .verify-btn-checker{
    margin-top: 15px;
}

.checker .verify-btn-checker:active {
  transform: scale(0.97);
}

/* ALERTS */
.checker .alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  margin-top: 14px;
}

.checker .alert .icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SUCCESS */
.checker .alert.success {
  background: #ecfdf5;
  color: #065f46;
}

.checker .alert.success .icon {
  background: #22c55e;
  color: #fff;
}

/* ERROR */
.checker .alert.error {
  background: #fee2e2;
  color: #7f1d1d;
}

.checker .alert.error .icon {
  background: #ef4444;
  color: #fff;
}

.checker .alert p {
  margin: 2px 0 0;
  font-size: 13px;
}



/* ? INFO */
label .info {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #3b82f6;
  color: #3b82f6;
  font-size: 11px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

/* TOOLTIP */
label .tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e293b;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 10;
}

/* ARROW */
label .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

/* SHOW ON HOVER / TAP */
label .info:hover .tooltip,
label .info:focus-within .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ============ auto complete ============*/

.autocomplete {
  position: absolute;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  width: 100%;
  margin-top: 4px;
  z-index: 999;
}

.autocomplete .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 14px;
  cursor: default;
}

.autocomplete .item:hover {
  background: #f1f5f9;
}

.autocomplete .delete {
  color: #ef4444;
  font-weight: bold;
  cursor: default;
}

/* ============ support =============*/
.support-wrap{
    /*min-height:100vh;*/
    padding:20px;
    background:radial-gradient(circle at top,#eef4ff 0%,#f6f9ff 40%,#f7faff 100%);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    margin-top: 40px;
}

.support-card{
    position:relative;
    width:100%;
    /*max-width:380px;*/
    background:#fff;
    border-radius:26px;
    padding:70px 22px 26px;
    text-align:center;
    box-shadow:0 20px 50px rgba(60,100,180,.15);
}

/* top floating icon */
.support-top-icon{
    position:absolute;
    left:50%;
    top:-38px;
    transform:translateX(-50%);
    width:76px;
    height:76px;
    border-radius:50%;
    /*background:radial-gradient(circle,#ffffff 35%,#eaf1ff 70%);*/
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 30px rgba(80,120,200,.25);
}

.support-top-icon img{
    width:100px;
    height:100px;
}

/* title */
.support-title{
    font-size:22px;
    font-weight:700;
    color:#2a3655;
    margin-bottom:14px;
}

/* hours line */
.support-hours{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:14px;
    color:#6b7280;
    margin-bottom:6px;
}

.support-hours span{
    width:40px;
    height:1px;
    background:#e4ebff;
}

/* sub text */
.support-sub{
    font-size:14px;
    color:#8a93a8;
    margin-bottom:22px;
}

/* whatsapp button */
.support-wa-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:100%;
    height:54px;
    border-radius:30px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    font-size:16px;

    background:linear-gradient(90deg,#9fe18f 0%,#38c172 40%,#1fa66a 100%);
    box-shadow:0 12px 28px rgba(31,166,106,.35);
}

.support-wa-btn:active{
    transform:scale(.98);
}

.wa-ic{
    width:22px;
    height:22px;
}


/* ================== ===============*/

.follow-wrap{
    padding:20px;
    /*background:#fff; */
}

.follow-card{
    background:
        radial-gradient(120% 140% at 100% 100%, #6aa8ff 0%, rgba(106,168,255,.35) 25%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg,#ffffff 0%, #f3f7ff 100%);
    border-radius:24px;
    padding:26px 18px 24px;
    text-align:center;
    box-shadow:0 12px 28px rgba(0,60,160,.12);
}

/* title */
.follow-card h3{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#3f63e8;
}

/* subtitle */
.follow-card p{
    margin:6px 0 18px;
    font-size:15px;
    color:#8b94aa;
}

/* icons row */
.follow-icons{
    display:flex;
    justify-content:space-between;
    gap:14px;
}

/* icon box */
.f-icon{
    width:64px;
    height:64px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;

    background:
        radial-gradient(120% 120% at 100% 100%, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#ffffff 0%, #eef3ff 100%);

    box-shadow:
        0 8px 18px rgba(0,0,0,.08),
        inset 0 0 0 1px rgba(255,255,255,.6);
        cursor: default;
}

/* icon image */
.f-icon img{
    width:32px;
    height:32px;
}

/* little color feel per icon like your image */
.f-icon.ig{
    background:
        radial-gradient(120% 120% at 100% 100%, #ffd6ff 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#ffffff 0%, #fff0f7 100%);
}

.f-icon.yt{
    background:
        radial-gradient(120% 120% at 100% 100%, #ffd6d6 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#ffffff 0%, #fff3f3 100%);
}

.f-icon.tg{
    background:
        radial-gradient(120% 120% at 100% 100%, #d6ecff 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#ffffff 0%, #f1f8ff 100%);
}

.f-icon.wa{
    background:
        radial-gradient(120% 120% at 100% 100%, #d6ffe6 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#ffffff 0%, #f1fff7 100%);
}

/* tap effect like app */
.f-icon:active{
    transform:scale(.96);
}

/* ================ leaderboard =================*/

/* ----------------------------------
  Root helpers
---------------------------------- */

.leaderboard{
  margin:18px;
  --gold:#FFD56A;
  --silver:#E9ECF3;
  --bronze:#FFB37A;
  --card-bg:rgba(255,255,255,.82);
  --blur:14px;
}

/* ----------------------------------
  Top 3 layout
---------------------------------- */

.leaderboard .top3{
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:16px;
  align-items:end;
  margin-top: 40px;
}

/* ----------------------------------
  Card
---------------------------------- */

.leaderboard .rank-card{
  position:relative;
  padding:18px 14px 16px;
  border-radius:26px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.7));
  backdrop-filter: blur(var(--blur));
  box-shadow:
    0 24px 60px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.9);
  text-align:center;
  overflow:hidden;
  transition:.35s cubic-bezier(.2,.8,.2,1);
  cursor:default;
}

/* gradient border */

.leaderboard .rank-card::before{
  content:"";
  position:absolute;
  inset:0;
  padding:1.4px;
  border-radius:inherit;
  background:
    linear-gradient(140deg,
      rgba(255,215,120,.9),
      rgba(255,255,255,.9),
      rgba(160,190,255,.9)
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  pointer-events:none;
}

/* light reflection */

.leaderboard .rank-card::after{
  content:"";
  position:absolute;
  inset:-40% -60% auto -60%;
  height:120%;
  background:
    radial-gradient(circle at top,
      rgba(255,255,255,.45),
      rgba(255,255,255,0) 60%);
  pointer-events:none;
}

/* hover */

.leaderboard .rank-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:
    0 34px 80px rgba(0,0,0,.18);
}

/* ----------------------------------
  Avatar wrapper (FIXED image issue)
---------------------------------- */

.leaderboard .avatar{
  position:relative;
  width:84px;
  height:84px;
  margin:6px auto 6px;
  border-radius:50%;
  padding:3px;
  background:
    linear-gradient(135deg,#ffe9a3,#ffd36b,#b5d0ff);
  box-shadow:
    0 12px 24px rgba(0,0,0,.2);
}

/* IMPORTANT – image fit properly */

.leaderboard .avatar img{
  width:100%;
  height:100%;
  display:block;
  border-radius:50%;
  object-fit:cover;
  background:#eee;
}

/* glass ring */

.leaderboard .avatar::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.8);
  pointer-events:none;
}

/* ----------------------------------
  Rank crown (top 3 only)
---------------------------------- */

.leaderboard .rank-card[data-rank="1"] .badge{
  background:linear-gradient(135deg,#ffe27a,#ffc400);
  color:#5b3a00;
}

.leaderboard .rank-card[data-rank="2"] .badge{
  background:linear-gradient(135deg,#f5f7fb,#cfd6e6);
  color:#555;
}

.leaderboard .rank-card[data-rank="3"] .badge{
  background:linear-gradient(135deg,#ffd1a4,#ff9f52);
  color:#5a2b00;
}

/* ----------------------------------
  Badge
---------------------------------- */

.leaderboard .badge{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:50%;
  font-size:14px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:
    0 8px 16px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* ----------------------------------
  Name
---------------------------------- */

.leaderboard .lb-name{
  margin:10px 0 4px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.2px;
  color:#1f2937;
}

/* ----------------------------------
  Spend chip
---------------------------------- */

.leaderboard .spend{
  margin-top:12px;
  padding:9px 12px;
  border-radius:14px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.75));
  font-size:12px;
  font-weight:700;
  color:#374151;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 6px 14px rgba(0,0,0,.1);
}

/* ----------------------------------
  Soft glow
---------------------------------- */

.lb-glow{
  position:absolute;
  left:-40%;
  right:-40%;
  bottom:-70%;
  height:180px;
  background:
    radial-gradient(ellipse at center,
      rgba(255,255,255,.45),
      rgba(255,255,255,0) 70%);
  pointer-events:none;
}

/* ----------------------------------
  Shimmer loading
---------------------------------- */

.shimmer{
  position:relative;
  overflow:hidden;
  color:transparent!important;
}

.shimmer *{
  visibility:hidden;
}

.shimmer::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(110deg,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,.7) 35%,
      rgba(255,255,255,0) 50%);
  animation:lbShimmer 1.2s infinite;
}

@keyframes lbShimmer{
  from{transform:translateX(-120%);}
  to{transform:translateX(120%);}
}

/* ----------------------------------
  List (next users)
---------------------------------- */

.lb-list{
  margin-top:20px;
  border-radius:20px;
  background:
    linear-gradient(180deg,#ffffff,#fafafa);
  overflow:hidden;
  box-shadow:
    0 18px 40px rgba(0,0,0,.1);
}

/* row */

.lb-row{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  transition:.25s ease;
}

.lb-row:hover{
  background:linear-gradient(90deg,#f7faff,#ffffff);
}

.lb-row:not(:last-child){
  border-bottom:1px solid #f1f3f6;
}

/* rank */

.lb-rank{
  width:28px;
  text-align:center;
  font-weight:800;
  color:#9aa1ad;
  font-size:13px;
}

/* avatar (FIXED) */

.lb-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  background:#eee;
  box-shadow:
    0 6px 14px rgba(0,0,0,.14);
}

/* name */

.lb-name-row{
  flex:1;
  font-size:14px;
  font-weight:700;
  color:#1f2937;
}

/* spend */

.lb-spend{
  font-size:13px;
  font-weight:800;
  color:#2563eb;
}

/* ----------------------------------
  Center card (rank 1 bigger)
---------------------------------- */

.leaderboard .rank-card[data-rank="1"]{
  transform:translateY(-12px) scale(1.04);
  z-index:2;
}

.leaderboard .rank-card[data-rank="1"] .avatar{
  /*width:96px;*/
  /*height:96px;*/
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.leaderboard .rank-card{
  animation: floatCard 4s ease-in-out infinite;
}

.leaderboard .rank-card[data-rank="1"]{
  animation: floatCard 3.5s ease-in-out infinite;
}

.leaderboard .rank-card[data-rank="1"]{
  /*box-shadow:*/
  /*  0 40px 100px rgba(255, 196, 0, 0.35),*/
  /*  0 24px 60px rgba(0,0,0,.15);*/
}

.leaderboard .rank-card[data-rank="1"]::before{
  background:
    linear-gradient(140deg,
      #ffe27a,
      #fff3c4,
      #ffd700
    );
}

.leaderboard .rank-card::after{
  content:"";
  position:absolute;
  top:-150%;
  left:-50%;
  width:200%;
  height:300%;
  background: linear-gradient(
      120deg,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,.4) 50%,
      rgba(255,255,255,0) 60%
  );
  transform: rotate(25deg);
  animation: shineMove 6s infinite;
}

@keyframes shineMove{
  0%{ transform: translateX(-100%) rotate(25deg); }
  100%{ transform: translateX(100%) rotate(25deg); }
}

.leaderboard .rank-card{
  backdrop-filter: blur(18px) saturate(160%);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.95),
      rgba(255,255,255,.65)
    );
}

@keyframes badgePulse{
  0% { box-shadow: 0 0 0 0 rgba(255,215,0,.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}

.leaderboard .rank-card[data-rank="1"] .badge{
  animation: badgePulse 2s infinite;
}

.leaderboard .rank-card:hover{
  transform: translateY(-10px) scale(1.05);
}

.lb-row:hover{
  background: linear-gradient(90deg,#eef5ff,#ffffff);
  transform: translateX(4px);
}


/*============== profile section css =================*/

.profile {
    background: #f3f7ff;
    /* background-image: url("/assets/images/bg.webp"); */
    /* background-size: cover; */
    /* background-position: top; */
    /* background-repeat: no-repeat; */
    /* border-radius: 20px; */
    /* padding: 20px; */
    /* box-shadow: 0 12px 30px rgba(0,0,0,0.08); */
    margin: 20px;
}

.profile .profile-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    border-radius:16px;
    /*background:linear-gradient(135deg,#f8fbff,#eaf1ff);*/
    background: #fff;
     background-image: url("/assets/images/bg.webp"); 
     background-size: cover; 
     background-position: top; 
     background-repeat: no-repeat; 
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.profile .profile-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.profile .avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.profile .profile-info .name{
    font-weight:700;
    font-size:18px;
}

.profile .profile-info .email{
    color:#6c7a92;
    font-size:14px;
}

.profile .verified{
    display:inline-block;
    margin-top:4px;
    background:#dff5e7;
    color:#1f9b63;
    padding:4px 10px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.profile .edit-btn{
    background:#2f6bff;
    color:#fff;
    padding:10px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    cursor: default;
}


/* Records */

.profile .section-title{
    margin:22px 4px 12px;
    font-size:20px;
}

.profile .records{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.profile .record-card{
    background:#ffffff;
    border-radius:18px;
    padding:16px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile .record-card:active {
  transform: scale(0.96);
}

.profile .icon{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    font-size:18px;
}

.profile .icon img{
    width: 25px;
}

.profile .icon.coin{ background:#edf4ff; }
.profile .icon.orders{ background:#edf4ff; }
.profile .icon.success{ background:#e5f7ee; color:#19a463;}
.profile .icon.success img{ width: 25px; }
.profile .icon.rank{ background:#fff1e6;}
.profile .icon.sending{ background:#fff1e6;}
.profile .icon.refund{ background:#e5f7ee; color:#19a463;}

.profile .label{
    font-size:14px;
    color:#6d7b93;
}

.profile .value{
    margin-top:4px;
    font-weight:800;
    font-size:18px;
}

.records.loading .record-card{
    pointer-events:none;
}

.records.loading .icon,
.records.loading .label,
.records.loading .value{
    position:relative;
    color:transparent !important;
    background:#e9edf5;
    overflow:hidden;
    border-radius:8px;
}

.records.loading .icon img{
    display:none;
}

.records.loading .label,
.records.loading .value{
    height:14px;
    margin:6px auto;
    width:70%;
}

.records.loading .value{
    height:18px;
    width:50%;
}

/* shimmer animation */

.records.loading .icon::after,
.records.loading .label::after,
.records.loading .value::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.6),
        transparent
    );
    animation:shimmer 1.2s infinite;
}

/*@keyframes shimmer{*/
/*    from{transform:translateX(-100%);}*/
/*    to{transform:translateX(100%);}*/
/*}*/

.profile-page{
  max-width:760px;
  margin:auto;
  padding:20px;
}

.profile-page .card{
  background:#fff;
  border-radius:18px;
  padding:18px;
  margin-bottom:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

/* Profile card */

.profile-page .profile-card{
  background-image: url("/assets/images/bg.webp");
  background-size:cover;
  background-position:top;
  color:#1f2d5c;
}

.profile-page .profile-card .profile-row{
  display:flex;
  gap:16px;
  align-items:center;
}

.profile-page .avatar{
  width:70px;
  height:70px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.profile-page .avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-page .profile-info h4{
  margin:0 0 8px;
  font-size:18px;
}

.profile-page .btn-upload{
  border:none;
  background:#3b6cff;
  color:#fff;
  padding:8px 16px;
  border-radius:10px;
  font-weight:600;
  cursor:default;
}

.profile-page .profile-info small{
  display:block;
  margin-top:6px;
  font-size:12px;
  opacity:.8;
}


/* Section title */

.section-title{
  font-size:18px;
  font-weight:700;
  margin:10px 4px;
  color:#243b78;
}

.section-title.danger{
  color:#e74b4b;
}

.d-flex{
    display: flex;
}

.gap-10{
    gap: 10px;
}

/* Inputs */

.profile-page .form-group{
  margin-bottom:14px;
}

.profile-page .form-group label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  color:#3b4c85;
  font-weight:600;
}

.profile-page .input-wrap{
  display:flex;
  align-items:center;
  background:#f4f7ff;
  border-radius:12px;
  padding:10px 12px;
}

.profile-page .input-wrap input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
  font-size:14px;
}

.profile-page .name-wrap{
    position:relative;
}

/* right side floating save button */
.name-wrap .name-save-btn{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    width:26px;
    height:26px;
    border-radius:50%;
    background:#2ecc71;
    color:#fff;
    font-weight:800;
    font-size:14px;
    display:none;
    align-items:center;
    justify-content:center;
    cursor:default;
    /*box-shadow:0 4px 10px rgba(46,204,113,.35);*/
    z-index:2;
    transition:.2s ease;
}

/* input ko pehle se jagah de do */
.name-wrap input{
    padding-right:38px;
}

.profile-page .name-wrap .name-save-btn{
    margin-left:8px;
}

/* little tap feedback */
.profile-page .name-save-btn:active{
    transform:translateY(-50%) scale(.95);
}

.profile-page .icon{
  width:20px;
  height:20px;
  margin-right:10px;
  fill:#7c8fd1;
}


/* Email row */

.profile-page .email-row{
  display:flex;
  align-items:center;
  gap:10px;
}

/* common badge */
.profile-page .email-row .profile-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
    padding: 15px 12px;
}

/* NOT VERIFIED */
.profile-page .email-row .profile-status.profile-not-verified{
    display: none;
    background:#fff3e0;
    color:#d17a00;
}

/* icon */
.profile-page .email-row .profile-status.profile-not-verified::before{
    content:"!";
    width:16px;
    height:16px;
    border-radius:50%;
    background:#ff9800;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:800;
}

/* VERIFIED */
.profile-page .email-row .profile-status.profile-verified{
    display: none;
    background:#e9f9f0;
    color:#1e8f5a;
}

/* icon */
.profile-page .email-row .profile-status.profile-verified::before{
    content:"✓";
    width:16px;
    height:16px;
    border-radius:50%;
    background:#2ecc71;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:800;
}

/* mobile polish */
@media(max-width:480px){
    .profile-page .email-row .profile-status{
        /*padding:7px 12px;*/
        /*font-size:13px;*/
    }
}

/* Buttons */

.profile-page .btn-password{
  background:#3b6cff;
  border:none;
  color:#fff;
  padding:10px 18px;
  border-radius:12px;
  font-weight:600;
  margin-top:10px;
  cursor:default;
}


/* Joined */

.profile-page .joined{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  font-size:13px;
  color:#5a6fb4;
}

.profile-page .joined svg{
  width:16px;
  fill:#5a6fb4;
}


/* Danger */

.profile-page .danger-card{
  border:1px solid #ffd6d6;
}

.profile-page .danger-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.profile-page .danger-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#ffe1e1;
  color:#e74b4b;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.profile-page .danger-card h4{
  margin:0 0 4px;
  color:#e74b4b;
}

.profile-page .danger-card p{
  margin:0;
  font-size:13px;
  color:#777;
}

.profile-page .btn-delete{
  margin-top:16px;
  width:100%;
  border:none;
  padding:12px;
  border-radius:14px;
  background:#ff5a5a;
  color:#fff;
  font-weight:700;
  cursor:default;
}

.cropper-modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    opacity: 1 !important;
    background-color: #000000a1 !important;
}

.cropper-modal::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.5);
}

.crop-box{
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    width: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cropImage{
    max-width:100%;
    display:block;
}

.crop-box .cropper-container{
    max-width:100% !important;
    max-height:60vh !important;
}

.crop-actions{
    display:flex;
    gap:12px;
    margin-top:14px;
    width: 100%;
}

.crop-actions button{
    flex:1;
    height:44px;
    border:none;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    cursor:default;
    transition:.2s ease;
}

/* Cancel – soft */
#cropCancel{
    background:#f2f4f8;
    color:#444;
}

/* Save – primary app button */
#cropSave{
    background:linear-gradient(135deg,#3b6cff,#5f86ff);
    color:#fff;
    box-shadow:0 6px 16px rgba(59,108,255,.35);
}

/* tap feedback */
.crop-actions button:active{
    transform:scale(.97);
}

/* mobile polish */
@media(max-width:480px){
    .crop-actions button{
        height:48px;
        font-size:16px;
        border-radius:14px;
    }
}

/* ============= .payment-history-card ============*/

.payment-history-card{
    margin: 20px;
    /*padding: 14px;*/
    border-radius: 22px;
    background: rgb(207 219 255 / 42%);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 18px 40px rgba(20, 80, 200, .12);
}

.payment-history-card .ph-title{
    padding: 14px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:22px;
    font-weight:800;
    color:#223b6c;
    margin-bottom:12px;
}

.payment-history-card .ph-icon{
    width:36px;
    height:36px;
    background:#3f7cff;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.payment-history-card .ph-icon img{
    width: 50px;
}

.payment-history-card .ph-row{
    border: 1px solid #d9dde685;
    border-top-right-radius: 10px;
    border-bottom: none;
    border-top-left-radius: 10px;
    /*margin-top: 15px;*/
    border-left: none;
    border-right: none;
    /*padding-top: 5px;*/
    padding-top: 10px;
    margin-bottom: 20px;
}

.payment-history-card .ph-list{
    background:#f6f9ff;
    border-radius:22px;
    padding:12px;
}

.payment-history-card .ph-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:5px;
    border-radius:18px;
    background:#f7faff;
    /*margin-bottom:12px;*/
}

.payment-history-card .ph-left{
    flex:0 0 auto;
}

.payment-history-card .ph-icon-wrap{
    /*width:50px;*/
    /*height:50px;*/
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,.08);
}

.payment-history-card .ph-icon-wrap img{
    width:50px;
    height:50px;
    object-fit:contain;
}

/* center */

.payment-history-card .ph-center{
    flex:1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.payment-history-card .ph-amount{
    font-size:17px;
    font-weight:800;
    line-height:1.1;
}

.payment-history-card .ph-method{
    font-size:12px;
    font-weight:800;
    color:#1f3c74;
    margin-top:2px;
}

.payment-history-card .ph-txn{
    font-size:12px;
    color:#7a8ab1;
    /*margin-top:6px;*/
    letter-spacing:.3px;
    text-align: right;
}

/* right */

.payment-history-card .ph-right{
    text-align:right;
    min-width:120px;
}

.payment-history-card .ph-time{
    font-size:12px;
    color:#6f7da2;
    margin-top:8px;
}

/* status pill */

.payment-history-card .ph-status{
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 12px;
}

/* -------------------------
   COLORS BY STATUS
------------------------- */

.payment-history-card .ph-amount.success{ color:#27ae60; }
.payment-history-card .ph-amount.pending{ color:#ef8b2c; }
.payment-history-card .ph-amount.failed{ color:#e44b3c; }
.payment-history-card .ph-amount.cancelled{ color:#2e3b4f; }

.payment-history-card .ph-status.success{
    background:#27ae60;
    color:#fff;
}

.payment-history-card .ph-status.pending{
    background:#f6d28f;
    color:#6b4b1f;
}

.payment-history-card .ph-status.failed{
    background:#e44b3c;
    color:#fff;
}

.payment-history-card .ph-status.cancelled{
    background:#d9dde6;
    color:#2e3b4f;
}


/* common base for shimmer elements */
.payment-history-card .ph-row.loading .ph-icon-wrap,
.payment-history-card .ph-row.loading .ph-amount,
.payment-history-card .ph-row.loading .ph-method,
.payment-history-card .ph-row.loading .ph-status,
.payment-history-card .ph-row.loading .ph-time,
.payment-history-card .ph-row.loading .ph-txn{
    position:relative;
    overflow:hidden;
    color:transparent !important;
    background:#e9eef9;
}

/* icon image hide */
.payment-history-card .ph-row.loading .ph-icon-wrap img{
    opacity:0;
}

/* shimmer layer for all */
.payment-history-card .ph-row.loading .ph-icon-wrap::after,
.payment-history-card .ph-row.loading .ph-amount::after,
.payment-history-card .ph-row.loading .ph-method::after,
.payment-history-card .ph-row.loading .ph-status::after,
.payment-history-card .ph-row.loading .ph-time::after,
.payment-history-card .ph-row.loading .ph-txn::after{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );
    animation:shimmer 1.2s infinite;
}

/* sizes (taaki skeleton proper dikhe) */
.payment-history-card .ph-row.loading .ph-amount{ min-height:32px; border-radius:8px; }
.payment-history-card .ph-row.loading .ph-method{ min-height:18px; width:70px; border-radius:6px; }
.payment-history-card .ph-row.loading .ph-time{ min-height:16px; width:90px; border-radius:6px; margin-left:auto; }
.payment-history-card .ph-row.loading .ph-status{ min-height:30px; width:90px; border-radius:999px; }
.payment-history-card .ph-row.loading .ph-txn{ min-height:16px; width:220px; border-radius:6px; }

.payment-history-card .ph-row.loading .ph-icon-wrap{
    border-radius:50%;
}


/* ===============  leaderboard  =================*/

.leaderboard-wrap{
    max-width:415px;
    margin:auto;
    font-family:system-ui;
}

/* top 3 area */

/*.leaderboard-wrap .top-three{*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr 1fr;*/
/*    align-items: end;*/
/*    position: relative;*/
    /* margin-bottom: 20px; */
    /* margin-top: 20px; */
/*    background: #ffffff;*/
/*    background-image: url("/assets/images/bg.webp");*/
/*    background-size: cover;*/
/*    background-position: top;*/
/*    background-repeat: no-repeat;*/
/*    margin: 20px;*/
/*    height: 30vh;*/
/*    box-shadow: 0 12px 30px rgba(0,0,0,0.08);*/
/*    border-radius: 15px;*/
/*    padding-bottom: 15px;*/
/*    justify-content: center;*/
/*}*/

.leaderboard-wrap .top-three{
    position: relative;
    height: clamp(300px, 70vw, 340px);
    margin:20px;
    background: #ffffff;
    background-image: url("/assets/images/bg.webp");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
      overflow: hidden;
}

.leaderboard-wrap .leaderboard-card{
    position:absolute;
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
}

.leaderboard-wrap .leaderboard-card .bg{
    width:130px;
    display:block;
}

.leaderboard-wrap .leaderboard-card.first{
    z-index:3;
    transform:translateX(-50%) scale(1.25) translateY(-10%);
}

.leaderboard-wrap .leaderboard-card.second{
    z-index:1;
    transform: translateX(-135%) scale(1.10) translateY(-10%);
}

.leaderboard-wrap .leaderboard-card.third{
    z-index:1;
    transform: translateX(35%) scale(1.10) translateY(-10%);
}

.leaderboard-wrap .leaderboard-card.third .bg{
    /*width: 127px;*/
    
    width: clamp(105px, 28vw, 130px);
    height: auto;
    display: block;
}

.leaderboard-wrap .leaderboard-card{
    width: fit-content;
}

.leaderboard-wrap .leaderboard-card-content{
    /*position:absolute;*/
    /*inset:0;*/
    /*display:block;     */
       position:absolute;
    inset:0;
    pointer-events:none;
}

/*.leaderboard-card.first .bg{*/
/*    width: 140px;*/
/*}*/

/* exact circle positioning */

.leaderboard-wrap .avatar{
    position:absolute;
    top:22%;
    left:50%;
    transform:translateX(-50%);
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

/* text stack under circle */

.leaderboard-wrap .name{
    position:absolute;
    top:50%;
    left:50%;
    transform:translateX(-50%);
    font-weight:700;
    font-size:14px;
}

.leaderboard-wrap .rate{
        position: absolute;
    top: 57%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 11px;
}

/*.leaderboard-wrap .cashback{*/
/*    top:52%;*/
/*}*/

.leaderboard-wrap .cashback{
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #4a5cff;
}

/*.leaderboard-wrap .spend{*/
/*    position:absolute;*/
/*    bottom:12%;*/
/*    left:50%;*/
/*    transform:translateX(-50%);*/
/*    font-weight:600;*/
/*}*/

.leaderboard-wrap .spend-box{
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 999px;
    font-size: 10px;
    color: #6b78a0;
    /* line-height: 0.2; */
    /* min-width: 85px; */
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    white-space: nowrap;
    text-align: center;
    width: 75px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.leaderboard-wrap .spend-box .spend{
    position:static;
    transform:none;
    /*margin-top:4px;*/
    font-weight:700;
    color:#000;
}

/* stacking */

.leaderboard-wrap .first{
    z-index:3;
    transform:translateY(-10px);
}

.leaderboard-wrap .second{
    z-index:1;
    transform:translateX(20px);
}

.leaderboard-wrap .third{
    z-index:1;
    transform:translateX(-20px);
}


/* -------- list section -------- */

.leaderboard-wrap .list{
    background:#f6f8ff;
    border-radius:16px;
    padding:8px;
}

.leaderboard-wrap .row{
    display:grid;
    grid-template-columns:40px 1fr auto;
    align-items:center;
    padding:12px 10px;
    background:#fff;
    border-radius:12px;
    margin-bottom:8px;
    font-weight:600;
}

.leaderboard-wrap .row span:last-child{
    color:#356dff;
}

.leaderboard-wrap .rank-card{
    max-width:520px;
    margin:auto;
    background:#f5f8ff;
    border-radius:18px;
    padding:20px;
    font-family:system-ui, sans-serif;
}

.leaderboard-wrap .rank-card .rank-row{
    display:grid;
    grid-template-columns: 30px 1fr auto;
    align-items:center;
    padding:10px 12px;
    border-radius:14px;
    margin-bottom:6px;
    background:linear-gradient(180deg,#ffffff,#f6f8ff);
}

.leaderboard-wrap .rank-card .rank-row.active{
    background:linear-gradient(90deg,#dbe8ff,#f2f6ff);
}

.leaderboard-wrap .rank-card .rank{
    color:#5b6c8f;
    font-weight:600;
}

.leaderboard-wrap .rank-card .user{
    display:grid;
    grid-template-columns:40px auto;
    align-items:center;
    column-gap:10px;
}

.leaderboard-wrap .rank-card .rank-name{
    font-weight:600;
    color:#1d2a57;
}

.leaderboard-wrap .rank-card .amount{
    font-weight:700;
    color:#2f63ff;
}

.leaderboard-wrap .rank-card .avatar,
.leaderboard-wrap .rank-card .avatar-img{
    width:36px;
    height:36px;
    border-radius:50%;
}

.leaderboard-wrap .rank-card .avatar{
    display:grid;
    place-items:center;
    color:#fff;
    font-weight:700;
    font-size:14px;
}

.leaderboard-wrap .rank-card .avatar-img{
    object-fit:cover;
}

.leaderboard-wrap .rank-card .avatar.purple{ background:#7b4ce3; }
.leaderboard-wrap .rank-card .avatar.violet{ background:#9b3bd3; }
.leaderboard-wrap .rank-card .avatar.dark{ background:#0f3c3c; }

/*@media (max-width: 360px){*/

/*    .leaderboard-wrap .leaderboard-card.first{*/
/*        transform: translateX(-50%) scale(1.12) translateY(-6%);*/
/*    }*/

/*    .leaderboard-wrap .leaderboard-card.second{*/
/*        transform: translateX(-135%) scale(1.02) translateY(-6%);*/
/*    }*/

/*    .leaderboard-wrap .leaderboard-card.third{*/
/*        transform: translateX(35%) scale(1.02) translateY(-6%);*/
/*    }*/

/*    .leaderboard-wrap .leaderboard-card .bg{*/
/*        width: clamp(95px, 30vw, 120px);*/
/*    }*/

/*}*/

/* =========== leaderboard new ============= */

  .tp-month-timer{
    max-width:420px;
    margin: 20px;
    padding:18px;
    border-radius:var(--tp-radius);
    background: linear-gradient(145deg,#ffffff,#f3f6fb);
    box-shadow: var(--tp-shadow);
    text-align:center;
  }

  .tp-timer-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-weight:700;
    color:#283046;
    margin-bottom:12px;
  }
  .tp-info-badge{
    width:22px;height:22px;border-radius:50%;
    background:var(--tp-blue); color:#fff; display:inline-flex;
    align-items:center;justify-content:center;font-size:13px;cursor:default;
  }

  .tp-timer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin-top:8px;
  }
  .tp-time-chip{
    background: #f7f9ff;
    border-radius:12px;
    padding:10px 6px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
  }
  .tp-time-chip .tp-num{font-weight:800;color:var(--tp-blue);font-size:18px;display:block}
  .tp-time-chip .tp-label{font-size:11px;color:var(--tp-muted);margin-top:4px}

  /* ==== START: TP Leaderboard CSS (no inline styles) ==== */
  
  /* ================= WRAP ================= */

.tp-leader-wrap{
  max-width:960px;
  margin:20px;
  /*padding:12px;*/
  position:relative;
}


/* ================= TABS ================= */

.tp-tabs{
  display:flex;
  gap:10px;
  margin:6px 0 16px;
  justify-content: space-between;
}

.tp-tab-btn{
  position:relative;
  padding:9px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  color:#243040;
  transition:.25s;
  cursor: default;
  font-size: 12px;
}

.tp-tab-btn:hover{
  background:#f4f7ff;
}

.tp-tab-btn.tp-tab-active{
  color:#fff;
  background:linear-gradient(90deg,var(--tp-blue),var(--tp-blue2));
  box-shadow:0 8px 20px rgba(45,108,223,.25);
}


/* ================= TAB PANELS (SLIDE) ================= */

.tp-tab-panel{
  animation:tpSlide .35s ease;
}

@keyframes tpSlide{
  from{
    opacity:0;
    transform:translateX(25px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

.tp-hidden{
  display:none !important;
}


/* ================= TOP 3 ================= */

.tp-top3{
  display:grid;
  grid-template-columns:1fr 1.2fr 1fr;
  gap:16px;
  align-items:end;
}

.tp-card{
  position:relative;
  padding:18px;
  border-radius:22px;

  background:
    linear-gradient(180deg,#ffffff,#f7faff);

  box-shadow:var(--tp-shadow);
  text-align:center;

  transition:.3s;
  overflow:hidden;
}

.tp-card:hover{
  transform:translateY(-6px);
  box-shadow:
    0 30px 80px rgba(5,18,40,0.12),
    0 8px 30px rgba(45,108,223,0.18);
}


/* avatar */

.tp-avatar{
  width:86px;
  height:86px;
  border-radius:50%;
  margin:0 auto 8px;
  padding:4px;

  background:linear-gradient(135deg,#ffe9a3,#b5d0ff);

  box-shadow:0 12px 28px rgba(17,24,39,0.12);
}

.tp-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}


/* badge */

.tp-badge{
  position:absolute;
  right:12px;
  top:12px;

  width:40px;
  height:40px;

  border-radius:50%;
  display:grid;
  place-items:center;

  font-weight:800;
  box-shadow:0 10px 22px rgba(0,0,0,0.12);
}

.tp-card[data-rank="1"] .tp-badge{
  background:linear-gradient(135deg,#ffd26a,#ffc400);
  color:#5b3a00;
}

.tp-card[data-rank="2"] .tp-badge{
  background:linear-gradient(135deg,#f5f7fb,#cfd6e6);
  color:#4a4a4a;
}

.tp-card[data-rank="3"] .tp-badge{
  background:linear-gradient(135deg,#ffd1a4,#ff9f52);
  color:#5a2b00;
}


/* text */

.tp-name{
  font-weight:800;
  color:#121828;
  margin:8px 0 4px;
  font-size:15px;
}

.tp-cash{
  font-weight:700;
  color:#2b3b5a;
  font-size:13px;
  margin-bottom:8px;
}

.tp-spend{
  margin-top:10px;
  padding:8px 12px;
  border-radius:12px;

  background:linear-gradient(180deg,#fff,#f4f8ff);

  font-weight:800;
  color:#1745d6;

  display:inline-block;

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.8);
}

.tp-orders{
  font-size:12px;
  color:#7b8198;
  margin-top:6px;
}


/* ================= LIST ================= */

.tp-list{
  margin-top:18px;
  border-radius:16px;
  overflow:hidden;

  background:linear-gradient(180deg,#fff,#fafcff);
  box-shadow:var(--tp-soft-shadow);
}

.tp-row{
  display:flex;
  align-items:center;
  gap:12px;

  padding:13px 14px;

  border-bottom:1px solid #f1f3f6;

  transition:.25s;
}

.tp-row:last-child{
  border-bottom:0;
}

.tp-row:hover{
  background:linear-gradient(90deg,#f7fbff,#ffffff);
  transform:translateX(6px);
}

.tp-rank{
  width:36px;
  font-weight:800;
  color:#9aa1ad;
}

.tp-av{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
  background:#eee;
  box-shadow:0 6px 12px rgba(0,0,0,0.06);
}

.tp-name-row{
  flex:1;
  font-weight:700;
  color:#162034;
}

.tp-sub{
  font-size:12px;
  color:#7b8198;
  margin-top:2px;
}

.tp-spend-row{
  font-weight:800;
  color:var(--tp-blue);
}


/* ================= PREVIOUS / SENT ================= */

.tp-prev-wrap{
  margin-top:14px;
  border-radius:16px;
  padding:14px;

  background:#fff;
  box-shadow:var(--tp-soft-shadow);
}

.tp-prev-title{
  font-weight:800;
  margin-bottom:10px;
  color:#121828;
}

.tp-prev-row{
  display:flex;
  align-items:center;
  gap:12px;

  padding:10px 0;
  border-bottom:1px dashed #eef1f6;

  transition:.25s;
}

.tp-prev-row:hover{
  transform:translateX(6px);
}

.tp-prev-row:last-child{
  border-bottom:0;
}

.tp-prev-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
}

.tp-prev-info{
  flex:1;
}

.tp-prev-name{
  font-weight:800;
  color:#162034;
}

.tp-prev-spend{
  font-size:13px;
  color:#7b8198;
  margin-top:2px;
}

.tp-prev-right{
  text-align:right;
}

.tp-prev-amount{
  font-weight:800;
  margin-top:6px;
  color:#121828;
}

.tp-tag{
  font-size:12px;
  padding:6px 8px;
  border-radius:10px;
  background:#f3f7ff;
  color:#244;
  font-weight:700;
  text-align: center;
}

.tp-tag.sent{

  color:#0f7b37;

  background:
    linear-gradient(180deg,#e9fff1,#d7fbe6);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 4px 10px rgba(16,185,129,.18);

  border:1px solid rgba(16,185,129,.25);
  width: 60px;
}

.tp-tag.sent::before{
  content:"✔";
  font-size:11px;
  font-weight:900;
}


/* ================= PENDING ================= */

.tp-tag.pending{

  color:#b45309;

  background:
    linear-gradient(180deg,#fff7e6,#ffeccc);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 4px 10px rgba(245,158,11,.18);

  border:1px solid rgba(245,158,11,.3);
}

.tp-tag.pending::before{
  content:"⏳";
  font-size:11px;
}

/* ================= EMPTY ================= */

.tp-empty{
  padding:16px;
  text-align:center;
  color:#7b8198;
  font-weight:600;
}


/* ================= SHIMMER ================= */

.tp-shimmer{
  position:relative;
  overflow:hidden;
  color:transparent !important;
}

.tp-shimmer *{
  visibility:hidden !important;
}

.tp-shimmer::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,var(--tp-shimmer-base),#f7fbff);
  z-index:1;
}

.tp-shimmer::after{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    110deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0.95) 45%,
    rgba(255,255,255,0.6) 52%,
    rgba(255,255,255,0) 70%
  );

  transform:translateX(-120%);
  animation:tpShimmer 1.1s linear infinite;
  mix-blend-mode:screen;
  z-index:2;
}

@keyframes tpShimmer{
  from{transform:translateX(-120%)}
  to{transform:translateX(120%)}
}

/* ================= MOBILE ================= */

@media (max-width:760px){

  .tp-top3{
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
  }

  .tp-avatar{
    width:64px;
    height:64px;
  }

}

/* ================= MODAL BACKDROP ================= */

.tp-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(10,18,40,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity:0;
  visibility:hidden;
  transition:all .35s ease;

  z-index:99999;
}

.tp-modal.tp-modal-active{
  opacity:1;
  visibility:visible;
}

/* ================= MODAL BOX ================= */

.tp-modal-box{

  width:92%;
  max-width:420px;

  border-radius:22px;
  padding:24px 22px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,252,255,0.94));

  box-shadow:
    0 30px 80px rgba(0,0,0,0.18),
    0 8px 30px rgba(45,108,223,0.15);

  transform: translateY(30px) scale(.92);
  transition:all .35s cubic-bezier(.2,.8,.2,1);

  position:relative;
  overflow:hidden;
}

.tp-modal.tp-modal-active .tp-modal-box{
  transform: translateY(0) scale(1);
}

/* ================= TITLE ================= */

.tp-modal-box h3{
  margin:0 0 10px;
  font-size:20px;
  font-weight:800;
  color:#121828;
  letter-spacing:.2px;
}


/* ================= DESCRIPTION ================= */

.tp-modal-desc{
  font-size:14px;
  color:#5b647c;
  line-height:1.55;
  margin-bottom:14px;
}


/* ================= LIST ================= */

.tp-modal-list{
  margin:12px 0 20px;
  padding:0;
  list-style:none;
}

.tp-modal-list li{

  display:flex;
  align-items:center;
  gap:10px;

  padding:10px 12px;
  margin-bottom:8px;

  border-radius:12px;

  background:linear-gradient(180deg,#f6f9ff,#eef4ff);

  font-weight:700;
  color:#1b2a4a;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 10px rgba(45,108,223,0.08);
}


/* ================= BUTTON ================= */

.tp-btn-primary{

  width:100%;
  border-radius:14px;

  padding:12px 14px;

  font-size:15px;
  font-weight:800;

  background:linear-gradient(135deg,#2d6cdf,#4b86ff);

  color:#fff;
  border:none;

  cursor:default;

  box-shadow:
    0 10px 24px rgba(45,108,223,.35),
    inset 0 1px 0 rgba(255,255,255,0.25);

  transition:all .25s ease;
}

.tp-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:
    0 14px 30px rgba(45,108,223,.45),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.tp-btn-primary:active{
  transform:translateY(0);
  box-shadow:
    0 6px 14px rgba(45,108,223,.35);
}


/* ================= MOBILE ================= */

@media (max-width:480px){

  .tp-modal-box{
    padding:20px 18px;
    border-radius:18px;
  }

  .tp-modal-box h3{
    font-size:18px;
  }

  .tp-btn-primary{
    font-size:14px;
  }

}

/* ==== END: TP Leaderboard CSS ==== */

.month-timer{
    max-width: 415px;
    margin: 20px ;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg,#ffffff,#f1f3f7);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    font-family: system-ui;
}

.month-timer .timer-title{
    font-size: 16px;
    font-weight: 600;
    color: #4a4f63;
    margin-bottom: 15px;
}

.month-timer .timer-header{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    font-weight:600;
    font-size:16px;
    color:#4a4f63;
    margin-bottom:15px;
}

.month-timer .info-icon{
    width:20px;
    height:20px;
    border-radius:50%;
    background:#2d6cdf;
    color:white;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:default;
}

.month-timer .timer-box{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.month-timer .time{
    background: #f7f9fc;
    border-radius: 14px;
    padding: 12px 5px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.month-timer .time span{
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2d6cdf;
}

.month-timer .time label{
    font-size: 11px;
    color: #7b8198;
    margin-top: 4px;
    display: block;
}

.reward-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;
    transition: all 0.3s ease;
    z-index:9999;
}

.reward-modal.active{
    opacity:1;
    visibility:visible;
}

.reward-modal .reward-box{
    width:90%;
    max-width:360px;
    background:white;
    padding:22px;
    border-radius:20px;
    font-family:system-ui;

    transform: scale(0.85);
    opacity:0;
    transition: all 0.3s cubic-bezier(.17,.67,.35,1.3);
}

.reward-modal.active .reward-box{
    transform: scale(1);
    opacity:1;
}

.reward-modal .reward-box button{
    width:100%;
    padding:10px;
    border:none;
    border-radius:12px;
    background:#2d6cdf;
    color:white;
    margin-top:15px;
    cursor:default;
}

.reward-modal .reward-box h3{
    margin-bottom:10px;
}

.reward-modal .reward-box ul{
    padding-left:18px;
    margin:10px 0;
}