/* ===== Deposit and Withdrawal Page Upgrade ===== */

/* ===== Deposit and Withdrawal Page Upgrade ===== */

.ssl-mini-steps {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.ssl-mini-steps div {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem;
    border-radius: 1rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
}

.ssl-mini-steps strong {
    display: inline-flex;
    min-width: 42px;
    height: 34px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d6bff, #6aa9ff);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.ssl-mini-steps span {
    color: var(--ssl-white);
    line-height: 1.5;
}

.ssl-address-list {
    display: grid;
    gap: 0.85rem;
}

.ssl-address-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
}

.ssl-address-item strong {
    display: block;
    color: var(--ssl-white);
}

.ssl-address-item small {
    display: block;
    color: var(--ssl-muted);
    margin-top: 0.15rem;
}

.ssl-address-item code {
    display: block;
    color: #4d94ff;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    text-align: left;
}

html[data-theme="dark"] .ssl-address-item code {
    color: #9ccaff;
}

html[data-theme="light"] .ssl-address-item,
html[data-theme="light"] .ssl-mini-steps div {
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.12);
}

html[data-theme="light"] .ssl-address-item strong,
html[data-theme="light"] .ssl-mini-steps span {
    color: #071B3A;
}

html[data-theme="light"] .ssl-address-item small {
    color: #4b5b73;
}

html[data-theme="light"] .ssl-card {
    background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 767px) {
    .ssl-address-item {
        grid-template-columns: 1fr;
    }
}
/* ===== Premium Admin Dashboard ===== */

.admin-dashboard-page {
    position: relative;
}

.admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(29, 107, 255, 0.22), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--ssl-border);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.admin-hero h1 {
    font-weight: 850;
    letter-spacing: -0.03em;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-stat-card {
    min-height: 150px;
    padding: 1.35rem;
    border-radius: 1.3rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.admin-stat-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.admin-stat-card span {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.admin-stat-card h2 {
    font-size: 2.7rem;
    margin: 0.7rem 0 0;
    font-weight: 900;
}

.admin-stat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.16);
    position: relative;
    z-index: 2;
}

.admin-stat-blue {
    background: linear-gradient(135deg, #0d6efd, #104fb8);
}

.admin-stat-gold {
    background: linear-gradient(135deg, #f5a623, #a96500);
}

.admin-stat-purple {
    background: linear-gradient(135deg, #7b61ff, #4932b8);
}

.admin-stat-green {
    background: linear-gradient(135deg, #1dbf73, #087a47);
}

.admin-mini-card,
.admin-tools-panel,
.admin-data-card {
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    border-radius: 1.25rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
}

.admin-mini-card {
    padding: 1.1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-mini-card span {
    color: var(--ssl-muted);
    font-weight: 700;
}

.admin-mini-card strong {
    font-size: 1.45rem;
    color: var(--ssl-white);
}

.admin-tools-panel {
    padding: 1.5rem;
}

.admin-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.admin-tool-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--ssl-border);
    transition: all 0.2s ease;
}

.admin-tool-card:hover {
    transform: translateY(-4px);
    background: rgba(29, 107, 255, 0.14);
    border-color: rgba(156, 202, 255, 0.35);
}

.admin-tool-card span {
    font-size: 1.45rem;
}

.admin-tool-card strong {
    color: var(--ssl-white);
}

.admin-tool-card small {
    color: var(--ssl-muted);
    line-height: 1.4;
}

.admin-data-card {
    padding: 1.35rem;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.admin-card-header h3 {
    margin-bottom: 0.25rem;
}

.admin-card-header p {
    margin: 0;
    color: var(--ssl-muted);
}

.admin-card-header a {
    font-weight: 800;
    color: #7db6ff;
    white-space: nowrap;
}

.admin-table {
    color: var(--ssl-white);
    margin-bottom: 0;
}

.admin-table thead th {
    background: rgba(255, 255, 255, 0.07);
    color: var(--ssl-white);
    border-color: var(--ssl-border);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table tbody td {
    color: var(--ssl-white);
    border-color: var(--ssl-border);
    padding: 0.9rem 0.75rem;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: capitalize;
}

.admin-status-pending {
    color: #5d4300;
    background: #ffe8a3;
}

.admin-status-approved {
    color: #053b27;
    background: #a7f3d0;
}

.admin-status-completed {
    color: #073763;
    background: #bfdbfe;
}

.admin-status-rejected {
    color: #6b0712;
    background: #fecdd3;
}

.admin-empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--ssl-muted);
    border: 1px dashed var(--ssl-border);
    border-radius: 1rem;
}

html[data-theme="light"] .admin-tool-card {
    background: #ffffff;
}

html[data-theme="light"] .admin-table thead th {
    background: rgba(7, 27, 58, 0.08);
}

html[data-theme="light"] .admin-table,
html[data-theme="light"] .admin-table tbody td,
html[data-theme="light"] .admin-table thead th {
    color: #071B3A;
}

@media (max-width: 1199px) {
    .admin-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.35rem;
    }

    .admin-hero-actions {
        width: 100%;
    }

    .admin-hero-actions .btn {
        width: 100%;
    }

    .admin-tool-grid {
        grid-template-columns: 1fr;
    }

    .admin-card-header {
        flex-direction: column;
    }
}
/* ===== Admin Review Pages Upgrade ===== */

.admin-review-page {
    position: relative;
}

.admin-review-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.8rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(29, 107, 255, 0.14), transparent 16rem),
        var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.admin-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ssl-review-warning {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.admin-review-card {
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    border-radius: 1.35rem;
    padding: 1.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
}

.admin-chip-id {
    background: #1d6bff;
    color: #ffffff;
}

.admin-chip-coin {
    background: rgba(120, 130, 150, 0.16);
    color: var(--ssl-white);
    border-color: var(--ssl-border);
}

.admin-chip-pending {
    background: #ffe8a3;
    color: #6a4b00;
}

.admin-chip-approved {
    background: #c9f7dc;
    color: #0f5132;
}

.admin-chip-completed {
    background: #d1e7ff;
    color: #084298;
}

.admin-chip-rejected {
    background: #ffd1d8;
    color: #842029;
}

.admin-review-amount {
    font-size: 2rem;
    font-weight: 850;
    color: var(--ssl-white);
    letter-spacing: -0.03em;
}

.admin-info-block {
    display: block;
}

.admin-info-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.55rem;
    color: var(--ssl-muted);
}

.admin-info-value {
    color: var(--ssl-white);
    line-height: 1.6;
}

.admin-subtle-text {
    color: var(--ssl-muted);
}

.admin-code-box {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(29, 107, 255, 0.06);
    border: 1px solid var(--ssl-border);
    color: #1d6bff;
    font-family: Consolas, Monaco, monospace;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-note-box {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--ssl-border);
    color: var(--ssl-white);
    line-height: 1.6;
}

.admin-action-panel {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--ssl-border);
    border-radius: 1.15rem;
    padding: 1rem;
}

.admin-status-panel {
    background: rgba(29, 107, 255, 0.07);
    border: 1px solid var(--ssl-border);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--ssl-white);
}

