:root {
    --c-dark-bg: #0e0d0c;
    --c-surface: #151312;
    --c-surface-card: #1b1816;
    --c-border: #282421;
    --c-border-hover: #3e3834;

    --c-orange: #ff7a00;
    --c-orange-hover: #ff8c21;
    --c-orange-gradient: linear-gradient(180deg, #ff8a24 0%, #ea580c 100%);

    --c-text-bright: #f5f2ee;
    --c-text-sub: #a89f97;
    --c-text-muted: #6f6761;
    --c-green: #22c55e;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--c-dark-bg);
    color: var(--c-text-bright);
    min-height: 100vh;
}

.text-success {
    color: var(--c-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-orange-gradient {
    background: var(--c-orange-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-orange-gradient:hover {
    background: linear-gradient(180deg, #ffa047 0%, #f97316 100%);
}

.btn-orange-solid {
    background: var(--c-orange);
    color: #ffffff;
}

.btn-orange-solid:hover {
    background: var(--c-orange-hover);
}

.btn-outline-dark {
    background: #1b1715;
    border: 1px solid var(--c-border);
    color: var(--c-text-bright);
}

.btn-outline-dark:hover {
    border-color: var(--c-border-hover);
    background: #25201d;
}

.btn-spin {
    animation: btnSpinAnim 0.8s linear infinite;
}

@keyframes btnSpinAnim {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 24px;
}

.panel-main {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.empty-state-box {
    flex-grow: 1;
    border: 1px dashed var(--c-border);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-subtitle {
    font-size: 13px;
    color: var(--c-text-muted);
}

.auth-page {
    background-color: #0e0d0c;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card-container {
    position: relative;
    width: 100%;
}

.avatar-badge {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.avatar-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--c-orange-gradient);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.auth-card {
    background: #fbf7f0;
    color: #191715;
    border-radius: var(--r-lg);
    padding: 56px 36px 36px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.auth-card.dark-contrast {
    background: #2b2826;
    padding: 16px;
}

.inner-sheet {
    background: #fbf7f0;
    border-radius: 16px;
    padding: 44px 28px 28px;
}

.auth-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #e65100;
    display: block;
    margin-bottom: 6px;
}

.auth-heading {
    font-size: 27px;
    font-weight: 700;
    color: #1a1715;
    margin-bottom: 8px;
}

.auth-subheading {
    font-size: 13.5px;
    color: #6d645e;
    line-height: 1.4;
    margin-bottom: 22px;
}

.form-error {
    background: #fde8e8;
    color: #9b1c1c;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #f8b4b4;
}

.input-field {
    position: relative;
    margin-bottom: 16px;
}

.input-field input {
    width: 100%;
    padding: 14px 44px 14px 42px;
    background: #ffffff;
    border: 1px solid #d9d2c9;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    color: #1a1715;
    outline: none;
    transition: border-color 0.15s;
}

.input-field input:focus {
    border-color: var(--c-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

.field-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: #8c827a;
}

.field-icon-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8c827a;
    cursor: pointer;
    display: flex;
}

.field-icon-btn:hover {
    color: #ea580c;
}

.captcha-box {
    background: #232220;
    border-radius: var(--r-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    color: #ffffff;
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.captcha-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--c-orange);
    cursor: pointer;
}

.captcha-vendor {
    text-align: right;
    font-size: 9px;
    color: #9c938b;
    line-height: 1.2;
}

.cf-title {
    font-weight: 700;
    display: block;
}

.cf-terms {
    font-size: 8px;
    color: #706760;
}

.token-result-field {
    margin-bottom: 20px;
}

.token-result-field input {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #d9d2c9;
    border-radius: var(--r-sm);
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    color: #1e1b19;
    text-align: center;
    outline: none;
}

.btn-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13.5px;
    color: #6d645e;
}

.auth-card-footer a {
    color: #e65100;
    font-weight: 600;
    text-decoration: none;
}

.auth-card-footer a:hover {
    text-decoration: underline;
}

.dashboard-page {
    background: var(--c-dark-bg);
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar-dimmer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    z-index: 90;
    transition: opacity 0.25s ease;
}

.sidebar-dimmer.active {
    display: block;
}

.sidebar {
    width: 250px;
    background: var(--c-surface);
    border-right: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    flex-shrink: 0;
    transition: width 0.25s ease, padding 0.25s ease, transform 0.25s ease;
}

.sidebar.collapsed {
    width: 68px;
    padding: 18px 10px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-divider-label,
.sidebar.collapsed .nav-btn span {
    display: none;
}

.sidebar.collapsed .logo-box {
    justify-content: center;
}

.sidebar.collapsed .nav-btn {
    justify-content: center;
    padding: 10px 0;
}

.sidebar.collapsed .icon-toggle-btn svg,
.sidebar.collapsed .icon-toggle-btn i {
    transform: rotate(180deg);
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-orange-gradient);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-bright);
}

.icon-toggle-btn {
    background: #231f1c;
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-toggle-btn svg,
.icon-toggle-btn i {
    transition: transform 0.25s ease;
}

.icon-toggle-btn:hover {
    color: #ffffff;
    border-color: var(--c-border-hover);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
}

.nav-divider-label {
    font-size: 11px;
    color: var(--c-text-muted);
    margin-top: 18px;
    margin-bottom: 6px;
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--c-text-sub);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.nav-btn i {
    width: 18px;
    height: 18px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.nav-btn.active {
    background: #362214;
    color: var(--c-orange);
    font-weight: 600;
}

.nav-btn.active i {
    color: var(--c-orange);
}

.dashboard-viewport {
    flex-grow: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 1600px;
}

.header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: var(--c-surface-card);
    border: 1px solid var(--c-border);
    color: var(--c-text-bright);
    padding: 8px;
    border-radius: var(--r-sm);
    cursor: pointer;
}

.title-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.view-title {
    font-size: 22px;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-chip {
    background: #1d1917;
    border: 1px solid var(--c-border);
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-family: monospace;
}

.user-role {
    background: #2b2520;
    color: var(--c-text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.clock-display {
    color: var(--c-text-muted);
}

.logout-action {
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
}

.logout-action:hover {
    color: #ef4444;
}

.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    border-left: 3px solid var(--c-orange);
}

.kpi-cell {
    padding: 18px 24px;
    border-right: 1px solid var(--c-border);
}

.kpi-cell:last-child {
    border-right: none;
}

.kpi-title {
    font-size: 11px;
    color: var(--c-text-muted);
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.kpi-metric {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.kpi-footnote {
    font-size: 12px;
    color: var(--c-text-muted);
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.inventory-panel {
    background: #14110f;
    border: 1px solid #231e1a;
    padding: 20px 24px;
}

.inv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #231e1a;
}

.inv-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inv-title {
    font-size: 20px;
    font-weight: 700;
    color: #f7f3ee;
    letter-spacing: -0.2px;
}

.inv-subtitle {
    font-size: 13px;
    color: #8a8077;
}

.inv-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1f1a17;
    border: 1px solid #332b25;
    color: #dfd8d0;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    position: relative;
}

.inv-btn:hover {
    background: #2a231f;
    border-color: #443932;
    color: #ffffff;
}

.inv-btn-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f1a17;
    border: 1px solid #332b25;
    color: #dfd8d0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.inv-btn-square:hover {
    background: #2a231f;
    border-color: #443932;
    color: #ffffff;
}

.filter-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-orange);
}

.inv-per-page {
    display: flex;
    align-items: center;
    background: #191412;
    border: 1px solid #2d2520;
    border-radius: 8px;
    padding: 3px 6px;
    gap: 4px;
}

.per-page-label {
    font-size: 11px;
    font-weight: 700;
    color: #7a7067;
    padding: 0 6px;
    letter-spacing: 0.5px;
}

.per-page-btn {
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #a89f97;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}

.per-page-btn:hover {
    color: #ffffff;
}

.per-page-btn.active {
    background: var(--c-orange);
    color: #ffffff;
}

.inv-filter-panel {
    display: none;
    background: #1a1512;
    border: 1px solid #2d2520;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
}

.inv-filter-panel.open {
    display: block;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item label {
    font-size: 11px;
    font-weight: 600;
    color: #8c8279;
    text-transform: uppercase;
}

.filter-item input,
.filter-item select {
    background: #100d0b;
    border: 1px solid #332b25;
    border-radius: 6px;
    padding: 8px 12px;
    color: #f5f2ee;
    font-size: 13px;
    outline: none;
}

.filter-item input:focus,
.filter-item select:focus {
    border-color: var(--c-orange);
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.btn-filter-submit {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.btn-filter-reset {
    padding: 8px 16px !important;
    font-size: 13px !important;
    text-decoration: none;
}

.inv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.inv-row {
    display: flex;
    align-items: center;
    background: #181412;
    border: 1px solid #26201b;
    border-radius: 10px;
    padding: 10px 16px;
    gap: 16px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.inv-row:hover {
    border-color: #3d322b;
    background: #1c1714;
}

.inv-card-badge {
    background: #231c18;
    border: 1px solid #382c24;
    border-radius: 7px;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    flex-shrink: 0;
}

.badge-tag {
    font-size: 9px;
    font-weight: 800;
    color: #8c8075;
    letter-spacing: 0.8px;
}

.badge-num {
    font-size: 15px;
    font-weight: 800;
    color: #f7f3ee;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.inv-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 220px;
}

.inv-bank-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f5f2ee;
    letter-spacing: 0.2px;
}

.inv-meta-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inv-sub-pill {
    background: #281f19;
    color: #b0a59b;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #362a22;
    font-weight: 600;
}

.inv-meta-details {
    font-size: 12px;
    color: #80766d;
}

.inv-feature-chips {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.chip-tag {
    background: #241910;
    color: #d97706;
    border: 1px solid #4a2810;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
}

.inv-tags-col {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.badge-valid {
    background: #0d281a;
    color: #34d399;
    border: 1px solid #14532d;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.badge-type {
    background: #2d1808;
    color: #f97316;
    border: 1px solid #7c2d12;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
}

.badge-cat {
    background: #1e1915;
    color: #d1b59a;
    border: 1px solid #44372e;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
}

.inv-price {
    font-size: 17px;
    font-weight: 800;
    color: #f5f2ee;
    min-width: 65px;
    text-align: right;
    flex-shrink: 0;
}

.inv-action-col {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.inv-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #231c18;
    border: 1px solid #382c24;
    color: #c4b9b0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.inv-action-btn i,
.inv-action-btn svg {
    width: 16px;
    height: 16px;
}

.inv-action-btn:hover {
    border-color: #554336;
    background: #2e241f;
    color: #ffffff;
}

.inv-action-btn.inv-btn-buy {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: #24170d;
    border: 1px solid #4d3319;
    color: #f59e0b;
}

.inv-action-btn.inv-btn-buy i,
.inv-action-btn.inv-btn-buy svg {
    width: 17px;
    height: 17px;
}

.inv-action-btn.inv-btn-buy:hover {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 122, 0, 0.35);
}

.inv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #231e1a;
}

.page-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1f1a17;
    border: 1px solid #332b25;
    color: #dfd8d0;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.page-nav-btn:hover {
    background: #2a231f;
    border-color: #443932;
    color: #ffffff;
}

.page-indicator {
    font-size: 13px;
    color: #8a8077;
}

.wallet-balance-card {
    background: linear-gradient(180deg, #171412 0%, #110e0c 100%);
    border: 1px solid #28211c;
    border-left: 3px solid #ff7a00;
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.wallet-balance-label {
    font-size: 11px;
    font-weight: 700;
    color: #8c8075;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.wallet-balance-amount {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.wallet-balance-sub {
    font-size: 13px;
    color: #8c8075;
    display: flex;
    align-items: center;
}

.dep-arrow {
    font-size: 14px;
    margin-right: 4px;
    color: #a89f97;
}

.wallet-balance-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.wallet-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1c1714;
    border: 1px solid #332922;
    color: #dcd3cb;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    justify-content: flex-start;
}

.wallet-action-pill i,
.wallet-action-pill svg {
    width: 14px;
    height: 14px;
    color: #a89f97;
}

.wallet-action-pill:hover,
.wallet-action-pill.active {
    background: #281f19;
    border-color: #4a382d;
    color: #ffffff;
}

.wallet-action-pill.active i,
.wallet-action-pill.active svg {
    color: var(--c-orange);
}

.topup-panel {
    background: #14110f;
    border: 1px solid #231e1a;
    padding: 24px 28px;
}

.topup-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.topup-title {
    font-size: 20px;
    font-weight: 700;
    color: #f7f3ee;
    margin-bottom: 4px;
}

.topup-subtitle {
    font-size: 13.5px;
    color: #8a8077;
}

.topup-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-bonus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2b1b10;
    border: 1px solid #5a2e12;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

.badge-bonus .badge-icon {
    width: 14px;
    height: 14px;
}

.badge-bonus-sub {
    color: #b47833;
    font-weight: 500;
}

.badge-min-dep {
    background: #1e1916;
    border: 1px solid #302620;
    color: #ded6cc;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

.network-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.network-choice-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #191411;
    border: 1px solid #2d241e;
    color: #d8d0c7;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.network-choice-btn:hover {
    background: #241c17;
    border-color: #42342a;
    color: #ffffff;
}

.network-choice-btn.active {
    background: #23170e;
    border-color: #d97706;
    color: #ffffff;
}

.network-choice-btn .active-dot {
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
}

.network-choice-btn.active .active-dot {
    display: block;
}

.net-tag-pill {
    font-size: 11.5px;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.5px;
}

.btn-generate-deposit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ff8a24 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.15s ease;
}

.btn-generate-deposit:hover {
    background: linear-gradient(180deg, #ffa047 0%, #f97316 100%);
}

.btn-generate-deposit:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-generate-deposit i,
.btn-generate-deposit svg {
    width: 18px;
    height: 18px;
}

.topup-footer-note {
    font-size: 12.5px;
    color: #7a7067;
    margin-top: 12px;
}

.recent-deposits-panel {
    background: #14110f;
    border: 1px solid #231e1a;
    padding: 24px 28px;
}

.recent-deposits-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.recent-title {
    font-size: 18px;
    font-weight: 700;
    color: #f7f3ee;
    margin-bottom: 4px;
}

.recent-subtitle {
    font-size: 13px;
    color: #8a8077;
}

.recent-counter-chip {
    background: #1c1714;
    border: 1px solid #2e241e;
    color: #8c8075;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.counter-spin-icon {
    width: 12px;
    height: 12px;
}

.recent-empty-placeholder {
    border: 1px dashed #261f1a;
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-glow-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1d1612;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #554437;
}

.empty-glow-icon svg,
.empty-glow-icon i {
    width: 22px;
    height: 22px;
}

.deposit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 9, 8, 0.82);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.deposit-modal-card {
    background: #161311;
    border: 1px solid #2d241d;
    border-radius: var(--r-md);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.deposit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #241c17;
}

.modal-kicker {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--c-orange);
    letter-spacing: 0.6px;
    display: block;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.modal-close-icon {
    background: #201a16;
    border: 1px solid #33271f;
    color: #a89f97;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.modal-close-icon:hover {
    background: #2c221b;
    color: #ffffff;
}

.deposit-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-input-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: #b3a99f;
}

.modal-input-field {
    display: flex;
    align-items: center;
    background: #0d0b0a;
    border: 1px solid #2d241d;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    transition: border-color 0.15s;
}

.modal-input-field:focus-within {
    border-color: var(--c-orange);
}

.input-currency-symbol {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-orange);
    margin-right: 8px;
}

.modal-input-field input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
}

.modal-hint {
    font-size: 11.5px;
    color: #796f66;
}

.modal-error-text {
    font-size: 12px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
}

.modal-pay-details-card {
    background: #110e0c;
    border: 1px solid #231c17;
    border-radius: 8px;
    padding: 16px;
}

.modal-crypto-box {
    background: #1e1712;
    border: 1px solid #3c2a1c;
    border-radius: 7px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.crypto-box-label {
    font-size: 11px;
    font-weight: 800;
    color: #9f9184;
    letter-spacing: 0.5px;
}

.crypto-box-value {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-orange);
    font-family: monospace;
}

.calc-loading {
    font-size: 13px;
    font-weight: 500;
    color: #7f746b;
}

.modal-qr-and-addr {
    display: flex;
    gap: 16px;
    align-items: center;
}

.modal-qr-frame {
    width: 116px;
    height: 116px;
    background: #ffffff;
    border-radius: 6px;
    padding: 5px;
    flex-shrink: 0;
}

.modal-qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-addr-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    min-width: 0;
}

.addr-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #776d64;
}

.addr-value {
    background: #0a0807;
    border: 1px solid #201813;
    border-radius: 6px;
    padding: 8px 10px;
    font-family: monospace;
    font-size: 12px;
    color: #eee7e0;
    word-break: break-all;
    user-select: all;
}

.btn-copy-addr {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1f1814;
    border: 1px solid #362920;
    color: #ded5cc;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-copy-addr:hover {
    background: #2b2019;
    color: #ffffff;
}

.deposit-warning-banner {
    background: #1b1511;
    border: 1px solid #2a2018;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #a4998e;
}

.warn-shield-icon {
    width: 16px;
    height: 16px;
    color: #f59e0b;
    flex-shrink: 0;
}

.modal-success-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0d281a;
    border: 1px solid #14532d;
    padding: 10px 14px;
    border-radius: 6px;
    color: #a7f3d0;
    font-size: 12.5px;
}

.modal-success-notice svg {
    width: 20px;
    height: 20px;
    color: #34d399;
    flex-shrink: 0;
}

.modal-success-notice strong {
    color: #34d399;
    display: block;
}

.deposit-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #241c17;
}

.btn-submit-payment {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--c-orange-gradient);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
    transition: all 0.15s;
}

.btn-submit-payment:hover:not(:disabled) {
    background: linear-gradient(180deg, #ffa047 0%, #f97316 100%);
}

.btn-submit-payment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .kpi-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpi-cell:nth-child(2) {
        border-right: none;
    }

    .kpi-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--c-border);
    }
}

@media (max-width: 900px) {
    .inv-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .inv-feature-chips {
        order: 3;
        width: 100%;
    }

    .inv-price {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100vh;
        z-index: 100;
        transform: translateX(-100%);
        box-shadow: 10px 0 25px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar .icon-toggle-btn {
        display: flex;
    }

    .dashboard-viewport {
        padding: 16px;
        gap: 16px;
    }

    .kpi-strip {
        grid-template-columns: 1fr;
    }

    .kpi-cell {
        border-right: none;
        border-bottom: 1px solid var(--c-border);
    }

    .kpi-cell:last-child {
        border-bottom: none;
    }

    .header-right .clock-display {
        display: none;
    }

    .wallet-balance-card {
        padding: 18px;
    }

    .wallet-balance-actions {
        width: 100%;
        flex-direction: row;
    }
}

@media (max-width: 580px) {
    .modal-qr-and-addr {
        flex-direction: column;
        align-items: flex-start;
    }
}


.bin-checker-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.panel-section-kicker {
    font-size: 11.5px;
    color: var(--c-text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.panel-section-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-text-bright);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.bin-form-group {
    display: flex;
    flex-direction: column;
}

.bin-input-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-sub);
    margin-bottom: 8px;
}

.bin-textarea {
    width: 100%;
    min-height: 190px;
    background: #0d0b0a;
    border: 1px solid #231c17;
    border-radius: var(--r-sm);
    padding: 12px 14px;
    color: #ded6cc;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13.5px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s;
}

.bin-textarea:focus {
    border-color: var(--c-orange);
}

.bin-lines-counter {
    font-size: 12px;
    color: var(--c-text-muted);
    margin: 10px 0 14px;
}

.btn-check-bins {
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--r-sm);
}

