:root {
    --primary-gold: #f5a623;
    --dark-blue: #061527;
    --card-bg: #f5a623;
    --text-dark: #000;
    --text-light: #fff;
    --border-color: rgba(255, 255, 255, 0.2);
}

* {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
    color: inherit;
    outline: none;
}

#swal2-title {
    font-size: x-large;
}

body {
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.04) 0,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px,
            transparent 14px),
        #020617;
    display: flex;
    justify-content: center;
    color: #fff;
}

.app-container {
    width: 100%;
    max-width: 425px;
    min-height: 100vh;
    padding-bottom: 70px;
    background: radial-gradient(circle at top, #0c2340, #061527);
    /* border: 1px solid #1c2f45; */
    position: relative;
}

/* Header */
.top-header {
    display: flex;
    align-items: center;
    padding: 14px;
    gap: 10px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: radial-gradient(circle at top, #0c2340, #061527);
    z-index: 99;
}

.header-parent.logo {
    width: 85px;
    height: 85px;
}

.header-parent.logo img {
    width: 100%;
    height: auto;
}

.notification i {
    color: #ffa000;
    font-size: 18px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.title {
    text-align: center;
    flex: 1;
}

.title .small {
    display: block;
    font-size: 12px;
    color: #f59e0b;
}

.title .big {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #f59e0b;
}

/* Trades Bar */
.trade-bar {
    background: #f59e0b;
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    position: sticky;
    top: 113px;
    z-index: 99;
}

/* Premium Table System - Simple Bordered Style */
.premium-table {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    margin-bottom: 30px;
    background: transparent;
    border-radius: 0;
}

.p-table-header, .p-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    font-weight: 500;
}

.p-table-header div, .p-table-row div {
    padding: 15px 10px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.p-table-header {
    /* background: rgba(255, 255, 255, 0.1); */
    text-transform: uppercase;
    color: #fff;
}

.p-table-row div:first-child {
    justify-content: flex-start;
    padding-left: 15px;
}

.live-rates-container {
    padding: 15px;
    min-height: calc(100vh - 200px);
}

.text-center {
    text-align: center !important;
}

/* Table Header */
.table-head {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
    padding: 14px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.table-head span {
    text-align: center;
}

.table-head span:first-child {
    text-align: left;
}

/* Empty content area */
.empty {
    height: calc(100vh - 220px);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 425px;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 99;
}

.bottom-nav div {
    text-align: center;
    font-size: 11px;
    color: #fff;
}

.bottom-nav i {
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
}

.bottom-nav .active {
    color: #f59e0b;
}

/* Content */
.content {
    padding: 16px;
    /* font-size: 13px;
    line-height: 1.6; */
    color: #e6e6e6;
}

.content p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
}

/* Circular Progress */
.progress-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 20px;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        conic-gradient(#16a34a 0deg 230deg,
            #dc2626 230deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle::before {
    content: "";
    width: 110px;
    height: 110px;
    background: #020617;
    border-radius: 50%;
    position: absolute;
}

.percent {
    position: relative;
    font-size: 22px;
    font-weight: 700;
}

/* Buy Button */
.buy-btn {
    display: block;
    width: 80%;
    margin: 0 auto 14px;
    background: #f59e0b;
    color: #000;
    border: none;
    padding: 12px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

/* Hint text */
.hint {
    text-align: center;
    font-size: 12px;
    opacity: .9;
    margin-bottom: 20px;
}

/* Info */
.info {
    text-align: center;
    line-height: 1.9;
    font-size: 14px;
}

.info span {
    display: block;
}

/* Disclaimer */
.disclaimer {
    margin-top: 24px;
    text-align: center;
    font-size: 11px;
    opacity: .7;
    padding: 0 20px;
}

/* Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0px 14px;
}

/* Card */
.card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.3s;
}

.card a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Icon box */
.icon {
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f59e0b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
}

.card i,
.card span {
    color: #ffffff;
    text-decoration: none;
}

/* Text */
.card span {
    font-size: 14px;
    font-weight: 500;
}

/* Single card full width */
.full {
    grid-column: span 2;
}

/* Divider */
.divider {
    height: 3px;
    background: #f59e0b;
    margin: 12px 0;
}

/* Future cards */
.future-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.future-card {
    flex: 1;
    background: #f5a623;
    color: #000;
    border-radius: 12px;
    padding: 15px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.future-card h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.future-values {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 8px;
    gap: 5px;
}

.sub {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.8;
}

.spot-val {
    color: whitesmoke !important;
}

.none-val {
    color: #fff !important;
}

/* Spot cards */
.spot-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.spot-card {
    background: #f59e0b;
    color: #000;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.spot-card h4 {
    font-size: 12px;
    font-weight: 700;
}

.spot-card .value {
    font-size: 16px;
    font-weight: 800;
    margin: 4px 0;
}

.spot-card .range {
    font-size: 11px;
}

/* Table */
.table {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 10px;
    align-items: center;
}

.table-header {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

.table-row {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.table-row div:first-child {
    text-align: left;
}

.table-row div {
    text-align: center;
}

/* Footer strip */
.footer-strip {
    margin: 16px 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 12px;
}



.info-section {
    padding: 18px;
    color: #fff;
    font-size: 14px;
}

.section-title {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-row i {
    color: #f59e0b;
    font-size: 15px;
}

.address p,
.bank-details p {
    margin-bottom: 6px;
    line-height: 1.5;
}

.mt {
    margin-top: 20px;
}

.about-text {
    line-height: 1.6;
    opacity: 0.9;
}

/* Floating Action Buttons */
.fab {
    position: fixed;
    bottom: 75px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.fab.call {
    left: 15px;
    background: #f59e0b;
}

.fab.whatsapp {
    right: 15px;
    background: #25d366;
}

/* Form */
.login-form {
    padding: 20px 16px;
}

.input-box {
    width: 100%;
    background: #f2a100;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
}

.input-box::placeholder {
    color: #000;
    font-weight: bold;
}

.otp-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* Margin Card */
.margin-card {
    background: #f59e0b;
    color: #000;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

/* Message Card */
.message-card {
    border-radius: 10px;
    overflow: hidden;
}

.msg-date {
    background: #f59e0b;
    color: #000;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 8px;
}

.msg-text {
    background: #f59e0b;
    color: #000;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, .2);
}

ul.designed-for {
    padding: 0 20px 20px 30px;
    list-style: circle;
}

.iti {
    width: 100%;
    margin-bottom: 10px;
}

.iti__country-name,
.iti__dial-code,
.iti--separate-dial-code .iti__selected-dial-code {
    color: initial;
}

:disabled {
    color: #4b4b4b;
    opacity: 0.6;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

[readonly], 
.disabled {
    opacity: 0.7 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trade-content {
    padding: 20px 15px;
    min-height: calc(100vh - 200px);
}

.trade-table {
    width: 100%;
    border-collapse: collapse;
}

.trade-table thead tr {
    border-bottom: 2px solid #f5a623;
}

.trade-table th {
    padding: 12px 8px;
    text-align: left;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}

.trade-table th:not(:first-child) {
    text-align: center;
}

.trade-table td {
    padding: 15px 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.trade-table .text-center {
    text-align: center;
}

.no-data {
    padding: 40px 0;
    opacity: 0.5;
    font-style: italic;
    text-align: center;
}

/* Carousel Widget Styles */
.crousel-widget {
    /* margin: 15px auto; */
    width: 100%;
    max-width: 100%;
    /* border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
    /* background: rgba(255, 255, 255, 0.02); */
}

.crousel {
    width: 100%;
    margin: 0;
}

.crousel .slide {
    position: relative;
    outline: none;
}

.crousel .slide img {
    width: 100%;
    height: 262px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.crousel .slick-dots {
    bottom: 10px;
}

.crousel .slick-dots li button:before {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    opacity: 0.5;
}

.crousel .slick-dots li.slick-active button:before {
    color: #f59e0b;
    font-size: 12px;
    opacity: 1;
}

/* Deposit Styles */
.deposit-container {
    padding: 15px;
    max-width: 425px;
    margin: 0 auto;
    color: #fff;
}

.form-group {
    margin-bottom: 24px;
}

/* Method Pills Styling */
.method-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.method-pill {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
    white-space: nowrap;
}

.method-pill.active {
    background: #f59e0b; /* Bright Yellow */
    border-color: #f59e0b;
    color: #000;
}

/* Special WhatsApp Pill */
.method-pill[data-name*="whatsapp"], 
.method-pill[data-name*="WHATSAPP"] {
    background: #00a859;
    border-color: #00a859;
    color: #fff;
}

.method-pill[data-name*="whatsapp"].active, 
.method-pill[data-name*="WHATSAPP"].active {
    background: #008f4c;
    border-color: #008f4c;
}

/* Amount Presets Grid */
.amount-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-pill {
    background: #f59e0b; /* Dark Teal/Green */
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.amount-pill:active {
    opacity: 0.7;
}

/* Note Styling */
.deposit-note {
    color: #f59e0b; /* Orange */
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Custom Input Styling */
.custom-input-box {
    position: relative;
    margin-bottom: 25px;
}

.input-label-top {
    position: absolute;
    top: -20px;
    left: -5px;
    padding: 0 10px;
    color: #fff;
    font-size: 13px;
    z-index: 1;
    border-radius: 50px;
}

.input-main-pill {
    background: #f59e0b;
    border-radius: 5px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.input-main-pill input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    outline: none;
}

.input-main-pill input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.clear-text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* Next Button */
.next-btn {
    width: 60%;
    background: #4e342e; /* Dark Brownish */
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    transition: all 0.3s;
}

.next-btn.active {
    background: #f59e0b;
    color: #000;
    border-color: #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.active-preset {
    background: #f59e0b !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(245, 245, 0, 0.3);
}

/* Hide number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Payment Details Box */
.payment-details-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    margin-top: 20px;
    text-align: center;
    display: none;
}

.qr-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-wrapper img {
    display: block;
    width: 180px;
    height: 180px;
}

.upi-id-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed #f59e0b;
    padding: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.p-input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 14px 20px;
    color: #fff;
    margin-bottom: 15px;
    outline: none;
}
/* Welcome Popup Styles */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.welcome-popup-box {
    background: radial-gradient(circle at top right, #1e3a5f, #0c2340);
    border: 1px solid #f59e0b;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.2);
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.welcome-popup-box.show {
    transform: scale(1);
    opacity: 1;
}

.welcome-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.welcome-popup-close:hover {
    opacity: 1;
    color: #dc2626;
}

.welcome-popup-icon {
    font-size: 50px;
    color: #f59e0b;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.welcome-popup-title {
    color: #f59e0b;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.welcome-popup-text {
    color: #e6e6e6;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
    word-break: break-word;
}

/* CKEditor Content Fix */
.welcome-popup-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.welcome-popup-text ul,
.welcome-popup-text ol {
    padding-left: 22px;
    margin-bottom: 15px;
}

.welcome-popup-text li {
    margin-bottom: 8px;
}

.welcome-popup-text h1,
.welcome-popup-text h2,
.welcome-popup-text h3,
.welcome-popup-text h4,
.welcome-popup-text h5,
.welcome-popup-text h6 {
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
}

.welcome-popup-text strong,
.welcome-popup-text b {
    font-weight: 700;
}

.welcome-popup-text a {
    color: #f59e0b;
    text-decoration: underline;
}

.welcome-popup-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.welcome-popup-text table td,
.welcome-popup-text table th {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px;
}

.welcome-popup-btn {
    background: #f59e0b;
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.welcome-popup-btn:hover {
    background: #eab308;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}
/* Referral Page Styles */
.referral-top-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.referral-top-card .stat-col {
    width: 100%;
}
.referral-top-card .stat-title {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.referral-top-card .stat-title i {
    color: #f59e0b;
}
.referral-top-card .stat-value {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.referral-transfer-btn {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.referral-transfer-btn:active {
    transform: scale(0.98);
}
.referral-transfer-btn i {
    margin-right: 8px;
}

.referral-link-box {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.referral-link-box .link-icon {
    color: #94a3b8;
    margin-right: 12px;
}
.referral-link-box .link-text {
    flex: 1;
    color: #cbd5e1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.referral-link-box .copy-btn {
    color: #f59e0b; /* Golden accent for copy */
    font-size: 18px;
    cursor: pointer;
    padding-left: 10px;
}

.referral-stats-container {
    /* background: #0f172a; */
    /* border-radius: 8px; */
    /* padding: 15px; */
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.referral-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ref-stat-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.ref-stat-box .ref-stat-title {
    color: #cbd5e1;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.ref-stat-box .ref-stat-title i {
    color: #cbd5e1;
}
.ref-stat-box .ref-stat-val {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

/* ============================================================
   GOLD WITHDRAWAL DASHBOARD  (prefix: gwd-)
   ============================================================ */

/* ── Wrapper ── */
.gwd-wrapper {
    padding: 0 14px 30px;
}

/* ── Page Header ── */
.gwd-page-header {
    padding: 18px 0 10px;
    text-align: center;
}
.gwd-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: .03em;
    margin-bottom: 5px;
}
.gwd-page-sub {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

/* ── Summary Bar ── */
.gwd-summary-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1b2a3a 0%, #0f1e2e 100%);
    border: 1px solid rgba(245,158,11,.2);
    border-radius: 14px;
    padding: 16px 8px;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.gwd-summary-item {
    flex: 1;
    text-align: center;
}
.gwd-summary-val {
    font-size: 17px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 3px;
}
.gwd-val-hold  { color: #f97316; }
.gwd-val-avail { color: #34d399; }
.gwd-summary-label {
    font-size: 10px;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.gwd-summary-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.08);
}

/* ── Section Label ── */
.gwd-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.5);
    margin: 20px 0 10px;
}
.gwd-section-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.gwd-dot-principal { background: #f59e0b; }
.gwd-dot-interest  { background: #34d399; }
.gwd-dot-referral  { background: #a78bfa; }
.gwd-dot-form      { background: #818cf8; }
.gwd-dot-history   { background: #60a5fa; }

/* ── Balance Cards ── */
.gwd-balance-card {
    background: linear-gradient(145deg, #131f30 0%, #0c1929 100%);
    border-radius: 16px;
    padding: 18px 16px 14px;
    margin-bottom: 6px;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    transition: transform .2s;
}
.gwd-balance-card:active { transform: scale(.99); }
.gwd-card-principal { border-top: 2px solid #f59e0b; }
.gwd-card-interest  { border-top: 2px solid #34d399; }
.gwd-card-referral  { border-top: 2px solid #a78bfa; }

.gwd-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.gwd-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #b8831a, #f59e0b);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.gwd-card-icon--interest {
    background: linear-gradient(135deg, #059669, #34d399);
}
.gwd-card-icon--referral {
    background: linear-gradient(135deg, #6d28d9, #a78bfa);
}
.gwd-card-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.gwd-card-total-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(245,158,11,.12);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 50px;
    padding: 3px 10px;
}
.gwd-badge--interest {
    background: rgba(52,211,153,.12);
    color: #34d399;
    border-color: rgba(52,211,153,.25);
}
.gwd-badge--referral {
    background: rgba(167,139,250,.12);
    color: #a78bfa;
    border-color: rgba(167,139,250,.25);
}

/* Stats row */
.gwd-card-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.gwd-stat {
    background: rgba(255,255,255,.04);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.05);
}
.gwd-stat-val {
    font-size: 15px;
    font-weight: 800;
    color: #f0f0f0;
    margin-bottom: 3px;
}
.gwd-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.gwd-stat--hold  .gwd-stat-val { color: #f97316; }
.gwd-stat--avail .gwd-stat-val { color: #34d399; }
.gwd-stat-val--referral        { color: #a78bfa; }
.gwd-stat--referral-avail .gwd-stat-val { color: #c4b5fd; }

/* 2-column stats variant (no hold column) */
.gwd-card-stats--2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Progress bar */
.gwd-progress-wrap { margin-top: 2px; }
.gwd-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.gwd-prog-label {
    font-size: 10px;
    font-weight: 600;
}
.gwd-prog-label--hold           { color: #f97316; }
.gwd-prog-label--avail          { color: #34d399; }
.gwd-prog-label--referral-avail { color: #a78bfa; }
.gwd-progress-bar {
    display: flex;
    height: 7px;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    gap: 1px;
}
.gwd-progress-hold {
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 50px 0 0 50px;
    transition: width .6s ease;
}
.gwd-progress-avail {
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 0 50px 50px 0;
    transition: width .6s ease;
}
.gwd-progress-referral {
    background: linear-gradient(90deg, #6d28d9, #a78bfa);
    border-radius: 50px;
    transition: width .6s ease;
}

/* ── Withdrawal Form Card ── */
.gwd-form-card {
    background: linear-gradient(145deg, #131f30 0%, #0c1929 100%);
    border-radius: 16px;
    padding: 20px 16px;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    border-top: 2px solid #818cf8;
    margin-bottom: 6px;
}

/* Field */
.gwd-field {
    margin-bottom: 18px;
}
.gwd-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.gwd-optional {
    font-weight: 400;
    text-transform: none;
    color: rgba(255,255,255,.3);
    letter-spacing: 0;
}

/* Select */
.gwd-select-wrap {
    position: relative;
}
.gwd-select {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 38px 12px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}
.gwd-input:focus:not([readonly]:not([disabled])) {
border-color: #f59e0b;
}
.gwd-select option {
    background: #0c1929;
    color: #fff;
}
.gwd-select-arrow {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.35);
    font-size: 11px;
    pointer-events: none;
}

/* Available hint */
.gwd-avail-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(52,211,153,.08);
    border: 1px solid rgba(52,211,153,.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #34d399;
    margin-top: -10px;
    margin-bottom: 18px;
}
.gwd-hint-icon { font-size: 8px; }

/* Inputs */
.gwd-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.gwd-input-prefix {
    position: absolute;
    left: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #f59e0b;
    pointer-events: none;
    letter-spacing: .04em;
}
.gwd-input {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 14px 12px 44px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s;
}
.gwd-input--plain {
    padding-left: 14px;
}

.gwd-input::placeholder {
    color: rgba(255,255,255,.25);
    font-weight: 400;
}

/* Textarea */
.gwd-textarea {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    resize: none;
    font-family: inherit;
    transition: border-color .2s;
}
.gwd-textarea:focus { border-color: #f59e0b; }
.gwd-textarea::placeholder { color: rgba(255,255,255,.25); }

/* Field error */
.gwd-field-error {
    font-size: 11px;
    color: #f87171;
    margin-top: 5px;
    min-height: 15px;
    font-weight: 600;
}

/* Checkbox */
.gwd-checkbox-wrap {
    margin-bottom: 20px;
}
.gwd-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
    user-select: none;
}
.gwd-checkbox {
    display: none;
}
.gwd-checkbox-custom {
    width: 20px; height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all .2s;
}
.gwd-checkbox:checked + .gwd-checkbox-custom {
    background: #f59e0b;
    border-color: #f59e0b;
}
.gwd-checkbox:checked + .gwd-checkbox-custom::after {
    content: '✓';
    color: #000;
    font-size: 12px;
    font-weight: 800;
}
.gwd-checkbox-text {
    flex: 1;
}

/* Submit button */
.gwd-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #b8831a 0%, #f59e0b 60%, #fbbf24 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 6px 20px rgba(245,158,11,.3);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.gwd-submit-btn:active { transform: scale(.98); }
.gwd-submit-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.gwd-spinner {
    width: 18px; height: 18px;
    border: 3px solid rgba(0,0,0,.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: gwd-spin .7s linear infinite;
}
@keyframes gwd-spin {
    to { transform: rotate(360deg); }
}

/* ── History Table Card ── */
.gwd-history-card {
    background: linear-gradient(145deg, #131f30 0%, #0c1929 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    border-top: 2px solid #60a5fa;
}
.gwd-history-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.gwd-history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 340px;
}
.gwd-history-table thead tr {
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.gwd-history-table th {
    padding: 12px 10px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
    white-space: nowrap;
}
.gwd-history-table td {
    padding: 13px 10px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(255,255,255,.04);
    white-space: nowrap;
}
.gwd-history-table tr:last-child td { border-bottom: none; }
.gwd-history-table tr:hover td {
    background: rgba(255,255,255,.02);
}
.gwd-amt {
    font-weight: 700;
    color: #f0f0f0 !important;
}

/* Type badges */
.gwd-type-badge {
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 9px;
    white-space: nowrap;
}
.gwd-type--principal {
    background: rgba(245,158,11,.12);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,.25);
}
.gwd-type--interest {
    background: rgba(52,211,153,.12);
    color: #34d399;
    border: 1px solid rgba(52,211,153,.25);
}

/* Status badges */
.gwd-status-badge {
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 10px;
    white-space: nowrap;
}
.gwd-status--pending {
    background: rgba(251,191,36,.12);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,.25);
}
.gwd-status--approved {
    background: rgba(52,211,153,.12);
    color: #34d399;
    border: 1px solid rgba(52,211,153,.25);
}
.gwd-status--rejected {
    background: rgba(248,113,113,.12);
    color: #f87171;
    border: 1px solid rgba(248,113,113,.25);
}

/* ── Success Popup ── */
.gwd-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,.85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.gwd-popup-box {
    background: radial-gradient(circle at top right, #1b2f47, #0c1929);
    border: 1px solid #f59e0b;
    border-radius: 20px;
    width: 88%;
    max-width: 360px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 20px rgba(245,158,11,.15);
    transform: scale(.88);
    opacity: 0;
    transition: all .3s cubic-bezier(.175,.885,.32,1.275);
}
.gwd-popup-box.gwd-popup-show {
    transform: scale(1);
    opacity: 1;
}
.gwd-popup-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #065f46, #34d399);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #fff;
    margin: 0 auto 18px;
    box-shadow: 0 0 20px rgba(52,211,153,.35);
}
.gwd-popup-title {
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 10px;
}
.gwd-popup-msg {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 22px;
}
.gwd-popup-btn {
    background: linear-gradient(135deg, #b8831a, #f59e0b);
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 13px 36px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity .2s;
}
.gwd-popup-btn:active { opacity: .8; }

.status-success,
.status-rejected,
.status-failed,
.status-processing,
.status-pending{
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-success{
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.status-rejected{
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.status-failed{
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.35);
}

.status-processing{
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.status-pending{
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Professional CSS-only Tooltip System */
.status-badge {
    position: relative !important;
}

.tooltip-trigger {
    color: currentColor;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 10px;
    margin-left: 2px;
}

.tooltip-trigger:hover {
    opacity: 1;
}

.tooltip-box {
    visibility: hidden;
    width: 180px;
    background-color: #0f172a;
    color: #f87171;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 100;
    bottom: 130%; /* Position above badge */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none; /* Avoid blocking hover */
}

.tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.status-badge:hover .tooltip-box {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Chart Section */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.chart-controls {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px;
    border-radius: 6px;
    gap: 2px;
}

.time-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.time-btn.active {
    background: #f59e0b;
    color: #000;
}

.chart-select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    outline: none;
}

.chart {
    min-height: 300px;
}

/* Professional Continuous Pulse for Live Data */
@keyframes liveBreathing {
    0% { opacity: 1; text-shadow: 0 0 0px transparent; }
    50% { opacity: 0.8; text-shadow: 0 0 5px rgba(245, 158, 11, 0.3); }
    100% { opacity: 1; text-shadow: 0 0 0px transparent; }
}

.spot-val, .none-val {
    animation: liveBreathing 4s infinite ease-in-out;
    display: inline-block;
}

/* Policy & Terms Sections */
.policy-container {
    padding: 20px;
    color: #fff;
}
.policy-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.policy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}
.policy-header i {
    color: #f59e0b;
    font-size: 24px;
}
.policy-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f59e0b;
}
.policy-body p {
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 15px;
}
.policy-list {
    list-style: none;
    padding: 0;
}
.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #e2e8f0;
}
.policy-list li i {
    color: #10b981;
    margin-top: 4px;
}
.threshold-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Custom Modern Modal System */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}

.custom-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.custom-modal-dialog {
    width: 100%;
    max-width: 380px; /* Fits nicely inside the 425px app container */
    background: radial-gradient(circle at top, #0f2540, #061527);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.custom-modal-overlay.active .custom-modal-dialog {
    transform: scale(1);
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.custom-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.custom-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.custom-modal-close:hover {
    color: #f59e0b;
}

.custom-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 166, 35, 0.3) transparent;
}

/* Custom Modal Scrollbar */
.custom-modal-body::-webkit-scrollbar {
    width: 6px;
}
.custom-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.custom-modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(245, 166, 35, 0.3);
    border-radius: 3px;
}

/* Gold Breakdown Cards Styling */
.breakdown-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.breakdown-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 166, 35, 0.4);
}

.breakdown-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.breakdown-gold-val {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
}

.breakdown-status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-status-badge.status-hold {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.breakdown-status-badge.status-available {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.breakdown-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.breakdown-detail-row:last-child {
    margin-bottom: 0;
}

.breakdown-detail-label {
    font-weight: 500;
}

.breakdown-detail-val {
    color: #fff;
    font-weight: 600;
}

.custom-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.custom-modal-loading .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(245, 166, 35, 0.1);
    border-top: 3px solid #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