.admin-status-panel p {
    color: var(--ssl-white);
}

html[data-theme="light"] .admin-review-card,
html[data-theme="light"] .admin-review-hero {
    background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .admin-action-panel,
html[data-theme="light"] .admin-note-box {
    background: #ffffff;
}

html[data-theme="light"] .admin-code-box {
    background: rgba(29, 107, 255, 0.05);
    color: #0d6efd;
}

html[data-theme="light"] .admin-status-panel {
    background: rgba(13, 110, 253, 0.07);
    color: #071B3A;
}

html[data-theme="light"] .admin-status-panel p,
html[data-theme="light"] .admin-info-value,
html[data-theme="light"] .admin-note-box,
html[data-theme="light"] .admin-review-amount,
html[data-theme="light"] .admin-chip-coin {
    color: #071B3A;
}

html[data-theme="light"] .admin-subtle-text,
html[data-theme="light"] .admin-info-label {
    color: #5c6b82;
}

@media (max-width: 991px) {
    .admin-review-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-review-actions {
        width: 100%;
    }

    .admin-review-actions .btn {
        width: 100%;
    }
}
/* ===== Ledger Page Upgrade ===== */

.ledger-page {
    position: relative;
}

.ledger-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(29, 107, 255, 0.16), transparent 18rem),
        var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.ledger-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ledger-warning {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.ledger-stat-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.ledger-stat-card span {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ssl-muted);
    margin-bottom: 0.7rem;
}

.ledger-stat-card h3 {
    font-size: 2rem;
    font-weight: 850;
    color: var(--ssl-white);
    margin-bottom: 0.4rem;
}

.ledger-stat-card p {
    margin: 0;
    color: var(--ssl-muted);
    line-height: 1.5;
}

.ledger-table-card {
    overflow: hidden;
}

.ledger-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ledger-header-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(29, 107, 255, 0.08);
    border: 1px solid var(--ssl-border);
    color: #4d94ff;
    font-size: 0.76rem;
    font-weight: 800;
}

.ledger-id-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #1d6bff;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.76rem;
}

.ledger-coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ssl-border);
    color: var(--ssl-white);
    font-weight: 700;
    font-size: 0.78rem;
}

.ledger-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.ledger-type-credit {
    background: #c9f7dc;
    color: #0f5132;
}

.ledger-type-lock {
    background: #ffe8a3;
    color: #6a4b00;
}

.ledger-type-debit {
    background: #ffd1d8;
    color: #842029;
}

.ledger-type-release {
    background: #e0d4ff;
    color: #4b2ca1;
}

.ledger-type-adjustment {
    background: #d1e7ff;
    color: #084298;
}

.ledger-type-default {
    background: rgba(120, 130, 150, 0.16);
    color: var(--ssl-white);
    border: 1px solid var(--ssl-border);
}

.ledger-amount {
    font-weight: 800;
}

.ledger-amount-positive {
    color: #198754;
}

.ledger-amount-negative {
    color: #dc3545;
}

.ledger-reference {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    line-height: 1.3;
}

.ledger-reference strong {
    color: var(--ssl-white);
    font-size: 0.88rem;
    text-transform: capitalize;
}

.ledger-reference span {
    color: var(--ssl-muted);
    font-size: 0.8rem;
}

.ledger-note {
    max-width: 320px;
    line-height: 1.45;
    color: var(--ssl-white);
}

html[data-theme="light"] .ledger-hero,
html[data-theme="light"] .ledger-stat-card {
    background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .ledger-header-badge {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.06);
}

html[data-theme="light"] .ledger-coin-badge,
html[data-theme="light"] .ledger-type-default,
html[data-theme="light"] .ledger-reference strong,
html[data-theme="light"] .ledger-note,
html[data-theme="light"] .ledger-stat-card h3 {
    color: #071B3A;
}

@media (max-width: 991px) {
    .ledger-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ledger-hero-actions {
        width: 100%;
    }

    .ledger-hero-actions .btn {
        width: 100%;
    }

    .ledger-header-badges {
        width: 100%;
    }
}
/* ===== Balance Page Upgrade ===== */

.balance-positive {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-weight: 850;
}