.bin-check-success {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 12px;
}

.bin-check-success svg {
    width: 15px;
    height: 15px;
}

.bin-formats-panel {
    display: flex;
    flex-direction: column;
}

.formats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.format-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #110e0c;
    border: 1px solid #201915;
    border-radius: 6px;
    padding: 10px 14px;
}

.format-label {
    font-size: 11px;
    font-weight: 700;
    color: #796f66;
    letter-spacing: 0.5px;
}

.format-value {
    font-size: 13px;
    font-weight: 700;
    font-family: monospace;
    color: #e5ded5;
}

.formats-note {
    font-size: 12.5px;
    color: #8c8075;
    line-height: 1.55;
    margin-top: auto;
}

.bin-results-panel {
    padding: 22px 24px;
    margin-top: 4px;
}

.bin-results-header {
    margin-bottom: 16px;
}

.results-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text-bright);
    margin-bottom: 2px;
}

.results-subtitle {
    font-size: 12.5px;
    color: var(--c-text-muted);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.lookup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.lookup-table th {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #7a7067;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #231c17;
}

.lookup-table td {
    padding: 12px;
    border-bottom: 1px solid #1a1512;
    color: #d6cdc4;
}

.lookup-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.cell-index {
    color: var(--c-text-muted);
    font-size: 12px;
}

.cell-bin {
    font-family: monospace;
    font-size: 13.5px;
    color: #ffffff;
}

.status-pill {
    display: inline-block;
    padding: 2.5px 10px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.badge-status-found {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-status-notfound {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.table-empty-row {
    text-align: center;
    padding: 30px !important;
    color: var(--c-text-muted) !important;
    font-style: italic;
}

@media (max-width: 960px) {
    .bin-checker-grid {
        grid-template-columns: 1fr;
    }
}

.faq-kpi-strip {
    grid-template-columns: repeat(2, 1fr) !important;
}

.faq-panel {
    background: #14110f;
    border: 1px solid #231e1a;
    padding: 24px 28px;
}

.faq-panel-header {
    margin-bottom: 20px;
}

.faq-panel-title {
    font-size: 20px;
    font-weight: 700;
    color: #f7f3ee;
    margin: 4px 0 2px 0;
}

.faq-entries-counter {
    font-size: 13px;
    color: #8a8077;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-entry {
    background: #181412;
    border: 1px solid #26201b;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.faq-entry:hover {
    border-color: #382d24;
}

.faq-entry[open] {
    border-color: #3e3228;
    background: #1a1513;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #ded6cc;
    user-select: none;
    list-style: none;
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    width: 16px;
    height: 16px;
    color: #6f6761;
    transition: transform 0.2s ease, color 0.15s ease;
    flex-shrink: 0;
}

.faq-entry:hover .faq-chevron {
    color: #a89f97;
}

.faq-entry[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--c-orange);
}

.faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #9c9187;
    border-top: 1px solid #231c17;
    padding-top: 12px;
}

.badge-fast-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d281a;
    border: 1px solid #14532d;
    color: #34d399;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-status-approved {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.badge-status-declined {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}


.announcements-header-subtitle {
    font-size: 13.5px;
    color: #8c8075;
}

.btn-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1613;
    border: 1px solid #2d241e;
    color: #dfd8d0;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-back-shop i {
    width: 15px;
    height: 15px;
}

.btn-back-shop:hover {
    background: #251f1a;
    border-color: #42342a;
    color: #ffffff;
}

.badge-new-bases {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f241a;
    border: 1px solid #14532d;
    color: #34d399;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.badge-new-bases i {
    width: 14px;
    height: 14px;
}

.badge-new-bases small {
    color: #8c8075;
    font-size: 11px;
    margin-left: 2px;
}

.kpi-strip-news {
    grid-template-columns: repeat(3, 1fr) !important;
}

.news-feed-panel {
    background: #14110f;
    border: 1px solid #231e1a;
    padding: 24px;
    min-height: auto;
    justify-content: flex-start;
}

.news-feed-header {
    margin-bottom: 20px;
}

.news-feed-title {
    font-size: 20px;
    font-weight: 700;
    color: #f7f3ee;
    margin-top: 2px;
}

.news-feed-count {
    font-size: 13px;
    color: #8a8077;
    margin-top: 4px;
}

.news-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-card-box {
    background: #181412;
    border: 1px solid #26201b;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.15s ease;
}

.news-card-box:hover {
    border-color: #3d322b;
}

.news-card-head {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

.news-card-time {
    font-size: 12px;
    color: #6f6761;
}

.news-card-desc {
    font-size: 13.5px;
    color: #c9bfb5;
    margin: 4px 0 2px 0;
}

.news-card-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
    color: #a89f97;
}

@media (max-width: 768px) {
    .kpi-strip-news {
        grid-template-columns: 1fr !important;
    }
}
