:root{
  --bg1:#f3f5f8;
  --accent1:#ff5f57; /* red */
  --accent2:#34c759; /* green */
  --accent3:#007aff; /* blue */
  --accent4:#ff9500; /* orange */
  --card:#ffffff;
  --muted:#777777;
  --primary:#0b6efd;
  --shadow: 0 6px 18px rgba(11,110,253,0.08);
}

*{box-sizing:border-box;font-family: 'Roboto', sans-serif}
html,body{height:100%;margin:0;background:var(--bg1)}
.app-root{min-height:100vh;display:flex;flex-direction:column;position:relative}

.top-strip{display:flex;gap:12px;background:linear-gradient(90deg,#ffffff,#f6fbff);padding:12px;border-radius:8px}
.last-result, .timer{flex:1;display:flex;flex-direction:column;align-items:center}
.title{font-weight:700;margin-bottom:8px}
.numbers{display:flex;gap:8px;align-items:center}
.circle{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:700}
.circle.red{background:var(--accent1)}
.circle.green{background:var(--accent2)}
.circle.blue{background:var(--accent3)}
.circle.orange{background:var(--accent4)}

.timer .time-values{display:flex;align-items:center;gap:6px;margin-top:8px}
.time-box{min-width:44px;padding:8px 12px;border-radius:6px;background:#111111;color:white;text-align:center;font-weight:700}
.sep{font-weight:700}

.view-win{display:block;margin:12px auto;background:linear-gradient(90deg,#ff7a7a,#ffb86b);border:none;padding:10px 18px;border-radius:999px;color:#fff;font-weight:700;cursor:pointer}

.recycler{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.card{background:var(--card);padding:12px;border-radius:8px;box-shadow:var(--shadow)}
.sample-card{min-height:60px}

.tabs{display:flex;margin-top:20px;gap:12px}
.tab{flex:1;background:linear-gradient(90deg,#fff,#fafafa);padding:12px;border-radius:8px;text-align:center;position:relative;cursor:pointer}
.tab .indicator{height:3px;width:30px;background:#000;margin:6px auto 0}

.section{margin-top:12px}
.heading-row{display:flex;align-items:center;gap:12px}
.heading{font-weight:700}
.draw-ab{display:flex;align-items:center;gap:6px}
.circle.small{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:700}
.circle.legend-small{width:24px;height:24px}
.equals{font-weight:700;margin:0 8px}
.result-ab{display:flex;gap:8px;align-items:center}
.divider{height:1px;background:#e7e7e7;margin:12px 0}
.details-row{display:flex;justify-content:space-between;padding:0 16px}
.sub-detail{display:flex;justify-content:space-between;padding:0 16px;margin-top:8px}
.my-bets-title{padding:8px 0;font-weight:700}
.clOuter{padding:12px}
.legend{display:flex;align-items:center;justify-content:space-between}
.legend-left{display:flex;gap:8px}

.repeater{display:flex;flex-wrap:wrap;gap:8px}
.card.small{padding:8px}

.cart-sheet{position:fixed;left:0;right:0;bottom:0;height:300px;background:white;box-shadow:0 -10px 30px rgba(0,0,0,0.12);transform:translateY(100%);transition:transform 300ms ease-in-out;padding:12px;border-top-left-radius:12px;border-top-right-radius:12px}
.cart-sheet.open{transform:translateY(0)}
.drag-handle{width:40px;height:6px;background:#e0e0e0;border-radius:12px;margin:0 auto 8px}
.cart-title{font-weight:700;padding:8px 0}
.rvMyNumbers{display:flex;flex-direction:column;gap:8px;overflow:auto;max-height:170px}
.cart-item{padding:10px;background:#fafafa;border-radius:8px}

.bottom-bar{position:fixed;left:12px;right:12px;bottom:12px;background:white;padding:12px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 10px 30px rgba(0,0,0,0.12)}
.my-numbers{display:flex;align-items:center;gap:12px}
.bag{width:48px;height:48px}
.amount{font-weight:700}
.count{color:var(--muted)}
.pay-now{background:var(--primary);color:white;border:none;padding:10px 16px;border-radius:8px;cursor:pointer}

.no-data{color:var(--muted);text-align:center;padding:24px}

/* small screens adjustments */
@media (max-width:600px){
  .top-strip{flex-direction:column}
  .last-result,.timer{width:100%}
}
digit-card {
    background: #fff;
    padding: 16px;
    margin: 14px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.digit-title-row {
    display: flex;
    align-items: center;
}

.digit-title {
    font-size: 18px;
    font-weight: 700;
}

.digit-win {
    margin-left: 8px;
    font-size: 14px;
    color: #444;
}

.ticket-price {
    color: #8a2be2;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 10px;
}

.digit-row {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-size: 18px;
}

.A { background: #4caf50; }
.B { background: #03a9f4; }
.C { background: #ffca28; }
.D { background: #e53935; }

.input-box {
    display: flex;
    flex-direction: column;
    margin-right: 16px;
}

.input-box input {
    width: 45px;
    height: 38px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
}

.input-box label {
    font-size: 11px;
    text-align: center;
    margin-top: 2px;
    color: gray;
}

.qty-box {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 6px;
    margin-right: 16px;
}

.qty-box button {
    width: 28px;
    height: 38px;
    font-size: 22px;
    border: none;
    background: transparent;
    color: #7b1fa2;
    font-weight: bold;
}

.qty-box input {
    width: 35px;
    height: 38px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
}

.add-btn {
    background: #7b1fa2;
    color: white;
    border: none;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
} 
/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .circle {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 10px;
    }

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

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .circle {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 8px;
    }

    .input-box input {
        width: 38px;
        height: 34px;
        font-size: 16px;
    }

    .qty-box button {
        width: 24px;
        height: 34px;
        font-size: 20px;
    }

    .qty-box input {
        width: 28px;
        height: 34px;
        font-size: 14px;
    }

    .add-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Small phones (max-width: 360px) */
@media (max-width: 360px) {
    .circle {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-right: 6px;
    }

    .input-box input {
        width: 34px;
        height: 30px;
    }

    .add-btn {
        padding: 5px 14px;
        font-size: 12px;
    }
}
.digit-card {
    width: 100%;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    box-sizing: border-box;
    margin-bottom: 16px;
    font-family: roboto, sans-serif;
}

/* Title Row */
.digit-header {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.digit-title {
    font-size: 18px;
}

.digit-win {
    margin-left: 10px;
    font-size: 15px;
    color: #555;
}

/* Ticket price */
.ticket-price {
    color: #8a2be2;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
}

/* ABC Row */
.abc-row {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

.a { 
    background: #f44336;   /* Red for A */ 
}

.b { 
    background: #4caf50;   /* Green for B */ 
}

.c { 
    background: #ffeb3b;   /* Yellow for C */           /* dark text because yellow background */ 
}

.d { 
    background: #03a9f4;   /* Light Blue for D */ 
}

/* Input box exactly like Android shape */
.input-block {
    margin-left: 12px;
    text-align: center;
}

.digit-input {
    width: 64px;
    height: 34px;
    border: 2px solid #bdbdbd;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.input-block label {
    display: block;
    font-size: 10px;
    margin-top: 3px;
    color: #777;
}

/* Quantity Row */
.qty-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
    background: transparent;
    border: 1px solid #8a2be2;
    color: #8a2be2;
    border-radius: 4px;
}

.qty-input {
    width: 32px;
    height: 28px;
    text-align: center;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #999;
}

.box-btn {
    background: #00796b;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    margin-left: auto;
}

.add-btn {
    background: #8a2be2;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
}
/* ---------------- MOBILE FIRST ---------------- */

.top-section {
    background: linear-gradient(180deg, #7b0fff, #d88bff);
    padding: 20px 15px;
    color: white;
    border-radius: 0 0 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Flex layout but space evenly for phones */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Titles */
.lr-title,
.tr-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Result Circles */
.lr-circles {
    display: flex;
    gap: 6px;
}

.lr-circle {
    width: 34px;
    height: 34px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

/* Timer */
.tr-values {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tr-box {
    background: black;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.tr-sep {
    font-size: 18px;
    font-weight: 700;
}

/* View Button */
.view-win-btn {
    margin-top: -15px;
    background: #ff3db0;
    border: none;
    color: white;
    padding: 3px 1px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    width: 25%;
    max-width: 250px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* LETTER COLORS FOR LAST RESULT */
.lr-circle.d {
    background: #f44336;   /* Red */
    color: #fff;
}

.lr-circle.a {
    background: #4caf50;   /* Green */
    color: #fff;
}

.lr-circle.c {
    background: #ffca28;   /* Yellow */
    color: #fff;         /* readable text */
}

.lr-circle.b {
    background: #03a9f4;   /* Light Blue */
    color: #fff;
}

/* ---------------- RESPONSIVE MEDIA QUERIES ---------------- */

/* 🔹 Very small phones (width < 340px) */
@media (max-width: 340px) {
    .lr-circle, .tr-box {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .view-win-btn {
        width: 80%;
        font-size: 13px;
    }
}

/* 🔹 Larger phones (width > 420px) */
@media (min-width: 420px) {
    .lr-circle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .tr-box {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .top-section {
        padding: 25px 20px;
    }
}
/* Bottom Bar */
.bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 15px;
    margin: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bag {
    width: 36px;
}

.amount {
    font-size: 16px;
    font-weight: 700;
}

.count {
    font-size: 12px;
    color: #555;
}

.pay-now {
    background: #8f2dff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}


/* Slide-up Panel */
.my-numbers-panel {
    position: fixed;
    bottom: -400px; /* hidden */
    left: 0;
    width: 100%;
    height: 300px;
    background: white;
    box-shadow: 0 -4px 25px rgba(0,0,0,0.2);
    border-radius: 20px 20px 0 0;
    transition: 0.35s ease-in-out;
    padding: 15px;
}

.my-numbers-panel.show {
    bottom: 60px; /* Above bottom bar */
}

/* header */
.panel-header {
    text-align: center;
}

.handle {
    width: 50px;
    height: 5px;
    background: #bbb;
    border-radius: 10px;
    margin: 0 auto 10px auto;
}

.numbers-list {
    margin-top: 5px;
}

/*.number-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f6ff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}*/

.tag {
    background: #7c3aff;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-left: 4px;
}
.quick-guess-btn {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}

.quick-guess-btn:hover {
    background: #e68900;
}
.outer {
    padding: 2px;
    width: 100%;
}

/* CardView Equivalent */
.cardViewBlockNews {
    width: 100%;
    margin-top: 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #fff;
}

/* Inner layout */
.inner {
    padding: 6px;
    position: relative;
}

/* Date Time Text */
.dateText {
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* Circle container */
.circleRow {
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Circle style */
.circle {
    width: 32px;
    height: 32px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* Colors (same as your Android drawables) */
.myorder-item {
    width: 100%;
    padding: 0 18px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.myorder-item .ll1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.myorder-item .circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myorder-item .tvPayment {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-weight: 600;
}

.myorder-item .tvWinAmt {
    padding: 8px;
    font-weight: 600;
    display: none; /* same as Android GONE */
}

/* Colors */
.red { background:#e53935; }
.green { background:#43a047; }
.blue { background:#1e88e5; }
.orange { background:#fb8c00; }
.indicator {
    height: 3px;
    width: 100%;
    background: black;
    margin-top: 4px;
    display: none;  /* hide by default */
}
.countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 15px;
}

/* .cd-box {
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    min-width: 40px;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
}

.cd-sep {
    font-size: 18px;
    color: #fff;
} */
.back-btn{
    background:#fff;
    border:none;
    border-radius:8px;
    padding:8px 16px;
    font-size:16px;
    cursor:pointer;
}
.my-numbers-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    max-height: 60%;
    display: flex;
    flex-direction: column;
}

.my-numbers-panel.show {
    bottom: 60px;
}

.panel-header {
    padding: 0px;
    text-align: center;
    cursor: pointer; /* Important — click to close */
    background: #f5f5f5;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.panel-header .handle {
    width: 50px;
    height: 5px;
    background: #ccc;
    border-radius: 5px;
    margin: 0 auto 10px;
}

.numbers-list {
    padding: 5px;
    overflow-y: auto;
    flex: 1;
}

.number-item {
    display: inline-flex;      /* shrink to fit content */
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;          /* small padding */
    background: #eee;
    margin-bottom: 5px;
    margin-right: 6px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;       /* prevent wrapping */
}
.remove-btn {
    background: red;
    color: #fff;
    border: none;
    padding: 2px 7px;
    border-radius: 11px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 4px; /* small space on the left */
}

/* Bottom Bar */

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.my-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.bag {
    width: 35px;
}

.pay-now {
    background: #28a745;
    padding: 10px 20px;
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}
#numbersList {
    display: block;
}

.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255,255,255,0.95);
    color: #333;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: 600;
    font-size: 16px;
    min-width: 250px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, top 0.4s;
    z-index: 9999;
}

.alert.show {
    top: 40px;
    opacity: 1;
    pointer-events: auto;
}

.alert.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}
.top-bar {
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;

    position: fixed;     /* Make it fixed */
    top: 46px;              /* Stick to very top */
    left: 0;
    width: 100%;         /* Full width */
    z-index: 9999;       /* Stay above all elements */
}


.back-btn {
    background: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.top-bar span {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.win-dropdown {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.win-dropdown.show {
  max-height: 400px; /* enough space for items */
  opacity: 1;
}

.prize-panel {
    max-height: 0;
    overflow: scroll;
    transition: max-height 0.4s ease;
    background: #f8f8f8;
    padding: 0 15px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.prize-panel.open {
    max-height: 600px; /* big enough */
    padding: 15px;
}

.prize-block {
    background: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
.prize-block h4 {
    margin: 0 0 6px 0;
}
.state-card {
    position: relative;
}
.card-game {
  position: relative;
}

.closed-badge {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.closed-badge img {
  width: 140px;
  height: 90px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .closed-badge img {
    width: 400px;
    height: 220px;
  }
}

@media (min-width: 1200px) {
  .closed-badge img {
    width: 520px;
    height: 260px;
  }
}

/*
Sakshi-invite*/
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #222;
    padding-bottom: 70px;
  } */

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

  .lou-invite-header {
    background-color: #7b2ae8;
    color: white;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .lou-invite-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 0 16px 80px;  /* ⬅️ add bottom padding so content clears nav */ 
}


  .lou-invite-welcome {
    background-color: #ffffff;
    padding: 32px 24px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .lou-invite-welcome h1 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #333;
    line-height: 1.3;
  }

  .lou-invite-subtext {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #555;
  }

  .lou-invite-subtext a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #25d366;
    font-weight: bold;
    background-color: #e5f8ec;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
  }

  .lou-invite-subtext a:hover {
    background-color: #d1f0df;
  }

  .lou-invite-subtext img {
    width: 18px;
    height: 18px;
  }

  .lou-invite-banner {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .lou-invite-referral {
    background-color: white;
    padding: 20px;
    margin-top: 16px;
    border-radius: 8px;
    text-align: center;
  }

  .lou-invite-referral h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .lou-invite-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .lou-invite-btn {
    flex: 1;
    border: none;
    padding: 12px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }

 .lou-invite-btn-code {
  display: flex;
  flex-direction: column;   /* stack text vertically */
  align-items: center;
  justify-content: center;
  gap: 4px;
    background: linear-gradient(to right, #833ab4, #fd1d1d);
}

.ref-code {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.copy-label {
  font-size: 12px;
  font-weight: 500; 
}

  .lou-invite-btn-invite {
    background: linear-gradient(to right, #fc466b, #3f5efb);
  }

  .stats-card {
    background-color: white;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .stats-card .header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: bold;
  }

  /* Wrapper card for Personal Data */
  .lou-invite-stats-card {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 14px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  /* Header row: icon + title */
  .lou-invite-stats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2d7ff;
  }

  /* Icon style */
  .lou-invite-stats-header img {
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 0%, #ffffff, #7b2ae8);
    box-shadow: 0 4px 10px rgba(123, 42, 232, 0.35);
  }

  /* Stats grid as small cards */
  .lou-invite-stats-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
  }

  /* Rupee icon only for currency stat */
  .lou-invite-stat--currency .lou-invite-stat-value::before {
    content: "₹";
    margin-right: 4px;
    font-size: 16px;
    font-weight: 700;
    vertical-align: middle;
  }

  .lou-invite-stat {
    background: linear-gradient(135deg, #f5f0ff, #fdfbff);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 4px 10px rgba(123, 42, 232, 0.12);
    border: 1px solid #e5dcff;
    text-align: left;
  }

  .lou-invite-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #7b2ae8;
  }

  .lou-invite-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
  }


  .lou-invite-tabs {
    display: flex;
    margin-top: 20px;
    background-color: #f4effc;
    border-radius: 6px;
    overflow-x: auto;
  }

  .lou-invite-tab {
    padding: 10px 14px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
    color: #444;
  }

  .lou-invite-tab.lou-invite-active {
    background-color: #7b2ae8;
    color: white;
    border-radius: 6px;
  }

  .lou-invite-date-range {
    background-color: white;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .lou-invite-date-display {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .lou-invite-date-display input {
    border: none;
    background: none;
    font-size: 14px;
  }

  .lou-invite-date-display input:focus {
    outline: none;
  }

  .lou-invite-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }

  .lou-invite-data-table th,
  .lou-invite-data-table td {
    padding: 10px 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
  }

  .lou-invite-data-table th {
    background-color: #4c1d95;
    color: white;
  }

  .lou-invite-data-table td {
    background-color: #eee9fb;
    color: #333;
  }

  .lou-invite-level-cell {
    background-color: #cdbdfc;
    font-weight: bold;
  }

  .lou-invite-info-section {
    background-color: white;
    margin: 20px 0;
    padding: 16px;
    border-radius: 8px;
  }

  .lou-invite-info-section p {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
  }

  .lou-invite-scroll-wrapper {
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px 0;
    display: flex;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }



  .commission-wrapper {
    padding: 16px;
  }

  .commission-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .commission-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .commission-subtitle {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
  }

  /* Card-style layout for tiers */
  .tier-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
  }

  .tier-card {
    flex: 1 1 calc(50% - 10px);
    /* 2 cards per row on bigger screens */
    min-width: 130px;
    border-radius: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f5f3ff, #fdfbff);
    border: 1px solid #ece4ff;
  }

  .tier-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }

  .tier-pill {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(123, 42, 232, 0.08);
    color: #7b2ae8;
    font-weight: 600;
  }

  .tier-percent {
    font-size: 16px;
    font-weight: 700;
  }

  .tier-line {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7b2ae8, #ffb300);
    margin: 4px 0 6px;
  }

  .tier-meta {
    font-size: 11px;
    color: #666;
  }

  .no-rules {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
  }

  /* Mobile: 1 card per row */
  @media (max-width: 480px) {
    .tier-card {
      flex: 1 1 100%;
    }
  }

  /* Card container */
  .plan-tree-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    margin: 16px 0;
  }

  /* Header */
  .plan-tree-header {
    margin-bottom: 10px;
  }

  .plan-tree-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
  }

  .plan-tree-subtitle {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
  }

  /* Root section */
  .plan-tree-wrapper {
    margin-top: 8px;
  }

  .plan-tree-root {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f0ff, #fdfbff);
    border: 1px solid #e5dcff;
    margin-bottom: 14px;
  }

  .plan-tree-root-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7b2ae8;
    color: #fff;
    font-size: 18px;
  }

  .plan-tree-root-text {
    flex: 1;
  }

  .plan-tree-root-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
  }

  .plan-tree-root-desc {
    font-size: 11px;
    color: #777;
  }

  /* Tree column */
  .plan-tree {
    position: relative;
    padding-left: 24px;
    margin-top: 4px;
  }

  /* Vertical line of the tree */
  .plan-tree::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #7b2ae8, #ffb300);
    opacity: 0.45;
  }

  /* Each node */
  .plan-tree-node {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
  }

  /* Last node: a bit more spacing bottom */
  .plan-tree-node:last-child {
    margin-bottom: 0;
  }

  /* Circle on the tree line */
  .plan-tree-marker {
    position: absolute;
    left: 4px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid #7b2ae8;
    box-shadow: 0 0 0 3px rgba(123, 42, 232, 0.15);
  }

  /* Node content card */
  .plan-tree-content {
    margin-left: 24px;
    background: #faf7ff;
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #ece0ff;
  }

  /* Top row: Tier + percentage */
  .plan-tree-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .plan-tree-level {
    font-size: 13px;
    font-weight: 600;
    color: #7b2ae8;
  }

  .plan-tree-percent {
    font-size: 15px;
    font-weight: 700;
    color: #222;
  }

  /* Node description */
  .plan-tree-desc {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
  }

  /* Empty text */
  .plan-tree-empty {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
  }

  /* Mobile tweaks */
  @media (max-width: 480px) {
    .plan-tree-card {
      padding: 14px 12px;
    }

    .plan-tree-title {
      font-size: 16px;
    }

    .plan-tree-root {
      padding: 8px 10px;
    }
  }

  /* Outer card for a plan */
  .commission-plan-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    margin: 16px 0;
  }

  /* Header */
  .commission-plan-header {
    margin-bottom: 10px;
  }

  .commission-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #222;
  }

  .commission-plan-tag {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
  }

  /* List of tiers */
  .commission-tier-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Each tier row – chip style */
  .commission-tier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    background: #faf7ff;
    border: 1px solid #ece0ff;
  }

  /* Left side: badge + text */
  .commission-tier-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Round badge with T1, T2, ... */
  .commission-tier-badge {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 0%, #ffffff, #7b2ae8);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(123, 42, 232, 0.35);
  }

  /* Text block */
  .commission-tier-text {
    display: flex;
    flex-direction: column;
  }

  .commission-tier-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
  }

  .commission-tier-subtitle {
    font-size: 11px;
    color: #777;
  }

  /* Right side: percentage */
  .commission-tier-value {
    font-size: 16px;
    font-weight: 700;
    color: #222;
  }

  /* No rules text */
  .commission-plan-empty {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
  }

  /* Mobile tweaks */
  @media (max-width: 480px) {
    .commission-plan-card {
      padding: 14px 12px;
    }

    .commission-tier-item {
      padding: 9px 10px;
    }

    .commission-tier-value {
      font-size: 15px;
    }
  }

  /* Layout for the 3 cards */
  .commission-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Each column */
  .commission-layout-item {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 260px;
  }

  /* Make inner cards fill the column height */
  .commission-layout-item>* {
    height: 100%;
  }

  /* Remove vertical margins from cards inside the row */
  .commission-plan-card,
  .plan-tree-card,
  .commission-card {
    margin: 0;
  }

  /* If you keep commission-wrapper anywhere else, don't add padding here for this layout */
  /* .commission-wrapper { padding: 0; } */

  /* Mobile: stack cards */
  @media (max-width: 768px) {
    .commission-layout-item {
      flex: 1 1 100%;
    }
  }

  .lou-filter-btn{
background-color: #7b2ae8;
    color: white;
    border-radius: 6px;
  }.copy-btn {
      width: 16px;
    cursor: pointer;
    margin-left: 5px;
    }


/*account*/
 /* === Variables & Reset === */
  :root {
    --clr-primary-light: #ff9462;
    --clr-primary: #ff5c2d;
    --clr-accent: #ff8d3b;
    --clr-bg: #f7f7f7;
    --clr-card-bg: #ffffff;
    --clr-text: #333;
    --clr-text-muted: #666;
    --clr-success: #4caf50;
    --clr-error: #e64a19;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .account-det-link-btn {
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
  }

  .account-det-link-btn:focus-visible {
    outline: 2px solid rgba(255, 92, 45, 0.45);
    outline-offset: 2px;
    border-radius: 14px;
  }

  .account-det-link-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .account-det-container {
    width: 100%;
    max-width: 430px;
    margin: auto;
    padding-bottom: 100px; /* space for bottom-nav */
  }

  /* === HEADER === */
  .account-det-header {
    background: linear-gradient(135deg, #0042a4, #1754ac, #2596be);
    padding: 20px;
    color: white;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }

  .account-det-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .account-det-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    flex-shrink: 0;
  }

  .account-det-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .account-det-user-info > div:first-child {
    font-size: 18px;
    font-weight: 600;
  }

  .account-det-user-info > div:last-child {
    font-size: 13px;
    opacity: 0.9;
  }

  /* === VIP / Wallet Section === */
  .account-det-new-section {
    padding: 16px;
  }

  .account-det-vip-glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .account-det-vip-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
  }

  .account-det-vip-chip {
    background: var(--clr-accent);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: bold;
  }

  .account-det-vip-progress-outer {
    margin-top: 14px;
    height: 10px;
    background: #ececec;
    border-radius: 20px;
    overflow: hidden;
  }

  .account-det-vip-progress-fill {
    width: 30%; /* adjust dynamically */
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff7a2c, #ffc589);
    transition: width 0.4s ease;
  }

  .account-det-vip-msg {
    font-size: 12px;
    margin-top: 8px;
    color: var(--clr-error);
  }

  .account-det-wallet-flat {
    background: var(--clr-card-bg);
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft);
  }

  .account-det-wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .account-det-wallet-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
  }

  .account-det-wallet-icon {
    font-size: 24px;
  }

  .account-det-wallet-tag {
    font-size: 18px;
    font-weight: 600;
    color: var(--clr-primary);
  }

  .account-det-wallet-stats-new {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 14px;
    text-align: center;
    color: var(--clr-text-muted);
  }

  .account-det-wallet-stats-new div {
    width: 48%;
  }

  .account-det-wallet-stats-new div strong {
    display: block;
    font-size: 17px;
    margin-top: 4px;
    color: var(--clr-text);
  }

  .account-det-wallet-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
  }

  .account-det-wallet-actions button {
    flex: 1;
    padding: 12px 0;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .account-det-wallet-actions button:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
  }

  .account-det-btn-dep {
    background: linear-gradient(90deg, #ffb4b4, #ffdddd);
    color: #b10000;
  }

  .account-det-btn-wdr {
    background: linear-gradient(90deg, #d6e7ff, #ecf3ff);
    color: #00459a;
  }

  .account-det-wallet-links-new {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 14px;
    color: var(--clr-text-muted);
  }

  .account-det-wallet-links-new span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .account-det-wallet-links-new span:hover {
    text-decoration: underline;
    color: var(--clr-primary);
  }

  /* === MENU LIST === */
  .account-det-menu-list {
    margin: 20px 16px 24px !important;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    background: var(--clr-card-bg);
  }

  .account-det-menu-item + .account-det-menu-item {
    border-top: 1px solid #eee;
  }

  .account-det-menu-item {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .account-det-menu-item:hover {
    background: #f9f9f9;
  }

  .account-det-menu-left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--clr-text);
  }

  .account-det-menu-icon {
    font-size: 20px;
    color: var(--clr-primary);
  }

  .account-det-menu-arrow {
    font-size: 18px;
    color: #ccc;
  }

  /* === BOTTOM NAV === */
  .account-det-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--clr-card-bg);
    height: 60px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }

  .account-det-nav-item {
    text-align: center;
    font-size: 12px;
    color: #777;
    flex-shrink: 0;
    transition: color 0.2s ease;
  }

  .account-det-nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
  }

  .account-det-nav-item.account-det-active {
    color: var(--clr-primary);
    font-weight: 600;
  }

  .account-det-nav-item:hover {
    color: var(--clr-primary);
  }

  /* === Responsive Tweaks === */
  @media (max-width: 400px) {
    .account-det-wallet-stats-new div strong {
      font-size: 15px;
    }
    .account-det-wallet-icon {
      font-size: 22px;
    }
  }

  .account-det-wallet-card-modern {
    background: #fff;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .account-det-wallet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .account-det-wallet-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
  }

  .account-det-wallet-balance-chip {
    background: linear-gradient(90deg, #ffdedb, #ffd0cc);
    color: #b30000;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.15);
  }

  .account-det-wallet-stats-modern {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
  }

  .account-det-wallet-stats-modern strong {
    display: block;
    font-size: 18px;
    margin-top: 4px;
    color: #222;
  }

  .account-det-wallet-buttons-modern {
    display: flex;
    gap: 14px;
  }

  .account-det-btn-modern {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .account-det-btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .account-det-btn-deposit {
    background: linear-gradient(to right, #ffe2e2, #ffc9c9);
    color: #b30000;
  }

  .account-det-btn-withdraw {
    background: linear-gradient(to right, #d6eaff, #c7dcff);
    color: #003a7f;
  }

  .account-det-wallet-links-modern {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
  }

  .account-det-wallet-links-modern button {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
  }

  .account-det-wallet-links-modern button:hover {
    color: #ff5c2d;
    text-decoration: underline;
  }

  /* ===== language modal styles ===== */
  .account-det-lang-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;              /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .account-det-lang-dialog {
    width: 90%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    padding: 18px 20px 10px;
  }

  .account-det-lang-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .account-det-lang-list {
    margin-top: 4px;
  }

  .account-det-lang-option {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
  }

  .account-det-lang-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #00856a;
  }

  .account-det-lang-actions {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 8px;
    text-align: right;
  }

  .account-det-lang-cancel {
    border: none;
    background: none;
    color: #7b23b9;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
  }

  /* NEW WALLET PREMIUM DESIGN */
  .account-det-wallet-card-pro {
    margin: 16px;
    width: calc(100% - 32px);
    background: linear-gradient(135deg, #fff7f7, #ffe2d9, #ffd9c4);
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
  }

  .account-det-wallet-pro-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .account-det-wallet-pro-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .account-det-wallet-pro-icon {
    /*background: rgba(255,255,255,0.7);*/
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 14px;
    font-size: 22px;
    color: white;
  }

  .account-det-wallet-pro-title {
    font-size: 18px;
    font-weight: 700;
  }

  .account-det-wallet-pro-balance {
    background: #f3f8fc;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(255, 120, 70, 0.25);
    color: #065cda;
  }

  .account-det-wallet-pro-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .account-det-stat-box {
    background: white;
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  }

  .account-det-stat-label {
    font-size: 13px;
    color: #777;
  }

  .account-det-stat-value {
    margin-top: 5px;
    font-size: 18px;
    color: #333;
    font-weight: 700;
  }

  @media (max-width: 380px) {
    .account-det-wallet-pro-actions {
      flex-wrap: wrap;
    }
    .account-det-wallet-pro-actions .account-det-btn-image {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

  @supports not (aspect-ratio: 1 / 1) {
    .account-det-btn-image {
      position: relative;
      height: auto;
    }
    .account-det-btn-image::before {
      content: "";
      display: block;
      width: 100%;
      padding-top: calc(100% * (5 / 16));
    }
  }

  .account-det-pro-btn {
    flex: 1;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .account-det-pro-deposit {
    background: linear-gradient(90deg, #ffd0d0, #ffb7b7);
    color: #b30000;
  }

  .account-det-pro-withdraw {
    background: linear-gradient(90deg, #d7e9ff, #bed8ff);
    color: #003d82;
  }

  .account-det-wallet-pro-links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 8px;
  }

  .account-det-wallet-pro-links button {
    background: none;
    border: 0;
    padding: 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font: inherit;
  }

  .account-det-wallet-pro-links button:hover {
    color: #ff5c2d;
    text-decoration: underline;
  }

  .account-det-menu-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .account-det-btn-image {
    display: block;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 5;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    border-radius: 12px;
    padding: 0;
  }

  .account-det-wallet-pro-actions {
    display: flex;
    gap: 14px;
  }

  .account-det-wallet-pro-actions .account-det-btn-image {
    flex: 1 1 0;
  }

  .account-det-recharge-btn {
    background-image: image-set(
      url('../images/web_invite/web-recharge.svg') 1x,
      url('../images/web_invite/web-recharge.svg') 2x
    );
  }

  .account-det-withdraw-btn {
    background-image: image-set(
      url('../images/web_invite/web-withdraw.svg') 1x,
      url('../images/web_invite/web-withdraw.svg') 2x
    );
  }
  /* Wallet split cards */
.account-det-wallet-card-summary {
  margin: 16px;
  width: calc(100% - 32px);
  background: linear-gradient(135deg, #0042a4, #1754ac, #2596be);
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.account-det-wallet-card-details {
  margin: 16px;
  width: calc(100% - 32px);
  background: #ffffff;
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-det-wallet-card-details .account-det-stat-box {
  background: #f8f8f8;
  box-shadow: none;
  border: 1px solid #eee;
}