.balance-locked {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.16);
    color: #b58100;
    font-weight: 850;
}

html[data-theme="dark"] .balance-positive {
    color: #7ee2ad;
    background: rgba(126, 226, 173, 0.12);
}

html[data-theme="dark"] .balance-locked {
    color: #ffd66b;
    background: rgba(255, 214, 107, 0.12);
}
/* ===== Light Mode Button Visibility Fix ===== */

html[data-theme="light"] .btn-outline-light {
    color: #071B3A;
    border-color: rgba(7, 27, 58, 0.28);
    background: rgba(7, 27, 58, 0.04);
}

html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus {
    color: #ffffff;
    border-color: #0d6efd;
    background: #0d6efd;
}

html[data-theme="light"] .ssl-nav-btn,
html[data-theme="light"] .ssl-theme-btn {
    color: #071B3A;
    border-color: rgba(7, 27, 58, 0.28);
    background: rgba(7, 27, 58, 0.04);
}

html[data-theme="light"] .ssl-nav-btn:hover,
html[data-theme="light"] .ssl-theme-btn:hover {
    color: #ffffff;
    border-color: #0d6efd;
    background: #0d6efd;
}

html[data-theme="light"] .admin-hero-actions .btn-outline-light,
html[data-theme="light"] .ledger-hero-actions .btn-outline-light,
html[data-theme="light"] .admin-review-actions .btn-outline-light {
    color: #071B3A;
    border-color: rgba(7, 27, 58, 0.24);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(7, 27, 58, 0.08);
}

html[data-theme="light"] .admin-hero-actions .btn-outline-light:hover,
html[data-theme="light"] .ledger-hero-actions .btn-outline-light:hover,
html[data-theme="light"] .admin-review-actions .btn-outline-light:hover {
    color: #ffffff;
    border-color: #0d6efd;
    background: #0d6efd;
}
/* ===== Premium User Dashboard ===== */

.user-dashboard-page {
    position: relative;
}

.user-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(29, 107, 255, 0.18), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--ssl-border);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14);
}

.user-dashboard-hero h1 {
    font-weight: 850;
    letter-spacing: -0.03em;
}

.user-dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.user-stat-card {
    min-height: 150px;
    padding: 1.35rem;
    border-radius: 1.3rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.user-stat-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.user-stat-card span {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.user-stat-card h2 {
    font-size: 2.5rem;
    margin: 0.7rem 0 0.35rem;
    font-weight: 900;
}

.user-stat-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.user-stat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.16);
    position: relative;
    z-index: 2;
}

.user-stat-blue {
    background: linear-gradient(135deg, #0d6efd, #104fb8);
}

.user-stat-gold {
    background: linear-gradient(135deg, #f5a623, #a96500);
}

.user-stat-purple {
    background: linear-gradient(135deg, #7b61ff, #4932b8);
}

.user-stat-green {
    background: linear-gradient(135deg, #1dbf73, #087a47);
}

.user-quick-panel,
.user-data-card,
.user-side-card {
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    border-radius: 1.25rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.user-quick-panel,
.user-data-card,
.user-side-card {
    padding: 1.5rem;
}

.user-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.95rem;
}

.user-action-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--ssl-border);
    transition: all 0.2s ease;
}

.user-action-card:hover {
    transform: translateY(-4px);
    background: rgba(29, 107, 255, 0.12);
    border-color: rgba(156, 202, 255, 0.35);
}

.user-action-card span {
    font-size: 1.45rem;
}

.user-action-card strong {
    color: var(--ssl-white);
}

.user-action-card small {
    color: var(--ssl-muted);
    line-height: 1.4;
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-card-header h3 {
    margin-bottom: 0.25rem;
}

.user-card-header p {
    margin: 0;
    color: var(--ssl-muted);
}

.user-card-header a {
    font-weight: 800;
    color: #7db6ff;
    white-space: nowrap;
}

.user-table {
    color: var(--ssl-white);
    margin-bottom: 0;
}

.user-table thead th {
    background: rgba(255, 255, 255, 0.07);
    color: var(--ssl-white);
    border-color: var(--ssl-border);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.user-table tbody td {
    color: var(--ssl-white);
    border-color: var(--ssl-border);
    padding: 0.9rem 0.75rem;
}

.dashboard-coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ssl-border);
    color: var(--ssl-white);
    font-weight: 700;
    font-size: 0.78rem;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: capitalize;
}

.dashboard-status-pending {
    color: #6a4b00;
    background: #ffe8a3;
}

.dashboard-status-approved {
    color: #0f5132;
    background: #c9f7dc;
}

.dashboard-status-completed {
    color: #084298;
    background: #d1e7ff;
}

.dashboard-status-rejected {
    color: #842029;
    background: #ffd1d8;
}

.user-empty-state {
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--ssl-border);
    border-radius: 1rem;
    color: var(--ssl-muted);
}

.user-empty-state.compact {
    padding: 1.8rem 1rem;
}

.user-empty-state h4 {
    color: var(--ssl-white);
    margin-bottom: 0.65rem;
}

.user-empty-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

html[data-theme="light"] .user-dashboard-hero,
html[data-theme="light"] .user-quick-panel,
html[data-theme="light"] .user-data-card,
html[data-theme="light"] .user-side-card,
html[data-theme="light"] .user-action-card {
    background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .user-table,
html[data-theme="light"] .user-table tbody td,
html[data-theme="light"] .user-table thead th,
html[data-theme="light"] .dashboard-coin-badge,
html[data-theme="light"] .user-empty-state h4,
html[data-theme="light"] .user-action-card strong {
    color: #071B3A;
}

html[data-theme="light"] .user-table thead th {
    background: rgba(7, 27, 58, 0.06);
}

@media (max-width: 1199px) {
    .user-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .user-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.35rem;
    }

    .user-dashboard-hero-actions {
        width: 100%;
    }

    .user-dashboard-hero-actions .btn {
        width: 100%;
    }

    .user-card-header {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .user-action-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Dashboard Hero Button Visibility Fix ===== */

html[data-theme="light"] .user-dashboard-hero .btn-outline-light {
    color: #071B3A !important;
    border-color: rgba(7, 27, 58, 0.25) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(7, 27, 58, 0.12);
}

html[data-theme="light"] .user-dashboard-hero .btn-outline-light:hover,
html[data-theme="light"] .user-dashboard-hero .btn-outline-light:focus {
    color: #ffffff !important;
    border-color: #0d6efd !important;
    background: #0d6efd !important;
}

html[data-theme="dark"] .user-dashboard-hero .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .user-dashboard-hero .btn-outline-light:hover,
html[data-theme="dark"] .user-dashboard-hero .btn-outline-light:focus {
    color: #071B3A !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
}
/* ===== Always Visible Dashboard Withdraw Button ===== */

.ssl-dashboard-withdraw-btn {
    color: #071B3A !important;
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.25) !important;
    border-radius: 0.8rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    box-shadow: 0 10px 24px rgba(7, 27, 58, 0.14);
}

.ssl-dashboard-withdraw-btn:hover,
.ssl-dashboard-withdraw-btn:focus {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.28);
}

html[data-theme="dark"] .ssl-dashboard-withdraw-btn {
    color: #071B3A !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}

html[data-theme="dark"] .ssl-dashboard-withdraw-btn:hover,
html[data-theme="dark"] .ssl-dashboard-withdraw-btn:focus {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}
/* ===== Homepage Light Mode Rescue / Premium Frontpage Fix ===== */

html[data-theme="light"] body {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 34rem),
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.08), transparent 30rem),
        #f5f8ff !important;
    color: #071B3A !important;
}

