
:root {
    --bg: #0d0918;
    --panel: #171126;
    --panel-light: #211936;
    --border: #302447;
    --purple: #9b72ff;
    --purple-light: #b69aff;
    --text: #f7f4ff;
    --muted: #a49bb7;
    --green: #4ade80;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
}

a {
    color: var(--purple-light);
    text-decoration: none;
}

.navbar {
    min-height: 76px;
    padding: 15px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #100b1c;
    flex-wrap: wrap;
    gap: 15px;
}

.brand {
    color: white;
    font-size: 21px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #9b72ff, #6537ce);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.navbar nav a,
.nav-logout {
    color: #d1c9e1;
    font-size: 14px;
}

.nav-logout {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.inline-form {
    display: inline;
}

.nav-button,
.primary-button {
    background: linear-gradient(135deg, #a47bff, #7548dc);
    color: white !important;
    border: 0;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.main-container {
    width: min(1180px, 90%);
    margin: auto;
    min-height: 75vh;
    padding: 45px 0;
}

.hero {
    padding: 100px 20px;
    text-align: center;
}

.hero-tag {
    color: var(--purple-light);
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.12;
    margin: 0;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--purple-light);
}

.hero p {
    color: var(--muted);
    max-width: 590px;
    margin: 25px auto;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.secondary-button {
    border: 1px solid var(--border);
    padding: 13px 22px;
    border-radius: 10px;
    color: white;
}

.features,
.dashboard-actions,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.feature-card,
.action-card,
.stat-card,
.auth-card,
.empty-state {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}

.feature-card p,
.action-card p,
.muted {
    color: var(--muted);
    line-height: 1.7;
}

.feature-icon {
    color: var(--purple-light);
    font-size: 24px;
    font-weight: 800;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    padding: 35px 0;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 35px;
}

.auth-card h2 {
    font-size: 30px;
    margin: 5px 0;
}

.form-group {
    margin: 20px 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 9px;
    color: #d9d0e8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: #100b1c;
    color: white;
    outline: none;
    font-size: 14px;
}

.form-group input:focus {
    border-color: var(--purple);
}

.form-group ul {
    color: var(--muted);
    font-size: 12px;
}

.full-width {
    width: 100%;
    font-size: 15px;
    margin-top: 10px;
}

.auth-bottom {
    margin-top: 25px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.error {
    display: block;
    color: #ff8585;
    font-size: 12px;
    margin-top: 7px;
}

.help-text {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}

.balance-card {
    padding: 35px;
    border-radius: 18px;
    background: linear-gradient(120deg, #40236f, #20133c);
    border: 1px solid #6748a1;
    margin: 30px 0;
}

.balance-card p,
.balance-card span {
    color: #d4c4f4;
}

.balance-card h1 {
    font-size: 46px;
    margin: 15px 0;
}

.coming-soon {
    font-size: 12px;
    color: var(--purple-light);
}

.transaction-section {
    margin-top: 45px;
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

th, td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 13px;
}

th {
    color: var(--purple-light);
    background: var(--panel);
}

td {
    color: #ddd5eb;
}

.empty-state {
    text-align: center;
    color: var(--muted);
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card h2 {
    color: var(--purple-light);
}

.stat-card p {
    color: var(--muted);
}

.notice {
    background: var(--panel-light);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 9px;
    margin-bottom: 20px;
}

.footer {
    padding: 25px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 750px) {
    .features,
    .dashboard-actions,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 15px 5%;
    }

    .navbar nav {
        gap: 13px;
    }

    .hero {
        padding: 65px 5px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .main-container {
        width: 92%;
    }

    .auth-card {
        padding: 24px;
    }
}


/* Authentication pages */

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 38px;
    background: #181126;
    border: 1px solid #352548;
    border-radius: 18px;
    box-shadow: 0 20px 60px #0006;
}

.auth-heading {
    margin-bottom: 30px;
}

.auth-heading h1 {
    font-size: 30px;
    margin: 14px 0 10px;
}

.auth-heading p {
    color: #a99bbd;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #ded3ef;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    background: #100b1c;
    color: white;
    border: 1px solid #49345f;
    border-radius: 9px;
    outline: none;
}

.form-group input:focus {
    border-color: #a66bff;
    box-shadow: 0 0 0 2px #9255ed30;
}

.full-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #aaa0ba;
    font-size: 14px;
}

.auth-footer a {
    color: #bd91ff;
    text-decoration: none;
}

.error {
    display: block;
    color: #ff8585;
    margin-top: 7px;
    font-size: 12px;
}

@media(max-width: 550px) {
    .auth-card {
        padding: 25px 20px;
    }
}








/* Customer wallet dashboard */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.dashboard-header h1 {
    font-size: 32px;
    margin: 12px 0;
}

.dashboard-header p,
.section-heading p {
    color: #a99bbd;
}

.account-status {
    color: #72dfa9;
    font-size: 13px;
    background: #183126;
    padding: 10px 15px;
    border-radius: 30px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #72dfa9;
    border-radius: 50%;
    margin-right: 7px;
}

.balance-card {
    padding: 35px;
    border: 1px solid #68458f;
    border-radius: 18px;
    background: linear-gradient(130deg, #382052, #1b112c);
    box-shadow: 0 20px 50px #0005;
}

.balance-top {
    display: flex;
    justify-content: space-between;
    color: #d2c3e7;
}

.balance-label {
    font-size: 11px;
    letter-spacing: 2px;
}

.balance-amount {
    font-size: 48px;
    font-weight: bold;
    margin: 22px 0 10px;
}

.balance-amount small {
    font-size: 15px;
    color: #c5b3df;
}

.balance-card > p {
    color: #c1b3d3;
    font-size: 13px;
}

.wallet-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.wallet-action {
    padding: 13px 22px;
    border-radius: 9px;
    font-weight: bold;
    opacity: 0.7;
    cursor: not-allowed;
}

.primary-action {
    background: #a56aff;
    color: white;
    border: none;
}

.secondary-action {
    background: transparent;
    color: white;
    border: 1px solid #b79bd5;
}

.coming-soon {
    display: block;
    margin-top: 14px;
    color: #b8a8ca;
}

.wallet-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0 40px;
}

.summary-card {
    background: #181126;
    border: 1px solid #302340;
    border-radius: 13px;
    padding: 22px;
    min-width: 0;
}

.summary-card span,
.summary-card small {
    display: block;
    color: #a99bbd;
    font-size: 12px;
}

.summary-card h3 {
    margin: 14px 0;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.transactions-section {
    margin-top: 35px;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin-bottom: 8px;
}

.transaction-table-wrapper {
    overflow-x: auto;
    background: #181126;
    border: 1px solid #302340;
    border-radius: 14px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.transaction-table th,
.transaction-table td {
    text-align: left;
    padding: 17px;
    border-bottom: 1px solid #302340;
    font-size: 13px;
}

.transaction-table th {
    color: #bba8d4;
    background: #20162e;
}

.transaction-table td {
    color: #e4dced;
}

.transaction-table td small {
    display: block;
    color: #9f91b1;
    margin-top: 6px;
}

.transaction-amount {
    font-weight: bold;
}

.transaction-status {
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    background: #302340;
}

.status-completed {
    color: #75e1a7;
    background: #173326;
}

.status-pending {
    color: #ffd27b;
    background: #392d1b;
}

.status-failed,
.status-reversed {
    color: #ff9292;
    background: #3c2029;
}

.empty-transactions {
    text-align: center !important;
    padding: 45px !important;
}

.empty-transactions strong {
    display: block;
    margin: 10px;
}

.empty-transactions p {
    color: #a99bbd;
}

.empty-icon {
    font-size: 30px;
    color: #b78aff;
}

@media(max-width: 750px) {
    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .wallet-summary {
        grid-template-columns: 1fr;
    }

    .balance-amount {
        font-size: 36px;
    }

    .wallet-actions {
        flex-wrap: wrap;
    }
}



.deposit-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #302340;
    font-size: 14px;
}

.deposit-detail-row span {
    color: #a99bbd;
}

.deposit-detail-row strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.pending-text {
    color: #ffd27b;
}

.deposit-notice {
    margin: 22px 0;
    padding: 15px;
    background: #302817;
    border: 1px solid #66502a;
    border-radius: 9px;
    color: #f4d99c;
    font-size: 13px;
    line-height: 1.7;
}

a.wallet-action {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
}



/* Public Deposit Payment Page */

.deposit-page {
    max-width: 650px;
    margin: 45px auto;
    padding: 20px;
}

.deposit-card {
    background: #191128;
    border: 1px solid #34264a;
    border-radius: 18px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.deposit-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.deposit-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #b9a7d7;
    font-weight: 700;
}

.deposit-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.deposit-status.pending {
    background: #493817;
    color: #ffd477;
}

.deposit-status.paid {
    background: #17452e;
    color: #8af0b0;
}

.deposit-status.expired,
.deposit-status.failed {
    background: #4b202b;
    color: #ff9ca9;
}

.deposit-card h1 {
    font-size: 27px;
    margin: 25px 0 5px;
}

.deposit-subtitle,
.public-payment-section p {
    color: #b8adc8;
    line-height: 1.6;
    font-size: 14px;
}

.deposit-amount {
    font-size: 38px;
    font-weight: 800;
    margin: 28px 0;
    color: #c8a4ff;
}

.deposit-amount span {
    font-size: 14px;
    color: #b8adc8;
}

.deposit-information {
    border-top: 1px solid #382a4b;
    border-bottom: 1px solid #382a4b;
    padding: 15px 0;
}

.deposit-info-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    font-size: 13px;
}

.deposit-info-row span {
    color: #a99bbd;
}

.deposit-info-row strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.public-payment-section {
    margin-top: 28px;
}

.public-payment-section h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.payment-link-wrapper {
    display: flex;
    gap: 10px;
    margin: 18px 0;
}

.payment-link-wrapper input {
    flex: 1;
    min-width: 0;
    background: #100b1c;
    border: 1px solid #49375e;
    border-radius: 9px;
    color: #eee4ff;
    padding: 12px;
    font-size: 12px;
}

.copy-link-button,
.pay-now-button {
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

.copy-link-button {
    background: #7650b5;
    color: white;
}

.copy-link-button:hover {
    background: #9067d2;
}

.pay-now-button {
    width: 100%;
    background: #7650b5;
    color: white;
    font-size: 16px;
    margin-top: 8px;
}

.pay-now-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gateway-notice,
.payment-success-notice {
    margin-top: 16px;
    padding: 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
}

.gateway-notice {
    background: #30243b;
    color: #d5c5e9;
}

.payment-success-notice {
    background: #17452e;
    color: #a2f2bc;
}

@media (max-width: 500px) {
    .deposit-card {
        padding: 20px;
    }

    .payment-link-wrapper {
        flex-direction: column;
    }

    .copy-link-button {
        width: 100%;
    }

    .deposit-info-row {
        flex-direction: column;
        gap: 5px;
    }

    .deposit-info-row strong {
        text-align: left;
    }
}







/* Five Currency Wallet Dashboard */

.currency-wallet-section {
    margin: 30px 0;
}

.currency-wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.currency-wallet-card {
    background: #191128;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 22px;
    min-width: 0;
}

.currency-wallet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #c9bfdc;
    font-size: 13px;
}

.currency-wallet-balance {
    font-size: 27px;
    font-weight: 700;
    margin: 24px 0;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.currency-wallet-balance small {
    font-size: 13px;
    color: #b8a6d8;
    font-weight: 500;
}

.currency-wallet-card .wallet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

@media (max-width: 600px) {
    .currency-wallet-grid {
        grid-template-columns: 1fr;
    }

    .currency-wallet-balance {
        font-size: 25px;
    }
}


.invoice-info {
    background: #191128;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    padding: 18px;
    margin: 25px 0;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.invoice-row:last-child {
    border-bottom: none;
}

.invoice-row span {
    color: #b8a9cc;
    font-size: 13px;
}

.invoice-row strong {
    color: #fff;
    font-size: 13px;
    text-align: right;
    overflow-wrap: anywhere;
}

.pending-status {
    color: #f5bd58 !important;
}

.invoice-link-group {
    margin-top: 20px;
}

.invoice-link-group input {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.invoice-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 9px;
    color: #fff;
    background: #292039;
}

.copy-message {
    color: #7ee0a2;
    font-size: 13px;
    text-align: center;
}







.gateway-notice {
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(245, 189, 88, 0.10);
    border: 1px solid rgba(245, 189, 88, 0.25);
    color: #f5bd58;
    font-size: 13px;
    line-height: 1.6;
}

.invoice-success h2 {
    color: #7ee0a2;
    margin-bottom: 10px;
}

.invoice-success p {
    line-height: 1.6;
}