html[data-theme="light"] .ssl-hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

html[data-theme="light"] .ssl-hero-section .container {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.15), transparent 24rem),
        rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 24px 70px rgba(7, 27, 58, 0.12);
}

html[data-theme="light"] .ssl-hero-title,
html[data-theme="light"] .ssl-hero-section h1,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5 {
    color: #071B3A !important;
}

html[data-theme="light"] .ssl-hero-subtitle,
html[data-theme="light"] .text-muted-custom,
html[data-theme="light"] .ssl-feature-card p,
html[data-theme="light"] .ssl-process-card p,
html[data-theme="light"] .ssl-coin-card p,
html[data-theme="light"] .ssl-check-list li {
    color: #4b5b73 !important;
}

html[data-theme="light"] .ssl-eyebrow,
html[data-theme="light"] .ssl-section-label {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.08) !important;
    border: 1px solid rgba(13, 110, 253, 0.18) !important;
}

html[data-theme="light"] .ssl-hero-visual,
html[data-theme="light"] .ssl-feature-card,
html[data-theme="light"] .ssl-process-card,
html[data-theme="light"] .ssl-coin-card,
html[data-theme="light"] .ssl-card,
html[data-theme="light"] .ssl-stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.1) !important;
    box-shadow: 0 18px 45px rgba(7, 27, 58, 0.1) !important;
}

html[data-theme="light"] .ssl-hero-card {
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.1) !important;
    box-shadow: 0 14px 36px rgba(7, 27, 58, 0.1) !important;
}

html[data-theme="light"] .ssl-hero-card p {
    color: #4b5b73 !important;
}

html[data-theme="light"] .ssl-stat-card h3 {
    color: #071B3A !important;
}

html[data-theme="light"] .ssl-stat-card p {
    color: #4b5b73 !important;
}

html[data-theme="light"] .ssl-dark-panel {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.09), transparent 26rem),
        #ffffff !important;
    border-top: 1px solid rgba(7, 27, 58, 0.08) !important;
    border-bottom: 1px solid rgba(7, 27, 58, 0.08) !important;
}

html[data-theme="light"] .ssl-cta-panel {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 22rem),
        linear-gradient(135deg, #ffffff, #eef5ff) !important;
    border: 1px solid rgba(7, 27, 58, 0.1) !important;
    box-shadow: 0 24px 70px rgba(7, 27, 58, 0.13) !important;
}

html[data-theme="light"] .btn-outline-light {
    color: #071B3A !important;
    border-color: rgba(7, 27, 58, 0.24) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(7, 27, 58, 0.08);
}

html[data-theme="light"] .btn-outline-light:hover {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}

html[data-theme="light"] .ssl-feature-card a {
    color: #0d6efd !important;
}

html[data-theme="light"] .ssl-icon-badge,
html[data-theme="light"] .ssl-feature-icon,
html[data-theme="light"] .ssl-process-number {
    background: linear-gradient(135deg, #0d6efd, #6aa9ff) !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    html[data-theme="light"] .ssl-hero-section .container {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }
}
/* ===== Full Homepage Rebuild ===== */

.home-premium {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 34rem),
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.1), transparent 30rem),
        #f5f8ff;
    color: #071B3A;
}

html[data-theme="dark"] .home-premium {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.12), transparent 30rem),
        #071B3A;
    color: #ffffff;
}

.home-hero-shell {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.16), transparent 24rem),
        rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 24px 70px rgba(7, 27, 58, 0.13);
}

html[data-theme="dark"] .home-hero-shell {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.22), transparent 24rem),
        rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(156, 202, 255, 0.15);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.18);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
}

html[data-theme="dark"] .home-kicker {
    color: #9ccaff;
    background: rgba(156, 202, 255, 0.08);
    border-color: rgba(156, 202, 255, 0.22);
}

.home-hero-title {
    margin-top: 1rem;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #071B3A;
}

html[data-theme="dark"] .home-hero-title {
    color: #ffffff;
}

.home-hero-text {
    max-width: 760px;
    margin-top: 1.25rem;
    color: #4b5b73;
    font-size: 1.08rem;
    line-height: 1.75;
}

html[data-theme="dark"] .home-hero-text {
    color: rgba(255, 255, 255, 0.78);
}

.home-security-alert {
    margin-top: 1.5rem;
    max-width: 780px;
    background: #fff3cd;
    color: #6a4b00;
    border: 1px solid #ffe08a;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    line-height: 1.6;
}

.home-hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.home-secondary-btn {
    color: #071B3A !important;
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.18) !important;
    box-shadow: 0 8px 22px rgba(7, 27, 58, 0.08);
    font-weight: 700;
}

.home-secondary-btn:hover {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}

html[data-theme="dark"] .home-secondary-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

html[data-theme="dark"] .home-secondary-btn:hover {
    background: #ffffff !important;
    color: #071B3A !important;
}

.home-stat {
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 1.1rem;
    padding: 1.1rem;
    box-shadow: 0 14px 34px rgba(7, 27, 58, 0.08);
}

html[data-theme="dark"] .home-stat {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(156, 202, 255, 0.14);
}

.home-stat strong {
    display: block;
    color: #071B3A;
    font-size: 1.8rem;
    font-weight: 900;
}

html[data-theme="dark"] .home-stat strong {
    color: #ffffff;
}

.home-stat span {
    color: #4b5b73;
    font-weight: 600;
}

html[data-theme="dark"] .home-stat span {
    color: rgba(255, 255, 255, 0.7);
}

.home-wallet-preview {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 18rem),
        linear-gradient(135deg, #ffffff, #eef5ff);
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 1.7rem;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(7, 27, 58, 0.15);
}

html[data-theme="dark"] .home-wallet-preview {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.3), transparent 18rem),
        rgba(255, 255, 255, 0.07);
    border-color: rgba(156, 202, 255, 0.15);
}

.home-preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-logo-orb {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(13, 110, 253, 0.28);
}

.home-preview-header h3 {
    margin: 0;
    color: #071B3A;
    font-weight: 900;
}

html[data-theme="dark"] .home-preview-header h3 {
    color: #ffffff;
}

.home-preview-header p,
.home-preview-balance span,
.home-preview-list small {
    color: #4b5b73;
    margin: 0;
}

html[data-theme="dark"] .home-preview-header p,
html[data-theme="dark"] .home-preview-balance span,
html[data-theme="dark"] .home-preview-list small {
    color: rgba(255, 255, 255, 0.68);
}

.home-preview-balance {
    margin-top: 1.4rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.14);
}

.home-preview-balance strong {
    display: block;
    color: #071B3A;
    font-size: 1.25rem;
}

html[data-theme="dark"] .home-preview-balance strong {
    color: #ffffff;
}

.home-preview-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.home-preview-list > div {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.9rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.08);
}

html[data-theme="dark"] .home-preview-list > div {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(156, 202, 255, 0.14);
}

.home-preview-icon {
    font-size: 1.25rem;
}

.home-preview-list strong {
    display: block;
    color: #071B3A;
}

html[data-theme="dark"] .home-preview-list strong {
    color: #ffffff;
}

.home-section-heading {
    max-width: 850px;
    margin: 5rem auto 2rem;
}

.home-section-heading h2,
.home-security-panel h2,
.home-cta h2 {
    color: #071B3A;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-top: 1rem;
}

html[data-theme="dark"] .home-section-heading h2,
html[data-theme="dark"] .home-security-panel h2,
html[data-theme="dark"] .home-cta h2 {
    color: #ffffff;
}

.home-section-heading p,
.home-security-panel p,
.home-cta p {
    color: #4b5b73;
    line-height: 1.65;
}

html[data-theme="dark"] .home-section-heading p,
html[data-theme="dark"] .home-security-panel p,
html[data-theme="dark"] .home-cta p {
    color: rgba(255, 255, 255, 0.72);
}

.home-feature-card,
.home-step-card,
.home-security-panel,
.home-cta {
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 1.35rem;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(7, 27, 58, 0.1);
}

html[data-theme="dark"] .home-feature-card,
html[data-theme="dark"] .home-step-card,
html[data-theme="dark"] .home-security-panel,
html[data-theme="dark"] .home-cta {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(156, 202, 255, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.home-feature-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 14px 32px rgba(13, 110, 253, 0.24);
}

.home-feature-card h4,
.home-step-card h5,
.home-security-card h3 {
    color: #071B3A;
    font-weight: 900;
    margin-top: 1rem;
}

html[data-theme="dark"] .home-feature-card h4,
html[data-theme="dark"] .home-step-card h5,
html[data-theme="dark"] .home-security-card h3 {
    color: #ffffff;
}

.home-feature-card p,
.home-step-card p,
.home-security-card p {
    color: #4b5b73;
    line-height: 1.6;
}

html[data-theme="dark"] .home-feature-card p,
html[data-theme="dark"] .home-step-card p,
html[data-theme="dark"] .home-security-card p {
    color: rgba(255, 255, 255, 0.72);
}

.home-feature-card a {
    color: #0d6efd;
    font-weight: 800;
    text-decoration: none;
}

.home-step-card strong {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
    color: #ffffff;
}

.home-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.home-check-grid div {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.12);
    color: #071B3A;
    font-weight: 700;
}

html[data-theme="dark"] .home-check-grid div {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(156, 202, 255, 0.14);
}

.home-security-card {
    background: linear-gradient(135deg, #0d6efd, #104fb8);
    border-radius: 1.3rem;
    padding: 2rem;
    color: #ffffff;
}

.home-security-card h3,
.home-security-card p {
    color: #ffffff !important;
}

.home-security-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-cta {
    padding: 3rem 1.5rem;
}

@media (max-width: 991px) {
    .home-hero-shell {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .home-check-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Logout Page / Logout Button Visibility ===== */

html[data-theme="light"] .ssl-nav-btn {
    color: #071B3A !important;
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.25) !important;
    box-shadow: 0 8px 18px rgba(7, 27, 58, 0.08);
}

html[data-theme="light"] .ssl-nav-btn:hover {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}

html[data-theme="light"] .ssl-theme-btn {
    color: #071B3A !important;
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.25) !important;
}

html[data-theme="light"] .ssl-theme-btn:hover {
    color: #ffffff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}
/* ===== Visible Logout Dropdown Item ===== */

.ssl-logout-dropdown-item {
    color: #ffb4b4 !important;
    font-weight: 800;
}

.ssl-logout-dropdown-item:hover,
.ssl-logout-dropdown-item:focus {
    color: #ffffff !important;
    background: #dc3545 !important;
}

html[data-theme="light"] .ssl-dropdown {
    background: #ffffff !important;
    border: 1px solid rgba(7, 27, 58, 0.12) !important;
    box-shadow: 0 18px 55px rgba(7, 27, 58, 0.16) !important;
}

html[data-theme="light"] .ssl-dropdown .dropdown-item {
    color: #071B3A !important;
}

html[data-theme="light"] .ssl-dropdown .dropdown-item:hover {
    color: #ffffff !important;
    background: #0d6efd !important;
}

html[data-theme="light"] .ssl-dropdown .dropdown-divider {
    border-color: rgba(7, 27, 58, 0.12) !important;
}

html[data-theme="light"] .ssl-logout-dropdown-item {
    color: #dc3545 !important;
}

html[data-theme="light"] .ssl-logout-dropdown-item:hover,
html[data-theme="light"] .ssl-logout-dropdown-item:focus {
    color: #ffffff !important;
    background: #dc3545 !important;
}
/* ===== Notification Center Upgrade ===== */

.notification-nav-link {
    position: relative;
    font-size: 1.05rem !important;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #dc3545;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
}

.notification-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.8rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(29, 107, 255, 0.16), transparent 18rem),
        var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.notification-list {
    display: grid;
    gap: 1rem;
}

.notification-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.notification-unread {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 18px 45px rgba(13, 110, 253, 0.14);
}

.notification-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
    color: #ffffff;
    font-size: 1.4rem;
}

.notification-content h4 {
    color: var(--ssl-white);
    margin-bottom: 0.35rem;
}

.notification-content span {
    color: var(--ssl-muted);
    font-size: 0.9rem;
}

.notification-content p {
    color: var(--ssl-muted);
    margin-bottom: 0.75rem;
}

.notification-empty {
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 1.5rem;
    background: var(--ssl-card);
    border: 1px dashed var(--ssl-border);
}

.notification-empty div {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

html[data-theme="light"] .notification-hero,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .notification-empty {
    background: #ffffff;
}

html[data-theme="light"] .notification-content h4,
html[data-theme="light"] .notification-empty h3 {
    color: #071B3A;
}

html[data-theme="light"] .notification-content p,
html[data-theme="light"] .notification-content span {
    color: #4b5b73;
}

@media (max-width: 767px) {
    .notification-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .notification-card {
        grid-template-columns: 1fr;
    }
}
/* ===== Upgraded Animated Homepage ===== */

.ssl-home-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.22), transparent 28rem),
        radial-gradient(circle at 85% 15%, rgba(111, 66, 193, 0.22), transparent 24rem),
        linear-gradient(135deg, #061a33 0%, #082349 48%, #031326 100%);
}

.ssl-home-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.5;
    animation: orbFloat 9s ease-in-out infinite;
    pointer-events: none;
}

.orb-one {
    width: 220px;
    height: 220px;
    top: 8%;
    left: 4%;
    background: rgba(13, 110, 253, 0.35);
}

.orb-two {
    width: 260px;
    height: 260px;
    right: 7%;
    top: 18%;
    background: rgba(32, 201, 151, 0.23);
    animation-delay: 1.5s;
}

.orb-three {
    width: 180px;
    height: 180px;
    bottom: 8%;
    left: 46%;
    background: rgba(255, 193, 7, 0.18);
    animation-delay: 2.5s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -22px, 0) scale(1.08);
    }
}

.ssl-home-hero-card {
    position: relative;
    z-index: 2;
    border-radius: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
        rgba(7, 27, 58, 0.72);
    border: 1px solid rgba(154, 198, 255, 0.22);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    transform-style: preserve-3d;
}

.ssl-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: rgba(121, 178, 255, 0.12);
    border: 1px solid rgba(121, 178, 255, 0.28);
    color: #b9d9ff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.3rem;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: #20c997;
    border-radius: 999px;
    box-shadow: 0 0 0 rgba(32, 201, 151, 0.8);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.75);
    }
    70% {
        box-shadow: 0 0 0 11px rgba(32, 201, 151, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0);
    }
}

.ssl-home-title {
    color: #ffffff;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 950;
    max-width: 760px;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.ssl-home-subtitle {
    color: rgba(233, 242, 255, 0.84);
    max-width: 760px;
    font-size: 1.06rem;
    line-height: 1.75;
    margin-top: 1.4rem;
}

.ssl-home-alert {
    max-width: 760px;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    margin-top: 1.4rem;
    background: linear-gradient(135deg, #fff3cd, #ffe9a8);
    color: #6b4b00;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.ssl-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.ssl-home-actions .btn,
.home-cta-actions .btn {
    border-radius: 0.9rem;
    font-weight: 800;
    padding: 0.75rem 1.1rem;
}

.ssl-home-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.ssl-home-stats div {
    min-width: 150px;
    padding: 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(154, 198, 255, 0.18);
}

.ssl-home-stats strong {
    display: block;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
}

.ssl-home-stats span {
    display: block;
    color: rgba(233, 242, 255, 0.72);
    margin-top: 0.35rem;
    font-size: 0.92rem;
}

.wallet-visual {
    position: relative;
    min-height: 570px;
    padding: 1.4rem;
    border-radius: 1.8rem;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(154, 198, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 80px rgba(0,0,0,0.22);
    overflow: hidden;
}

.wallet-visual-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    right: -70px;
    top: -60px;
    background: rgba(13, 110, 253, 0.45);
    filter: blur(60px);
    border-radius: 999px;
}

.wallet-top-card,
.wallet-balance-card,
.wallet-feature-item {
    position: relative;
    z-index: 2;
}

.wallet-top-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, #0d6efd, #104fb8);
    color: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 22px 55px rgba(13, 110, 253, 0.28);
}

.wallet-logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 1.1rem;
    background: rgba(255,255,255,0.18);
    font-weight: 950;
}

.wallet-top-card h3 {
    margin: 0;
    font-weight: 950;
}

.wallet-top-card p,
.wallet-balance-card p {
    margin: 0;
    color: rgba(255,255,255,0.78);
}

.wallet-balance-card {
    padding: 1.1rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(154, 198, 255, 0.18);
    color: #ffffff;
    margin-bottom: 1rem;
}

.wallet-balance-card span {
    color: rgba(233, 242, 255, 0.72);
}

.wallet-balance-card h2 {
    margin: 0.25rem 0;
    font-weight: 950;
}

.wallet-feature-list {
    display: grid;
    gap: 0.85rem;
}

.wallet-feature-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: #ffffff;
    padding: 1rem;
    border-radius: 1.1rem;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(154, 198, 255, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wallet-feature-item:hover {
    transform: translateX(8px);
    background: rgba(13, 110, 253, 0.18);
    border-color: rgba(121, 178, 255, 0.45);
    color: #ffffff;
}

.wallet-feature-item span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.12);
    font-size: 1.25rem;
}

.wallet-feature-item strong {
    display: block;
    font-weight: 900;
}

.wallet-feature-item small {
    display: block;
    color: rgba(233, 242, 255, 0.72);
    margin-top: 0.15rem;
}

.floating-card {
    animation: floatingCard 5s ease-in-out infinite;
}

.floating-card.slow {
    animation-duration: 7s;
    animation-delay: 0.8s;
}

@keyframes floatingCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.ssl-trust-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.ssl-trust-strip div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1.1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(154, 198, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(14px);
}

.ssl-trust-strip span {
    font-size: 1.4rem;
}

.section-heading h2 {
    font-weight: 950;
    letter-spacing: -0.045em;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
    color: var(--ssl-muted);
    max-width: 720px;
    margin: 0.75rem auto 0;
}

.home-service-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 28px 70px rgba(13, 110, 253, 0.14);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 1.1rem;
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-icon.blue {
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
}

.service-icon.green {
    background: linear-gradient(135deg, #12b76a, #20c997);
}

.service-icon.purple {
    background: linear-gradient(135deg, #6f42c1, #9b7bff);
}

.service-icon.gold {
    background: linear-gradient(135deg, #f59f00, #ffd43b);
}

.home-service-card h3 {
    color: var(--ssl-white);
    font-weight: 900;
}

.home-service-card p {
    color: var(--ssl-muted);
}

.home-service-card a {
    font-weight: 800;
    text-decoration: none;
}

.ssl-process-section {
    padding: 4rem 0;
    background:
        radial-gradient(circle at top right, rgba(13,110,253,0.12), transparent 24rem),
        rgba(255,255,255,0.025);
}

.process-timeline {
    display: grid;
    gap: 1rem;
}

.process-step {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1.2rem;
    background: var(--ssl-card);
    border: 1px solid var(--ssl-border);
}

.process-step > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0d6efd, #6aa9ff);
    color: #ffffff;
    font-weight: 950;
}

.process-step h4 {
    color: var(--ssl-white);
    margin: 0 0 0.25rem;
    font-weight: 900;
}

.process-step p {
    margin: 0;
    color: var(--ssl-muted);
}

.home-cta-card {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at right, rgba(13,110,253,0.18), transparent 20rem),
        var(--ssl-card);
    border: 1px solid var(--ssl-border);
    box-shadow: 0 25px 65px rgba(0,0,0,0.12);
}

.home-cta-card h2 {
    color: var(--ssl-white);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.home-cta-card p {
    color: var(--ssl-muted);
    margin: 0;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html[data-theme="light"] .ssl-home-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.16), transparent 28rem),
        radial-gradient(circle at 85% 15%, rgba(111, 66, 193, 0.14), transparent 24rem),
        linear-gradient(135deg, #f7fbff 0%, #edf5ff 50%, #ffffff 100%);
}

html[data-theme="light"] .ssl-home-hero-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(7,27,58,0.09);
    box-shadow: 0 35px 100px rgba(7,27,58,0.13);
}

html[data-theme="light"] .ssl-home-title,
html[data-theme="light"] .home-service-card h3,
html[data-theme="light"] .process-step h4,
html[data-theme="light"] .home-cta-card h2 {
    color: #071B3A;
}

html[data-theme="light"] .ssl-home-subtitle,
html[data-theme="light"] .ssl-home-stats span {
    color: #4b5b73;
}

html[data-theme="light"] .ssl-home-stats div,
html[data-theme="light"] .ssl-trust-strip div {
    background: rgba(255,255,255,0.75);
    border-color: rgba(7,27,58,0.1);
    color: #071B3A;
}

html[data-theme="light"] .home-service-card,
html[data-theme="light"] .process-step,
html[data-theme="light"] .home-cta-card {
    background: #ffffff;
    border-color: rgba(7,27,58,0.1);
}

@media (max-width: 991px) {
    .wallet-visual {
        min-height: auto;
    }

    .ssl-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .ssl-home-hero {
        padding-top: 2rem;
    }

    .ssl-home-hero-card {
        border-radius: 1.4rem;
    }

    .ssl-home-title {
        font-size: 2.45rem;
    }

    .ssl-trust-strip {
        grid-template-columns: 1fr;
    }

    .process-step {
        grid-template-columns: 1fr;
    }
}
/* ===== Fix Homepage CTA Button Visibility ===== */

.home-cta-actions .btn-outline-light,
.ssl-home-actions .btn-outline-light {
    color: #ffffff;
    background: rgba(7, 27, 58, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.55);
    font-weight: 900;
}

.home-cta-actions .btn-outline-light:hover,
.ssl-home-actions .btn-outline-light:hover {
    color: #071B3A;
    background: #ffffff;
    border-color: #ffffff;
}

html[data-theme="light"] .home-cta-actions .btn-outline-light,
html[data-theme="light"] .ssl-home-actions .btn-outline-light {
    color: #071B3A;
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.18);
    box-shadow: 0 12px 32px rgba(7, 27, 58, 0.12);
}

html[data-theme="light"] .home-cta-actions .btn-outline-light:hover,
html[data-theme="light"] .ssl-home-actions .btn-outline-light:hover {
    color: #ffffff;
    background: #071B3A;
    border-color: #071B3A;
}
/* ===== Modern JavaScript Visual Effects ===== */

.ssl-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    z-index: 99999;
    background: linear-gradient(90deg, #0d6efd, #20c997, #9b7bff, #ffd43b);
    box-shadow: 0 0 18px rgba(13, 110, 253, 0.65);
    transition: width 0.08s linear;
}

.ssl-cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(13, 110, 253, 0.18), rgba(111, 66, 193, 0.08), transparent 68%);
    filter: blur(14px);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ssl-navbar,
main,
footer {
    position: relative;
    z-index: 2;
}

.ssl-home-hero {
    isolation: isolate;
}

.ssl-particle-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.ssl-particle {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(121, 178, 255, 0.65);
    box-shadow: 0 0 18px rgba(121, 178, 255, 0.75);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 110vh, 0) scale(0.6);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    88% {
        opacity: 1;
    }

    100% {
        transform: translate3d(var(--particle-drift), -20vh, 0) scale(1.2);
        opacity: 0;
    }
}

.magnetic-btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
}

.magnetic-btn:hover {
    box-shadow: 0 18px 45px rgba(13, 110, 253, 0.24);
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.16s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 30px 75px rgba(13, 110, 253, 0.18);
}

.home-service-card,
.user-stat-card,
.admin-review-card,
.admin-data-card,
.user-data-card,
.ssl-card,
.wallet-feature-item {
    position: relative;
    overflow: hidden;
}

.home-service-card::after,
.user-stat-card::after,
.admin-review-card::after,
.admin-data-card::after,
.user-data-card::after,
.ssl-card::after,
.wallet-feature-item::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -80%;
    width: 65%;
    height: 300%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.16),
        transparent
    );
    transform: rotate(18deg);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.home-service-card:hover::after,
.user-stat-card:hover::after,
.admin-review-card:hover::after,
.admin-data-card:hover::after,
.user-data-card:hover::after,
.ssl-card:hover::after,
.wallet-feature-item:hover::after {
    opacity: 1;
    animation: shineSweep 1.1s ease forwards;
}

@keyframes shineSweep {
    from {
        left: -90%;
    }

    to {
        left: 135%;
    }
}

.ssl-animated-gradient-text {
    background: linear-gradient(90deg, #ffffff, #9fd0ff, #20c997, #ffffff);
    background-size: 260% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: gradientTextMove 5s linear infinite;
}

@keyframes gradientTextMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 260% center;
    }
}

.ssl-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(32, 201, 151, 0.12);
    border: 1px solid rgba(32, 201, 151, 0.28);
    color: #20c997;
    font-weight: 900;
    font-size: 0.78rem;
}

.ssl-live-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #20c997;
    box-shadow: 0 0 0 rgba(32, 201, 151, 0.7);
    animation: pulseDot 1.6s infinite;
}

.parallax-soft {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .ssl-particle,
    .floating-card,
    .ssl-home-bg-orb,
    .pulse-dot,
    .ssl-live-pill::before {
        animation: none !important;
    }

    .tilt-card,
    .magnetic-btn,
    .parallax-soft {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .ssl-cursor-glow {
        display: none;
    }

    .ssl-particle {
        opacity: 0.45;
    }
}
/* ===== Navbar Scroll State ===== */

.ssl-navbar {
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.ssl-navbar-scrolled {
    background: rgba(7, 27, 58, 0.88) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .ssl-navbar-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 16px 45px rgba(7, 27, 58, 0.08);
}