/* Nexora Form, Auth & Component Enhancements */
:root {
    --nexora-bg: #080e10;
    --nexora-panel: #121a1c;
    --nexora-panel-2: #161f21;
    --nexora-mint: #a2e6d1;
    --nexora-green: #71d9a9;
    --nexora-muted: #899997;
    --nexora-line: #23302f;
    --nexora-white: #f3f7f5;
    --nexora-gold: #dac18d;
    --nexora-red: #e98894;
}

/* Base Input and Form Controls in Nexora Style */
.form--control,
.form-control,
.form-select,
.select2-container--default .select2-selection--single {
    background-color: #0c1617 !important;
    border: 1px solid #253634 !important;
    color: #eaf5f0 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    height: 44px;
    padding: 0 14px;
    transition: all 0.2s ease;
}

textarea.form--control,
textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
}

.form--control:focus,
.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    background-color: #0d1a1b !important;
    border-color: #72daa8 !important;
    box-shadow: 0 0 0 3px rgba(114, 218, 168, 0.15) !important;
    color: #ffffff !important;
    outline: none !important;
}

.form--control::placeholder,
.form-control::placeholder {
    color: #728480 !important;
    font-size: 13px;
}

.form-label,
label.form-label {
    color: #c0cfc8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
}

/* Button Upgrades */
.btn--base,
.mint-button {
    background: linear-gradient(110deg, #a2e8d4, #78dcba) !important;
    color: #0c1a16 !important;
    border: 1px solid #9ef2d7 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 10px rgba(114, 218, 168, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn--base:hover,
.mint-button:hover {
    background: #c3fae6 !important;
    color: #06130f !important;
    box-shadow: 0 4px 16px rgba(114, 218, 168, 0.35);
    transform: translateY(-1px);
}

.btn--outline {
    background: #141f20 !important;
    border: 1px solid #2b3b38 !important;
    color: #e0ece5 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s ease;
}

.btn--outline:hover {
    background: #1d2e2a !important;
    border-color: #6ed3a2 !important;
    color: #9ee5c3 !important;
}

.btn--danger {
    background: #9f3645 !important;
    color: #fff !important;
    border: 1px solid #c74c5e !important;
    border-radius: 10px !important;
}

/* Checkbox & Radio */
.form-check-input {
    background-color: #0d1617;
    border: 1px solid #2c3e3a;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #72daa8;
    border-color: #72daa8;
}

.form-check-label {
    color: #bccac3;
    font-size: 12px;
}

/* Auth Pages Styling */
.nexora-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    background: radial-gradient(circle at 50% 10%, #0e1e1e 0%, #080e10 50%, #05090a 100%);
}

.nexora-auth-card {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(135deg, #131c1d 0%, #151e20 60%, #121a1b 100%);
    border: 1px solid #243533;
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    color: #f1f7f4;
}

.nexora-auth-card.wide {
    max-width: 680px;
}

.nexora-auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.nexora-auth-header .brand-mark {
    margin: 0 auto 12px;
    width: 40px;
    height: 40px;
}

.nexora-auth-header .brand-mark .icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(114, 218, 168, 0.6));
}

.nexora-auth-header h1 {
    font-size: 20px;
    font-weight: 750;
    color: #ffffff;
    margin: 0 0 6px;
}

.nexora-auth-header p {
    font-size: 12px;
    color: #92a49d;
    margin: 0;
}

/* Alerts and Notices */
.alert {
    border-radius: 12px !important;
    font-size: 12px;
    padding: 12px 16px;
}

.alert-danger {
    background-color: #211215 !important;
    border: 1px solid #572029 !important;
    color: #fca5a5 !important;
}

.alert-info {
    background-color: #0f1c24 !important;
    border: 1px solid #1a3f54 !important;
    color: #93c5fd !important;
}

.alert-warning {
    background-color: #241d0e !important;
    border: 1px solid #523f15 !important;
    color: #fde047 !important;
}

.alert-success {
    background-color: #0d241d !important;
    border: 1px solid #195240 !important;
    color: #86efac !important;
}

/* Social Login Buttons */
.social-login-btn {
    height: 42px;
    border-radius: 10px;
    background: #111a1b;
    border: 1px solid #233431;
    color: #e4eee9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
}

.social-login-btn:hover {
    background: #1a2926;
    border-color: #71daa7;
    color: #9ee6c5;
}

/* Password Eye Toggle */
.input-group .password-show-hide {
    background: #0c1617;
    border: 1px solid #253634;
    border-left: 0;
    color: #8a9d96;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}

.input-group .form--control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Dashboard Extensions */
.dashboard-alert-wrap {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.home-wallets-section {
    grid-column: 1 / -1;
    margin-top: 14px;
}

.home-wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.wallet-mini-card {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 14px;
    transition: transform 0.2s, border-color 0.2s;
}

.wallet-mini-card:hover {
    transform: translateY(-2px);
    border-color: #3b564e;
}

.wallet-mini-card .coin-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #263834;
}

.wallet-mini-card .coin-details {
    flex: 1;
    min-width: 0;
}

.wallet-mini-card .coin-details span {
    font-size: 11px;
    color: var(--nexora-muted);
    font-weight: 600;
    display: block;
}

.wallet-mini-card .coin-details strong {
    font-size: 15px;
    color: var(--nexora-white);
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-activity-list {
    grid-area: activity;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-activity-item {
    height: 60px;
    background: #141f1f;
    border: 1px solid #283734;
    border-radius: 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s;
}

.home-activity-item:hover {
    background: #182726;
    border-color: #3a524a;
}

.home-activity-item .info {
    flex: 1;
    min-width: 0;
}

.home-activity-item .info strong {
    font-size: 12px;
    color: #f1f7f4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-activity-item .info small {
    font-size: 10px;
    color: #83968e;
    display: block;
    margin-top: 2px;
}

.home-activity-item .amount {
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

@media(max-width: 767px) {
    .home-wallets-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .wallet-mini-card {
        padding: 10px 12px;
        gap: 10px;
    }
    .wallet-mini-card .coin-img {
        width: 28px;
        height: 28px;
    }
    .wallet-mini-card .coin-details strong {
        font-size: 13px;
    }
}

/* Phase 3: Mining Plans & Purchasing System */
.miner-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 16px;
    scrollbar-width: none;
}
.miner-filter-tabs::-webkit-scrollbar {
    display: none;
}
.miner-filter-btn {
    background: #111a1b;
    border: 1px solid #253633;
    color: #9cb1a9;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
.miner-filter-btn:hover {
    color: #e2f4ed;
    border-color: #496a5f;
    background: #162423;
}
.miner-filter-btn.active {
    background: #1d332c;
    border-color: #6ed3a2;
    color: #9fe6c4;
    box-shadow: 0 0 10px rgba(110, 211, 162, 0.2);
}

.miners-page .miner-card {
    height: auto !important;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #121c1d 0%, #172423 60%, #121b1b 100%);
    border: 1px solid #273936;
    border-radius: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.miners-page .miner-card:hover {
    transform: translateY(-2px);
    border-color: #65caa1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 14px rgba(101, 202, 161, 0.12);
}
.miners-page .miner-card .card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}
.miners-page .miner-card .coin-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #162624;
    border: 1px solid #334d44;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a2e6d1;
}
.miners-page .miner-card .coin-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.miners-page .miner-card .plan-meta {
    flex: 1;
    min-width: 0;
}
.miners-page .miner-card .plan-meta h4 {
    font-size: 16px;
    font-weight: 750;
    color: #ffffff;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.miners-page .miner-card .plan-meta .miner-name {
    font-size: 11px;
    color: #8fa59d;
    font-weight: 600;
}
.miners-page .miner-card .status-pill {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    background: #172a24;
    border: 1px solid #314d43;
    color: #9ee5c3;
    text-transform: uppercase;
}
.miners-page .miner-card .status-pill.active {
    background: #1c3d31;
    border-color: #6ed3a2;
    color: #72daa8;
    box-shadow: 0 0 8px rgba(114, 218, 168, 0.3);
}

.miners-page .miner-card .power-block {
    margin: 14px 0 10px;
    padding: 10px 14px;
    background: #0d1516;
    border: 1px solid #20302d;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.miners-page .miner-card .power-block .power-val {
    font-size: 15px;
    font-weight: 800;
    color: #a5ecc7;
}
.miners-page .miner-card .power-block .power-lbl {
    font-size: 10px;
    color: #82958d;
    text-transform: uppercase;
    font-weight: 600;
}

.miners-page .miner-card .price-row {
    margin: 10px 0 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.miners-page .miner-card .price-row .main-price {
    font-size: 22px;
    font-weight: 850;
    color: #ffffff;
}
.miners-page .miner-card .price-row .period-unit {
    font-size: 11px;
    color: #8da198;
    font-weight: 600;
}

.miners-page .miner-card .stats-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px dashed #243532;
    padding-top: 12px;
}
.miners-page .miner-card .stats-list li {
    font-size: 11px;
    color: #9cb1a9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.miners-page .miner-card .stats-list li span.val {
    color: #e4eee9;
    font-weight: 650;
}
.miners-page .miner-card .stats-list li.feature-item {
    justify-content: flex-start;
    gap: 6px;
}
.miners-page .miner-card .stats-list li.feature-item .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #72daa8;
    flex-shrink: 0;
}

.miners-page .miner-card .card-footer-action {
    margin-top: 12px;
}
.miners-page .miner-card .card-footer-action .btn--base {
    width: 100%;
}

/* Plan Empty State */
.empty-miners-card {
    grid-column: 1 / -1;
    padding: 44px 20px;
    text-align: center;
    background: #111a1b;
    border: 1px dashed #283a37;
    border-radius: 18px;
}
.empty-miners-card .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #72daa8;
    opacity: 0.8;
}
.empty-miners-card h3 {
    font-size: 18px;
    font-weight: 750;
    color: #ffffff;
    margin: 0 0 8px;
}
.empty-miners-card p {
    font-size: 12px;
    color: #8da198;
    max-width: 440px;
    margin: 0 auto 20px;
}

/* Modal Improvements */
.custom--modal .modal-content {
    background: linear-gradient(135deg, #121c1d 0%, #152221 100%) !important;
    border: 1px solid #2b3e3a !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(114, 218, 168, 0.08) !important;
    color: #f1f7f4 !important;
}
.custom--modal .modal-header {
    border-bottom: 1px solid #223430 !important;
    padding: 18px 22px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom--modal .modal-header .modal-title {
    font-size: 16px !important;
    font-weight: 750 !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom--modal .modal-header .btn-close,
.custom--modal .modal-header .close {
    background: transparent !important;
    border: none !important;
    color: #8aa096 !important;
    font-size: 22px !important;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.custom--modal .modal-header .close:hover {
    color: #ffffff !important;
}
.custom--modal .modal-body {
    padding: 22px !important;
}
.custom--modal .plan-summary-box {
    background: #0d1516;
    border: 1px solid #223531;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}
.custom--modal .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 12px;
    color: #92a79f;
    border-bottom: 1px solid #1a2826;
}
.custom--modal .summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.custom--modal .summary-row span.val {
    color: #ffffff;
    font-weight: 700;
}
.custom--modal .summary-row.total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #304741;
}
.custom--modal .summary-row.total span.val {
    font-size: 17px;
    color: #72daa8;
}

/* Phase 4: Mining Tracks & Hardware Control */
.tracks-ledger-section {
    grid-column: 1 / -1;
    margin-top: 24px;
}
.tracks-ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.tracks-ledger-header h3 {
    font-size: 16px;
    font-weight: 750;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nexora-table-wrap {
    background: #111a1b;
    border: 1px solid #233532;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.nexora-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2ede8;
    margin-bottom: 0;
}
.nexora-table th {
    background: #0d1516;
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8da198;
    border-bottom: 1px solid #213330;
    white-space: nowrap;
}
.nexora-table td {
    padding: 14px 16px;
    font-size: 12px;
    border-bottom: 1px solid #1a2826;
    vertical-align: middle;
}
.nexora-table tbody tr {
    transition: background-color 0.2s ease;
}
.nexora-table tbody tr:hover {
    background: #152221;
}
.nexora-table tbody tr:last-child td {
    border-bottom: none;
}
.track-progress-wrap {
    min-width: 120px;
}
.track-progress-bar {
    width: 100%;
    height: 6px;
    background: #1d2b29;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}
.track-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5dbb95, #72daa8);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(114, 218, 168, 0.35);
}
.track-progress-text {
    font-size: 10px;
    color: #8ea198;
    display: flex;
    justify-content: space-between;
}
.track-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    text-transform: uppercase;
}
.track-status-badge.approved {
    background: #173229;
    border: 1px solid #366654;
    color: #72daa8;
}
.track-status-badge.unpaid {
    background: #332414;
    border: 1px solid #6b4d24;
    color: #dac18d;
}
.track-status-badge.pending {
    background: #2b2314;
    border: 1px solid #574421;
    color: #e5c378;
}
.track-status-badge.completed {
    background: #1b2628;
    border: 1px solid #324647;
    color: #92a4a7;
}
.track-status-badge.rejected {
    background: #331519;
    border: 1px solid #63222a;
    color: #ea8a96;
}
.btn-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #162423;
    border: 1px solid #2d443e;
    color: #a2e6d1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-action-icon:hover {
    background: #223a35;
    border-color: #6ed3a2;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile Track Cards */
.tracks-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.track-mobile-card {
    background: linear-gradient(135deg, #121c1d 0%, #152221 100%);
    border: 1px solid #253633;
    border-radius: 16px;
    padding: 16px;
}
.track-mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.track-mobile-card-top strong {
    font-size: 14px;
    color: #ffffff;
    display: block;
}
.track-mobile-card-top small {
    font-size: 11px;
    color: #8da198;
}
.track-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #0d1617;
    border: 1px solid #20302d;
    border-radius: 10px;
}
.track-mobile-grid div small {
    font-size: 10px;
    color: #869992;
    display: block;
}
.track-mobile-grid div strong {
    font-size: 12px;
    color: #e2f4ed;
}

@media (max-width: 767px) {
    .nexora-table-desktop {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .tracks-mobile-list {
        display: none !important;
    }
}

/* Phase 5: Wallets & Payment Gateways */
.wallet-page .assets-card {
    height: auto !important;
    min-height: 130px;
    padding: 6px 16px;
    background: #111a1b;
    border: 1px solid #233532;
    border-radius: 18px;
}
.wallet-page .asset-row {
    height: auto !important;
    min-height: 64px;
    padding: 12px 0;
    border-bottom: 1px solid #1c2a27;
    width: 100%;
    display: flex;
    align-items: center;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.wallet-page .asset-row:hover {
    transform: translateX(2px);
}
.wallet-page .asset-row:last-child {
    border-bottom: none;
}
.wallet-page .asset-info-col {
    flex: 1;
    min-width: 0;
    padding-left: 12px;
}
.wallet-page .asset-info-col strong {
    font-size: 14px;
    color: #ffffff;
    display: block;
}
.wallet-page .asset-info-col small {
    font-size: 11px;
    color: #8da198;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.wallet-page .asset-balance-col {
    text-align: right;
    padding-right: 12px;
}
.wallet-page .asset-balance-col strong {
    font-size: 14px;
    color: #a5ecc7;
    display: block;
}
.wallet-page .asset-balance-col small {
    font-size: 10px;
    color: #869992;
    display: block;
}

/* Payment Gateway Checkout UI */
.gateway-card {
    background: transparent;
}
.payment-system-list {
    background: #111a1b;
    border: 1px solid #233532;
    border-radius: 18px;
    padding: 18px;
}
.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0d1516;
    border: 1px solid #20312d;
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.payment-item:hover {
    background: #152422;
    border-color: #496f62;
}
.payment-item.active,
.payment-item:has(input:checked) {
    background: #172d27;
    border-color: #6ed3a2;
    box-shadow: 0 0 12px rgba(110, 211, 162, 0.22);
}
.payment-item__thumb-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #152422;
    padding: 4px;
    border: 1px solid #283a36;
}
.payment-item__name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}
.deposit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: #8fa299;
    border-bottom: 1px solid #1c2b28;
}
.deposit-info .text {
    margin-bottom: 0;
    color: #e2f2ea;
    font-weight: 600;
}
.deposit-info.total-amount .final-amount {
    font-size: 22px;
    font-weight: 850;
    color: #72daa8;
}

/* Wallet Actions Multi-Button Styling */
.wallet-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
    height: auto !important;
    min-height: 44px !important;
    margin-bottom: 22px !important;
}

.wallet-actions a,
.wallet-actions button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    height: 44px !important;
    padding: 0 10px !important;
    letter-spacing: 0.5px !important;
}

@media (max-width: 480px) {
    .wallet-actions {
        grid-template-columns: 1fr 1fr !important;
    }
    .wallet-actions .buy-hashrate-btn {
        grid-column: span 2;
    }
}

/* Phase 6: Withdrawals & Payout Workflow */
.withdraw-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.withdraw-coin-card {
    background: linear-gradient(135deg, #111a1c 0%, #152222 100%);
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdraw-coin-card:hover {
    border-color: #3b5f54;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(114, 218, 168, 0.08);
}

.withdraw-coin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.withdraw-coin-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdraw-coin-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #172725;
    border: 1px solid #28413a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.withdraw-coin-icon img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.withdraw-coin-meta strong {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
    display: block;
}

.withdraw-coin-meta span {
    font-size: 11px;
    color: #8da198;
}

.withdraw-coin-balance {
    background: #0d1617;
    border: 1px solid #1c2b29;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.withdraw-coin-balance-val strong {
    font-size: 16px;
    font-weight: 750;
    color: #72daa8;
    display: block;
    line-height: 1.2;
}

.withdraw-coin-balance-val span {
    font-size: 11px;
    color: #869b91;
}

.withdraw-address-box {
    background: #13201e;
    border: 1px dashed #263b36;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11px;
}

.withdraw-address-box .address-label {
    color: #839b90;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.withdraw-address-box .address-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #e5f5ee;
    word-break: break-all;
    font-size: 11px;
}

.withdraw-limits-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
    color: #8ba096;
    border-top: 1px solid #1c2a27;
    padding-top: 12px;
}

.withdraw-limits-bar b {
    color: #d8e5df;
    font-weight: 600;
}

/* Receipt Card for Preview */
.withdraw-receipt-card {
    background: linear-gradient(135deg, #111a1b 0%, #142020 100%);
    border: 1px solid #273d38;
    border-radius: 20px;
    padding: 30px;
    max-width: 580px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(114, 218, 168, 0.08);
}

.receipt-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #192d27;
    border: 2px solid #376054;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72daa8;
    margin: 0 auto 16px;
}

.receipt-list {
    background: #0d1516;
    border: 1px solid #1f302d;
    border-radius: 14px;
    padding: 16px;
    margin: 20px 0;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #182624;
    font-size: 12px;
    color: #8fa49a;
}

.receipt-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.receipt-item b,
.receipt-item strong {
    color: #ffffff;
    font-size: 13px;
}

/* Nexora Ledger Table */
.nexora-table-container {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.nexora-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.nexora-table thead th {
    background: #142222;
    color: #8fa49a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid #223733;
}

.nexora-table tbody td {
    padding: 14px 18px;
    color: #e5f0ea;
    font-size: 12px;
    border-bottom: 1px solid #182623;
    vertical-align: middle;
}

.nexora-table tbody tr:hover {
    background: #152424;
}

.nexora-table tbody tr:last-child td {
    border-bottom: none;
}

.badge--pending {
    background: rgba(229, 184, 105, 0.15);
    border: 1px solid #e5b869;
    color: #f7cb7d;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge--approved {
    background: rgba(114, 218, 168, 0.15);
    border: 1px solid #72daa8;
    color: #8ee2b9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge--rejected {
    background: rgba(233, 118, 130, 0.15);
    border: 1px solid #e97682;
    color: #fca2aa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Phase 7: Analytics & Transaction Ledger */
.analytics-ledger-wrap {
    grid-column: 1 / -1;
    margin-top: 14px;
}

.filter-card-cyber {
    background: linear-gradient(135deg, #111a1c 0%, #142220 100%);
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 22px;
}

.filter-card-cyber label {
    font-size: 11px;
    font-weight: 700;
    color: #92a89f;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-card-cyber .form--control,
.filter-card-cyber select.custom--select {
    background: #0d1617 !important;
    border: 1px solid #233532 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    height: 42px !important;
    border-radius: 8px !important;
}

.filter-card-cyber select.custom--select option {
    background: #0d1617;
    color: #ffffff;
}

.remark-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: #162624;
    border: 1px solid #28413a;
    color: #a4ebd0;
}

.remark-badge.remark-deposit {
    background: rgba(114, 218, 168, 0.12);
    border-color: #72daa8;
    color: #8ee2b9;
}

.remark-badge.remark-payment {
    background: rgba(56, 189, 248, 0.12);
    border-color: #38bdf8;
    color: #7dd3fc;
}

.remark-badge.remark-withdraw {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #fca5a5;
}

.remark-badge.remark-referral_commission {
    background: rgba(234, 179, 8, 0.12);
    border-color: #eab308;
    color: #fde047;
}

.amount-plus {
    color: #72daa8 !important;
    font-weight: 750;
}

.amount-minus {
    color: #f87171 !important;
    font-weight: 750;
}

/* Phase 8: Referral & Affiliate Program */
.referral-share-card {
    background: linear-gradient(135deg, #111a1c 0%, #152623 100%);
    border: 1px solid #28413b;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 15px rgba(114, 218, 168, 0.06);
}

.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.referral-stat-card {
    background: #11191b;
    border: 1px solid #223531;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.referral-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #172a26;
    border: 1px solid #2e4d43;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72daa8;
    flex-shrink: 0;
}

.referral-stat-info span {
    font-size: 11px;
    color: #8da198;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.referral-stat-info strong {
    font-size: 19px;
    font-weight: 750;
    color: #ffffff;
    display: block;
    line-height: 1.2;
    margin-top: 2px;
}

/* Treeview Cyber Theming */
.treeview-cyber-wrap {
    background: #0d1516;
    border: 1px solid #223733;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.treeview-cyber-wrap .treeview ul {
    border-left: 1px dashed #2f4b43 !important;
    padding-left: 20px;
}

.treeview-cyber-wrap .treeview ul li::before {
    border-top: 1px dashed #2f4b43 !important;
}

.treeview-cyber-wrap .treeview li {
    color: #e2ede8;
    font-size: 13px;
    font-weight: 600;
}

.treeview-node-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #152422;
    border: 1px solid #2a433d;
    border-radius: 8px;
    padding: 5px 12px;
    margin: 4px 0;
    transition: all 0.2s ease;
}

.treeview-node-pill:hover {
    border-color: #72daa8;
    background: #1a2f2b;
}

.treeview-node-pill.is-root {
    background: #18332a;
    border-color: #49826d;
    box-shadow: 0 0 10px rgba(114, 218, 168, 0.15);
}

.tier-card {
    background: #121c1e;
    border: 1px solid #243834;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================
   PHASE 9: COMMUNITY, ACHIEVEMENTS & LEADERBOARD STYLES
   ============================================================ */
.community-rank-hero {
    background: linear-gradient(135deg, rgba(18, 28, 28, 0.95) 0%, rgba(13, 20, 21, 0.95) 100%);
    border: 1px solid #233532;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.community-rank-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(114, 218, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rank-hero-medallion {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 24px rgba(114, 218, 168, 0.2);
}

.rank-hero-medallion::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(114, 218, 168, 0.4);
    animation: spinSlow 30s linear infinite;
}

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

.rank-progress-bar-wrap {
    height: 8px;
    background: #0d1516;
    border: 1px solid #1f332f;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
}

.rank-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3fa073 0%, #72daa8 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(114, 218, 168, 0.4);
}

.community-tabs-nav {
    display: flex;
    gap: 8px;
    background: #0d1516;
    border: 1px solid #1e302c;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}

.community-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 9px;
    color: #8da198;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.community-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.community-tab-btn.active {
    background: #172a26;
    border: 1px solid #2d4c42;
    color: #72daa8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.community-tab-btn .badge-pill {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    background: #111e1c;
    color: #8da198;
    border: 1px solid #213630;
}

.community-tab-btn.active .badge-pill {
    background: #1d3c33;
    color: #72daa8;
    border-color: #3b6b5a;
}

/* Achievement Card */
.cyber-badge-card {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cyber-badge-card:hover {
    transform: translateY(-3px);
    border-color: #345249;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cyber-badge-card.is-unlocked {
    border-color: #2b5646;
    background: linear-gradient(180deg, #12211e 0%, #10191b 100%);
    box-shadow: 0 4px 20px rgba(114, 218, 168, 0.06);
}

.cyber-badge-card.is-locked {
    background: #0f1718;
    border-color: #1e2b29;
    opacity: 0.9;
}

.badge-medallion {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.badge-medallion.tier-bronze {
    background: linear-gradient(135deg, #3a251a, #261811);
    border: 2px solid #cd7f32;
    box-shadow: 0 0 16px rgba(205, 127, 50, 0.25);
    color: #e59d57;
}

.badge-medallion.tier-silver {
    background: linear-gradient(135deg, #2b3336, #1a2224);
    border: 2px solid #a8b8b3;
    box-shadow: 0 0 16px rgba(168, 184, 179, 0.25);
    color: #e2ede8;
}

.badge-medallion.tier-gold {
    background: linear-gradient(135deg, #3d3016, #261e0e);
    border: 2px solid #e5b869;
    box-shadow: 0 0 16px rgba(229, 184, 105, 0.3);
    color: #f7d288;
}

.badge-medallion.tier-platinum {
    background: linear-gradient(135deg, #1b382f, #11231d);
    border: 2px solid #72daa8;
    box-shadow: 0 0 18px rgba(114, 218, 168, 0.35);
    color: #8ee2b9;
}

.badge-medallion.tier-diamond {
    background: linear-gradient(135deg, #17323d, #0d2129);
    border: 2px solid #56c5e8;
    box-shadow: 0 0 20px rgba(86, 197, 232, 0.35);
    color: #80dbf7;
}

.badge-medallion.tier-quantum {
    background: linear-gradient(135deg, #2f1d42, #1f122e);
    border: 2px solid #b062ea;
    box-shadow: 0 0 22px rgba(176, 98, 234, 0.4);
    color: #ca8ff7;
}

.badge-perk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #1a2926;
    font-size: 11.5px;
}

.badge-perk-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.badge-perk-row span {
    color: #8da198;
}

.badge-perk-row strong {
    color: #ffffff;
    font-weight: 700;
}

.badge-perk-row strong.perk-val {
    color: #72daa8;
}

/* Leaderboard Terminal */
.leaderboard-panel-wrap {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
}

.leader-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-bottom: 1px solid #1c2b28;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.leader-item-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.leader-item-row:last-child {
    border-bottom: none;
}

.leader-rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.leader-rank-badge.rank-top1 {
    background: #473819;
    border: 1px solid #997831;
    color: #ffd777;
    box-shadow: 0 0 10px rgba(255, 215, 119, 0.25);
}

.leader-rank-badge.rank-top2 {
    background: #363c3d;
    border: 1px solid #7c8889;
    color: #e5eceb;
}

.leader-rank-badge.rank-top3 {
    background: #3b281f;
    border: 1px solid #794d36;
    color: #e29f79;
}

.leader-rank-badge.rank-other {
    background: #162423;
    border: 1px solid #273d36;
    color: #8da198;
}

.leader-avatar-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #2a473e;
    flex-shrink: 0;
    background: #142220;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.leader-stats-group {
    margin-left: auto;
    text-align: right;
}

.leader-stats-group strong {
    font-size: 13px;
    color: #72daa8;
    display: block;
    font-weight: 750;
    font-family: ui-monospace, monospace;
}

.leader-stats-group small {
    font-size: 10px;
    color: #8da198;
}

.user-standings-card {
    background: linear-gradient(90deg, #142823 0%, #111e1c 100%);
    border: 1px solid #2e5446;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   PHASE 10: SUPPORT TICKET & HELPDESK STYLES
   ============================================================ */
.ticket-metric-chip {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticket-priority-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ticket-priority-pill.priority-high {
    background: rgba(235, 87, 87, 0.12);
    border: 1px solid rgba(235, 87, 87, 0.35);
    color: #ff7b7b;
}

.ticket-priority-pill.priority-medium {
    background: rgba(229, 184, 105, 0.12);
    border: 1px solid rgba(229, 184, 105, 0.35);
    color: #f7d288;
}

.ticket-priority-pill.priority-low {
    background: rgba(114, 218, 168, 0.12);
    border: 1px solid rgba(114, 218, 168, 0.35);
    color: #72daa8;
}

.ticket-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ticket-status-pill.status-open {
    background: rgba(114, 218, 168, 0.12);
    border: 1px solid rgba(114, 218, 168, 0.35);
    color: #72daa8;
}

.ticket-status-pill.status-answered {
    background: rgba(86, 197, 232, 0.12);
    border: 1px solid rgba(86, 197, 232, 0.35);
    color: #70dbfb;
}

.ticket-status-pill.status-reply {
    background: rgba(229, 184, 105, 0.12);
    border: 1px solid rgba(229, 184, 105, 0.35);
    color: #f7d288;
}

.ticket-status-pill.status-closed {
    background: rgba(141, 161, 152, 0.1);
    border: 1px solid rgba(141, 161, 152, 0.25);
    color: #8da198;
}

.ticket-mobile-card {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.ticket-mobile-card:hover {
    border-color: #38594f;
}

/* Chat Stream */
.ticket-chat-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.chat-bubble-card {
    border-radius: 16px;
    padding: 20px;
    position: relative;
    border: 1px solid transparent;
}

.chat-bubble-card.is-user {
    background: #111b1d;
    border-color: #233d36;
    margin-left: 0;
}

.chat-bubble-card.is-admin {
    background: linear-gradient(135deg, #101c22 0%, #0d161a 100%);
    border-color: #25444e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.chat-sender-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-body-text {
    font-size: 13.5px;
    color: #e2ede8;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
}

.attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0d1516;
    border: 1px solid #233a35;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #72daa8;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 8px;
    margin-right: 8px;
}

.attachment-chip:hover {
    background: #162925;
    border-color: #72daa8;
    color: #ffffff;
}

.ticket-reply-terminal {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 22px;
}


/* ============================================================
   PHASE 11: PROFILE, SECURITY & ACCOUNT SETTINGS
   ============================================================ */
.account-tabs {
    display: flex;
    gap: 6px;
    background: #0d1516;
    border: 1px solid #1e302c;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
    overflow-x: auto;
}

.account-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 9px;
    color: #8da198;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.account-tab:hover { color: #ffffff; }

.account-tab.active {
    background: #172a26;
    border-color: #2d4c42;
    color: #72daa8;
}

.account-panel {
    background: #111a1c;
    border: 1px solid #233532;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
}

.account-panel-title {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-panel-title .icon { width: 16px; height: 16px; color: #72daa8; }

.account-panel .form-label {
    font-size: 12px;
    font-weight: 700;
    color: #d0ded7;
    margin-bottom: 6px;
}

.account-input {
    background: #0d1516 !important;
    border: 1px solid #233532 !important;
    color: #ffffff !important;
    height: 46px;
    font-size: 13px;
    border-radius: 10px !important;
}

.account-input:focus {
    border-color: #72daa8 !important;
    box-shadow: 0 0 0 3px rgba(114, 218, 168, 0.12) !important;
}

.account-input[readonly] {
    color: #8da198 !important;
    background: #0b1213 !important;
    cursor: not-allowed;
}

.account-input-addon {
    background: #0b1213;
    border: 1px solid #233532;
    color: #72daa8;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px 0 0 10px !important;
}

.avatar-uploader {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 2px solid #2d4c42;
    box-shadow: 0 0 22px rgba(114, 218, 168, 0.15);
    overflow: hidden;
    background: #142220;
}

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

.avatar-uploader .avatar-initial {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 800;
    color: #72daa8;
}

.avatar-uploader label {
    position: absolute;
    inset: auto 0 0 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 14, 16, 0.78);
    color: #72daa8;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin: 0;
    transition: background 0.2s ease;
}

.avatar-uploader label:hover { background: rgba(23, 42, 38, 0.95); }

.verify-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #1a2926;
    font-size: 12px;
}

.verify-row:last-child { border-bottom: none; }
.verify-row span { color: #8da198; }

.verify-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
}

.verify-pill.ok { background: rgba(114,218,168,.12); border: 1px solid rgba(114,218,168,.35); color: #72daa8; }
.verify-pill.warn { background: rgba(229,184,105,.12); border: 1px solid rgba(229,184,105,.35); color: #f7d288; }
.verify-pill.off { background: rgba(235,87,87,.12); border: 1px solid rgba(235,87,87,.35); color: #ff7b7b; }

.pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #8da198;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 6px;
}

.pw-toggle:hover { color: #72daa8; }

.pw-strength-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 8px;
}

.pw-strength-track i {
    height: 4px;
    border-radius: 4px;
    background: #1c2b28;
    transition: background 0.25s ease;
}

.pw-rule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6e827b;
    padding: 3px 0;
    transition: color 0.2s ease;
}

.pw-rule::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a3d38;
    flex-shrink: 0;
}

.pw-rule.met { color: #72daa8; }
.pw-rule.met::before { background: #72daa8; box-shadow: 0 0 6px rgba(114,218,168,.6); }

/* ==========================================================================
   DESKTOP SIDEBAR SCROLLING & NAVIGATION POLISH
   ========================================================================== */
@media (min-width: 768px) {
    .desktop-sidebar {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(114, 218, 168, 0.35) transparent !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .desktop-sidebar::-webkit-scrollbar {
        width: 5px !important;
    }

    .desktop-sidebar::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .desktop-sidebar::-webkit-scrollbar-thumb {
        background: rgba(114, 218, 168, 0.25) !important;
        border-radius: 4px !important;
    }

    .desktop-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(114, 218, 168, 0.55) !important;
    }

    .desktop-sidebar .sidebar-nav {
        flex: 1 0 auto !important;
        padding-bottom: 12px !important;
    }

    .desktop-sidebar .sidebar-bottom {
        margin-top: auto !important;
        padding-top: 18px !important;
        padding-bottom: 8px !important;
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   HEADER CIRCULAR PROFILE DROPDOWN
   ========================================================================== */
.app-header {
    overflow: visible !important;
    z-index: 100 !important;
}

.header-profile-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-profile-trigger {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    outline: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.header-profile-trigger:hover,
.header-profile-trigger:focus-visible {
    transform: scale(1.06);
}

.header-profile-trigger .profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #72daa8;
    box-shadow: 0 0 12px rgba(114, 218, 168, 0.25);
    display: block;
}

.header-profile-trigger .profile-pulse-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: #72daa8;
    border: 2px solid #080e10;
    border-radius: 50%;
    box-shadow: 0 0 6px #72daa8;
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 275px;
    max-width: 320px;
    background: #0d1719;
    background: linear-gradient(155deg, #101c1e 0%, #0c1517 100%);
    border: 1px solid #233a35;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(114, 218, 168, 0.08);
    padding: 12px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.header-profile-dropdown.open .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 12px;
}

.profile-menu-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #72daa8;
    box-shadow: 0 0 10px rgba(114, 218, 168, 0.3);
    flex-shrink: 0;
}

.profile-menu-meta {
    min-width: 0;
    flex: 1;
}

.profile-menu-name {
    display: block;
    font-size: 13.5px;
    font-weight: 750;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-username {
    display: block;
    font-size: 11px;
    color: #72daa8;
    font-weight: 600;
}

.profile-menu-email {
    display: block;
    font-size: 10.5px;
    color: #8da198;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.profile-menu-divider {
    height: 1px;
    background: #1c2e2a;
    margin: 6px 0;
}

.profile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-menu-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #c4d7cf;
    text-decoration: none;
    transition: all 0.18s ease;
}

.profile-menu-link:hover,
.profile-menu-link.active {
    background: #162824;
    color: #ffffff;
    transform: translateX(2px);
}

.profile-menu-link .profile-menu-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: #132221;
    border: 1px solid #233a34;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72daa8;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.profile-menu-link:hover .profile-menu-icon {
    background: #1e3a32;
    border-color: #72daa8;
    color: #8ef7c7;
}

.profile-menu-title-wrap {
    min-width: 0;
    flex: 1;
}

.profile-menu-title {
    display: block;
    font-size: 12.5px;
    font-weight: 650;
    color: inherit;
    line-height: 1.25;
}

.profile-menu-desc {
    display: block;
    font-size: 10px;
    color: #7b9389;
    margin-top: 2px;
}

.profile-menu-logout {
    color: #e98894;
}

.profile-menu-logout:hover {
    background: rgba(233, 136, 148, 0.12);
    color: #ff9da8;
}

.profile-menu-logout .profile-menu-icon {
    color: #e98894;
    background: rgba(233, 136, 148, 0.08);
    border-color: rgba(233, 136, 148, 0.25);
}

.profile-menu-logout:hover .profile-menu-icon {
    background: rgba(233, 136, 148, 0.2);
    border-color: #e98894;
    color: #ff9da8;
}

@media (max-width: 575px) {
    .profile-dropdown-menu {
        right: -8px;
        min-width: 250px;
        max-width: calc(100vw - 32px);
    }
}

/* ==========================================================================
   STANDARD STRUCTURED PAGE LAYOUT & CONTAINER BOUNDS
   ========================================================================== */
.app-main.standard-page,
.app-main:not(.home-page):not(.mine-page):not(.wallet-page):not(.analytics-page) {
    display: block !important;
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    min-height: calc(100vh - 76px) !important;
    padding: 30px 32px 80px !important;
    grid-template-columns: none !important;
}

@media (max-width: 767px) {
    .app-main.standard-page,
    .app-main:not(.home-page):not(.mine-page):not(.wallet-page):not(.analytics-page) {
        padding: 18px 16px 110px !important;
    }
}

.app-main.standard-page .desktop-page-heading,
.desktop-page-heading {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #1c2c29 !important;
    grid-column: 1 / -1 !important;
}

.desktop-page-heading h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 4px 0 4px;
}

.desktop-page-heading .desktop-kicker {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: #72daa8;
    font-weight: 750;
    text-transform: uppercase;
}

.desktop-page-heading p {
    font-size: 12.5px;
    color: #8da198;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .app-main.standard-page .desktop-page-heading,
    .desktop-page-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
        padding-bottom: 14px !important;
    }

    .desktop-heading-right {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        text-align: left !important;
    }

    .desktop-heading-right .header-date {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 4px !important;
    }

    .desktop-heading-right .header-indicator {
        margin-top: 0 !important;
        justify-content: flex-start !important;
    }

    .desktop-heading-right a,
    .desktop-heading-right button,
    .desktop-heading-right .btn,
    .desktop-heading-right .btn--outline,
    .desktop-heading-right .btn--base,
    .desktop-heading-right .confirmationBtn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
}

.desktop-heading-right a,
.desktop-heading-right button,
.desktop-heading-right .btn,
.desktop-heading-right .btn--outline,
.desktop-heading-right .btn--base,
.desktop-heading-right .confirmationBtn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   SEGMENTED CONTROLS & DASHBOARD SWITCHES
   ========================================================================== */
.segmented button,
.segmented a,
.segmented .btn {
    border: 0 !important;
    color: #92a89e !important;
    background: transparent !important;
    flex: 1 !important;
    border-radius: 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    transition: all 0.2s ease !important;
}

.segmented button:hover,
.segmented a:hover,
.segmented .btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.segmented button.active,
.segmented a.active,
.segmented .btn.active {
    background: linear-gradient(115deg, #1f3933, #2b4941) !important;
    color: #72daa8 !important;
    box-shadow: inset 0 1px 2px rgba(155, 237, 202, 0.15), 0 0 0 1px rgba(100, 156, 139, 0.4) !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   PAGE 1: DEPOSIT & CHECKOUT PAGE STRUCTURE
   ========================================================================== */
.deposit-page .payment-system-list {
    background: #111b1d;
    border: 1px solid #233734;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 20px;
}

.deposit-page .deposit-amount-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
}

.deposit-page .deposit-amount-group .input-group-text {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.deposit-page .deposit-amount-group .amount {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    display: block !important;
}

.deposit-page .quick-amount-btn {
    background: #14221f !important;
    border: 1px solid #253e37 !important;
    color: #8ee2b9 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    padding: 7px 18px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.deposit-page .quick-amount-btn:hover {
    background: #1c362e !important;
    border-color: #4a7767 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.deposit-page .quick-amount-btn.active {
    background: #1b382f !important;
    border-color: #72daa8 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(114, 218, 168, 0.25) !important;
}

.deposit-page .gateway-option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-page .payment-item {
    background: #0e1718;
    border: 1px solid #203330;
    border-radius: 11px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.deposit-page .payment-item:hover {
    border-color: #3b5a51;
    background: #132120;
    transform: translateY(-1px);
}

.deposit-page .payment-item.active {
    background: #142823;
    border-color: #72daa8;
    box-shadow: 0 0 12px rgba(114, 218, 168, 0.15);
}

.deposit-page .payment-item__thumb-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    background: #172422;
    padding: 2px;
    border: 1px solid #253935;
}

.deposit-page .payment-item__name {
    font-size: 13px;
    font-weight: 750;
    color: #ffffff;
}

.deposit-page .deposit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #1a2a27;
    font-size: 12px;
    color: #8da198;
}

.deposit-page .deposit-info .text {
    color: #ffffff;
    font-weight: 600;
}

.deposit-page .deposit-info.total-amount {
    font-size: 15px;
    color: #ffffff;
    border-bottom: none;
}

.deposit-page .deposit-info.total-amount .final-amount {
    font-size: 20px;
    font-weight: 800;
    color: #72daa8;
}

.deposit-page .sticky-deposit-summary {
    position: sticky;
    top: 96px;
}

/* ==========================================================================
   PAGE 2: WITHDRAWAL METHODS & YIELD PAGE STRUCTURE
   ========================================================================== */
.withdraw-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    width: 100%;
}

@media (max-width: 480px) {
    .withdraw-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.withdraw-coin-card {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.22s ease;
}

.withdraw-coin-card:hover {
    border-color: #3b5c52;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 14px rgba(114, 218, 168, 0.08);
}

.withdraw-coin-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.withdraw-coin-identity {
    min-width: 0 !important;
    flex-shrink: 1 !important;
}

.withdrawBtn,
.withdraw-coin-header .withdrawBtn,
.withdraw-coin-header .btn--base.withdrawBtn,
.withdraw-coin-header .btn--outline.editAddressBtn {
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    box-shadow: none !important;
}

.withdrawBtn .icon,
.withdraw-coin-header .withdrawBtn .icon,
.withdraw-coin-header .editAddressBtn .icon {
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.withdrawBtn span,
.withdraw-coin-header .withdrawBtn span,
.withdraw-coin-header .editAddressBtn span {
    white-space: nowrap !important;
    line-height: 1 !important;
    display: inline !important;
    font-size: 11px !important;
}

.withdraw-coin-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdraw-coin-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #172927;
    border: 1px solid #2c4740;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.withdraw-coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.withdraw-coin-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.withdraw-coin-meta span {
    display: block;
    font-size: 11px;
    color: #8da198;
}

.withdraw-coin-balance {
    background: #0d1617;
    border: 1px solid #1f312e;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.withdraw-coin-balance-val span {
    font-size: 10.5px;
    color: #8da198;
    display: block;
}

.withdraw-coin-balance-val strong {
    font-size: 16px;
    font-weight: 800;
    color: #72daa8;
    display: block;
    margin-top: 2px;
}

.withdraw-address-box {
    background: #0d1617;
    border: 1px solid #1f312e;
    border-radius: 10px;
    padding: 10px 14px;
}

.withdraw-address-box .address-label {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #8da198;
    margin-bottom: 4px;
}

.withdraw-address-box .address-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11.5px;
    color: #d1ded7;
    word-break: break-all;
    white-space: normal;
}

.withdraw-limits-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #1e302c;
    font-size: 11px;
    color: #859c92;
    margin-top: auto;
}

.withdraw-limits-bar b {
    color: #c9ded5;
    font-weight: 600;
}

/* ==========================================================================
   PAGE 3: AI MINING PLANS & RIG CONTRACTS PAGE STRUCTURE (RESTRUCTURED)
   ========================================================================== */
.plans-page .miner-filter-bar {
    width: 100%;
}

.plans-page .miner-filter-btn {
    background: #101c1e;
    border: 1px solid #223833;
    color: #9ab0a6;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.plans-page .miner-filter-btn .miner-subname {
    color: #708a7e;
    font-size: 11px;
    font-weight: 500;
}

.plans-page .miner-filter-btn .count-pill {
    background: #182c28;
    color: #72daa8;
    border-radius: 12px;
    padding: 1px 7px;
    font-size: 10.5px;
    font-weight: 800;
}

.plans-page .miner-filter-btn:hover {
    background: #152725;
    color: #ffffff;
    border-color: #3b5c52;
}

.plans-page .miner-filter-btn.active {
    background: #172d27;
    border-color: #72daa8;
    color: #72daa8;
    box-shadow: 0 0 14px rgba(114, 218, 168, 0.18);
}

.plans-page .miner-filter-btn.active .count-pill {
    background: #72daa8;
    color: #0d1a17;
}

.plans-page .miner-cards-container {
    width: 100%;
}

.miner-category-section {
    margin-bottom: 36px !important;
}

.miner-section-header {
    border-radius: 14px !important;
    border: 1px solid #233b35 !important;
    background: linear-gradient(135deg, #101c1e 0%, #152724 100%) !important;
}

.plans-page .miner-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .plans-page .miner-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Plan Card Container */
.hardware-plan-card {
    background: #111c1e !important;
    border: 1px solid #233934 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    transition: all 0.22s ease !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    min-height: 480px !important;
}

.hardware-plan-card:hover {
    border-color: #3f665a !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(114, 218, 168, 0.12) !important;
}

/* Card Top: Avatar, Title, Network, Status */
.plan-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-coin-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #162a27;
    border: 1px solid #2e4d44;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.plan-coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-card-identity {
    flex: 1;
    min-width: 0;
}

.plan-card-identity h4 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-network {
    font-size: 11px;
    color: #8da198;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-status-badge {
    font-size: 9.5px;
    font-weight: 800;
    color: #72daa8;
    background: rgba(114, 218, 168, 0.1);
    border: 1px solid rgba(114, 218, 168, 0.3);
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Power Box */
.plan-power-box {
    background: #0c1617;
    border: 1px solid #1e332f;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-power-box .power-left {
    display: flex;
    flex-direction: column;
}

.plan-power-box .power-value {
    font-size: 20px;
    font-weight: 850;
    color: #72daa8;
    letter-spacing: -0.01em;
}

.plan-power-box .power-label {
    font-size: 10.5px;
    color: #8da198;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hash-icon-chip {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(114, 218, 168, 0.08);
    border: 1px solid rgba(114, 218, 168, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Price Row */
.plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 4px;
}

.plan-price-main {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.plan-price-main .currency-symbol {
    font-size: 18px;
    font-weight: 800;
    color: #72daa8;
}

.plan-price-main .amount-number {
    font-size: 24px;
    font-weight: 850;
    color: #ffffff;
}

.plan-duration-badge {
    font-size: 12px;
    color: #8da198;
    font-weight: 600;
}

/* Specs Box */
.plan-specs-box {
    background: #0c1617;
    border: 1px solid #1c302c;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.plan-specs-box .spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    padding: 3px 0;
}

.plan-specs-box .spec-row:not(:last-child) {
    border-bottom: 1px solid #162623;
}

.plan-specs-box .spec-label {
    color: #8da198;
}

.plan-specs-box .spec-value {
    color: #e2ede8;
    font-weight: 600;
}

.plan-specs-box .spec-row.highlight-yield .spec-value {
    color: #72daa8;
    font-weight: 750;
}

/* Feature tags */
.plan-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plan-feature-tag {
    background: #142422;
    border: 1px solid #223c34;
    color: #b7ccc3;
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Action */
.plan-action-wrap {
    margin-top: auto;
    padding-top: 8px;
}

.plan-action-wrap .buy-plan {
    height: 42px;
    font-size: 12px;
    font-weight: 750;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   PAGE 4: ACHIEVEMENTS & COMMUNITY LEADERBOARD PAGE STRUCTURE
   ========================================================================== */
.community-page .community-rank-hero {
    background: #111c1e;
    background: linear-gradient(135deg, #132223 0%, #0d1718 100%);
    border: 1px solid #253d37;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    margin-bottom: 24px;
    width: 100%;
}

.community-page .community-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1d302c;
    padding-bottom: 10px;
}

.community-page .community-tab-btn {
    background: transparent;
    border: none;
    color: #8da198;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.community-page .community-tab-btn:hover {
    color: #ffffff;
    background: #162825;
}

.community-page .community-tab-btn.active {
    background: #19312b;
    color: #72daa8;
    border: 1px solid #2b4c42;
}

.community-page .community-badges-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 20px !important;
}

@media (max-width: 480px) {
    .community-page .community-badges-grid {
        grid-template-columns: 1fr !important;
    }
}

.community-page .achievement-badge-card {
    height: auto !important;
    min-height: unset !important;
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.22s ease;
}

.community-page .achievement-badge-card:hover {
    border-color: #3b5c52;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 14px rgba(114, 218, 168, 0.08);
}

.community-page .leaderboard-card-container {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   PAGE 5: SUPPORT TICKETS PAGE STRUCTURE
   ========================================================================== */
.support-page .ticket-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

@media (max-width: 991px) {
    .support-page .ticket-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .support-page .ticket-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.support-page .ticket-metric-chip {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.support-page .ticket-table-card {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    width: 100%;
}

.support-page .nexora-table {
    width: 100%;
    border-collapse: collapse;
}

.support-page .nexora-table th {
    background: #0d1617;
    color: #8da198;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid #1f332f;
}

.support-page .nexora-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #192926;
    color: #c4d7cf;
    font-size: 12.5px;
    vertical-align: middle;
}

.support-page .nexora-table tr:hover td {
    background: rgba(22, 38, 35, 0.45);
}

.support-page .ticket-mobile-card {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   PAGE 6: PROFILE SETTINGS PAGE STRUCTURE
   ========================================================================== */
.profile-page .account-panel {
    background: #111c1e;
    border: 1px solid #233834;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 20px;
}

.profile-page .account-panel-title {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1e312d;
}

.profile-page .account-input {
    background: #0c1617 !important;
    border: 1px solid #233633 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    height: 44px;
    font-size: 13px !important;
    padding: 0 14px;
}

.profile-page .account-input:focus {
    border-color: #72daa8 !important;
    box-shadow: 0 0 0 3px rgba(114, 218, 168, 0.15) !important;
}

.profile-page .account-input-addon {
    background: #152522 !important;
    border: 1px solid #233633 !important;
    color: #72daa8 !important;
    font-weight: 700;
    border-radius: 10px 0 0 10px !important;
}

.profile-page .avatar-uploader {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 12px;
    position: relative;
    border: 2.5px solid #72daa8;
    box-shadow: 0 0 16px rgba(114, 218, 168, 0.25);
    overflow: hidden;
}

.profile-page .avatar-uploader img,
.profile-page .avatar-uploader .avatar-initial {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    background: #1a2f2b;
}

.profile-page .avatar-uploader label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 18, 19, 0.88);
    backdrop-filter: blur(4px);
    color: #72daa8;
    font-size: 8.5px;
    font-weight: 750;
    text-align: center;
    padding: 4px 0;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.profile-page .avatar-uploader label:hover {
    background: rgba(10, 18, 19, 0.98);
    color: #a4f5d2;
}

.profile-page .verify-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a2a27;
    font-size: 12px;
    color: #8da198;
}

.profile-page .verify-row:last-child {
    border-bottom: none;
}

/* ==========================================================================
   PAGE 5: MINING CONTROL & LIVE TELEMETRY SIMULATION (OPTION A)
   ========================================================================== */
.radar-wrap {
    position: relative;
    overflow: hidden;
}

/* Radar Sweep Beam */
.radar-sweep-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(
        from 0deg,
        rgba(114, 218, 168, 0.45) 0deg,
        rgba(114, 218, 168, 0.12) 35deg,
        rgba(114, 218, 168, 0.02) 65deg,
        transparent 80deg,
        transparent 360deg
    );
    animation: radar-sweep-rotate 3.4s linear infinite;
    z-index: 2;
    transform-origin: center center;
}

@keyframes radar-sweep-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulsing radar target rings */
.radar-ring-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 1px solid rgba(114, 218, 168, 0.7);
    pointer-events: none;
    animation: ring-ripple 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    z-index: 1;
}

@keyframes ring-ripple {
    0% {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        margin-left: -15px;
        opacity: 0.9;
        border-color: rgba(114, 218, 168, 0.85);
    }
    100% {
        width: 280px;
        height: 280px;
        margin-top: -140px;
        margin-left: -140px;
        opacity: 0;
        border-color: rgba(114, 218, 168, 0);
    }
}

/* Radar SVG animation classes */
.radar-svg {
    position: relative;
    z-index: 1;
}

.radar-rotate-cw {
    transform-origin: 180px 119px;
    animation: rotate-cw 20s linear infinite;
}

.radar-rotate-ccw {
    transform-origin: 180px 119px;
    animation: rotate-ccw 26s linear infinite;
}

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

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

.radar-node-blip {
    animation: node-blip-glow 2.2s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.radar-node-blip:nth-child(odd) {
    animation-duration: 1.8s;
    animation-delay: 0.4s;
}

.radar-node-blip:nth-child(3n) {
    animation-duration: 2.7s;
    animation-delay: 0.9s;
}

@keyframes node-blip-glow {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; filter: drop-shadow(0 0 5px #72daa8); transform: scale(1.35); }
}

/* Stratum v2 Live Feed Card */
.stratum-stream-card {
    background: #0d1617 !important;
    border: 1px solid #1f3530 !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}

.stratum-stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #182824;
    margin-bottom: 8px;
}

.stratum-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #72daa8;
    box-shadow: 0 0 8px #72daa8;
    animation: live-blink 1.2s infinite;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

.stratum-stream-title {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.stratum-channel-badge {
    background: #162a26;
    border: 1px solid #28443e;
    color: #72daa8;
    font-size: 9.5px;
    font-weight: 750;
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.stratum-stat-pill {
    font-size: 10.5px;
    color: #839b90;
    background: #111d1c;
    border: 1px solid #1e302b;
    padding: 2px 8px;
    border-radius: 6px;
}

.stratum-stat-pill strong {
    color: #e2ede8;
    font-weight: 700;
}

.stratum-terminal-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.stratum-timestamp {
    color: #647d72;
    font-size: 10.5px;
    flex-shrink: 0;
}

.stratum-tag {
    font-weight: 800;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    flex-shrink: 0;
}

.stratum-tag.stratum-ok {
    background: rgba(114, 218, 168, 0.15);
    color: #72daa8;
}

.stratum-tag.stratum-block {
    background: rgba(229, 184, 105, 0.15);
    color: #e5b869;
}

.stratum-tag.stratum-sync {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.stratum-tag.stratum-diff {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.stratum-msg {
    color: #cde0d7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
}

/* Micro-fluctuation subtle glow */
.hash-tick-flash {
    animation: tick-flash 0.5s ease;
}

@keyframes tick-flash {
    0% { color: #ffffff; text-shadow: 0 0 10px rgba(114, 218, 168, 0.8); }
    100% { color: inherit; text-shadow: none; }
}

/* ==========================================================================
   Active Contract Focus Card & Button Spacing Fix
   ========================================================================== */
.mine-page .contract-card,
.contract-card {
    height: auto !important;
    min-height: 124px !important;
    padding: 16px 18px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.mine-page .contract-card .contract-cols,
.contract-card .contract-cols {
    height: auto !important;
    min-height: auto !important;
    gap: 14px !important;
    align-items: flex-start !important;
}

.mine-page .contract-card .contract-cols > div,
.contract-card .contract-cols > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.mine-page .contract-card .contract-cols small,
.contract-card .contract-cols small {
    font-size: 10px !important;
    color: #9cb1a7 !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.mine-page .contract-card .contract-cols strong,
.contract-card .contract-cols strong {
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
}

.mine-page .contract-card .contract-cols div:first-child strong,
.contract-card .contract-cols div:first-child strong {
    font-size: 14px !important;
}

.mine-page .contract-card .wide-button,
.mine-page .contract-card .contract-action,
.contract-card .wide-button,
.contract-card .contract-action {
    margin-top: 14px !important;
    height: 36px !important;
    width: 100% !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    letter-spacing: 0.6px !important;
    border-radius: 10px !important;
    background: #1e332f !important;
    border: 1px solid #33544c !important;
    color: #bbf0d8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.mine-page .contract-card .wide-button:hover,
.mine-page .contract-card .contract-action:hover,
.contract-card .wide-button:hover,
.contract-card .contract-action:hover {
    background: #27453f !important;
    border-color: #4b786d !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   Active Contract & Telemetry Cards Enhancement
   ========================================================================== */
.contract-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f2f2c;
    margin-bottom: 8px;
}

.contract-coin-tag {
    background: #172a24;
    border: 1px solid #2d5547;
    color: #72daa8;
    font-size: 10px;
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.contract-coin-tag.standby {
    background: #1c2423;
    border-color: #313d3a;
    color: #9daea6;
}

.contract-plan-name {
    font-size: 13px;
    font-weight: 750;
    color: #ffffff;
    display: block;
    line-height: 1.25;
}

.contract-miner-name {
    font-size: 10.5px;
    color: #8da198;
    display: block;
    margin-top: 1px;
}

.contract-stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contract-stat-box small {
    font-size: 10px;
    color: #8da198;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
}

.contract-stat-box strong {
    font-size: 13px;
    line-height: 1.25;
    color: #ffffff;
    display: block;
}

.contract-stat-box .live-hashrate-display {
    color: #72daa8;
    font-size: 14px;
}

@media (min-width: 768px) {
    .mine-agent-pod {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .mine-agent-pod small {
        font-size: 11px;
        color: #8da39a;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    .mine-agent-pod strong {
        font-size: 20px;
        font-weight: 750;
        color: #ffffff;
    }
    .mine-agent-pod .eff-badge {
        font-size: 11px;
        color: #72daa8;
        font-weight: 600;
        margin-left: 5px;
    }
    .mine-page .mine-agent-numbers {
        display: flex !important;
        gap: 36px !important;
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .mine-page .mine-agent,
    .mine-agent {
        height: auto !important;
        min-height: auto !important;
        padding: 16px !important;
        margin-bottom: 16px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #111a1b 0%, #152220 100%) !important;
        border: 1px solid #233732 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    }

    .mine-page .mine-agent-top,
    .mine-agent-top {
        height: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .mine-page .mine-agent-top .agent-logo,
    .mine-agent-top .agent-logo {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: #162423 !important;
        border: 1px solid #293d37 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        color: #d3b882 !important;
        filter: drop-shadow(0 0 6px rgba(211, 184, 130, 0.25)) !important;
    }

    .mine-page .mine-agent-top .agent-logo .icon,
    .mine-agent-top .agent-logo .icon {
        width: 24px !important;
        height: 24px !important;
    }

    .mine-page .mine-agent-top .agent-name,
    .mine-agent-top .agent-name {
        flex: 1 !important;
        min-width: 0 !important;
        padding-top: 0 !important;
    }

    .mine-page .mine-agent-top .agent-name strong,
    .mine-agent-top .agent-name strong {
        font-size: 14px !important;
        font-weight: 750 !important;
        color: #ffffff !important;
        display: block !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .mine-page .mine-agent-top .agent-name span,
    .mine-agent-top .agent-name span {
        font-size: 11px !important;
        color: #8da198 !important;
        display: block !important;
        margin-top: 2px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .mine-page .mine-agent-top .agent-name small,
    .mine-agent-top .agent-name small {
        font-size: 10px !important;
        color: #72daa8 !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: 4px !important;
    }

    .mine-page .mine-agent .status-pill,
    .mine-agent .status-pill {
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        padding: 5px 12px !important;
        font-size: 11px !important;
        font-weight: 750 !important;
        letter-spacing: 0.5px !important;
        border-radius: 20px !important;
        background: #142a23 !important;
        border: 1px solid #2b5243 !important;
        color: #72daa8 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        box-shadow: 0 0 12px rgba(114, 218, 168, 0.15) !important;
    }

    .mine-page .mine-agent-numbers,
    .mine-agent-numbers {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 0 12px 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .mine-agent-pod {
        background: rgba(13, 21, 22, 0.75) !important;
        border: 1px solid #1f312e !important;
        border-radius: 10px !important;
        padding: 10px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .mine-agent-pod small {
        font-size: 10px !important;
        color: #859891 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        font-weight: 600 !important;
    }

    .mine-agent-pod strong {
        font-size: 15px !important;
        font-weight: 750 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
    }

    .mine-agent-pod .live-hashrate-display {
        color: #72daa8 !important;
    }

    .mine-agent-pod .eff-badge {
        font-size: 10px !important;
        color: #72daa8 !important;
        font-weight: 600 !important;
        margin-left: 4px !important;
    }

    .mine-page .agent-signal,
    .agent-signal {
        border-top: 1px solid #1e2c2a !important;
        padding-top: 10px !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .mine-page .agent-signal .icon,
    .agent-signal .icon {
        width: 16px !important;
        height: 16px !important;
        color: #72daa8 !important;
        flex-shrink: 0 !important;
    }

    .mine-page .agent-signal span,
    .agent-signal span {
        font-size: 10.5px !important;
        color: #9bb0a6 !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.35 !important;
    }

    .mine-page .contract-card,
    .contract-card {
        height: auto !important;
        min-height: auto !important;
        padding: 16px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #111a1b 0%, #152220 100%) !important;
        border: 1px solid #233732 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
        gap: 12px !important;
    }

    .contract-card-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #1f2f2c !important;
        margin-bottom: 0 !important;
    }

    .contract-card .contract-cols {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        height: auto !important;
        margin: 0 !important;
    }

    .contract-stat-box {
        background: rgba(13, 21, 22, 0.75) !important;
        border: 1px solid #1f312e !important;
        border-radius: 10px !important;
        padding: 8px 6px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 3px !important;
        border-right: none !important;
    }

    .contract-stat-box small {
        font-size: 9.5px !important;
        color: #859891 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        display: block !important;
    }

    .contract-stat-box strong {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    .mine-page .contract-card .wide-button,
    .mine-page .contract-card .contract-action,
    .contract-card .wide-button,
    .contract-card .contract-action {
        margin-top: 2px !important;
        height: 38px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        font-weight: 750 !important;
    }
}

/* Desktop 2-Column Grid Alignment: eliminates gap between readouts and stream */
@media (min-width: 1131px) {
    .mine-page {
        grid-template-areas:
            'intro intro'
            'heading heading'
            'radar agent'
            'readouts contracttitle'
            'stream contract' !important;
    }

    .mine-page .mine-readouts {
        grid-area: readouts !important;
        height: auto !important;
        min-height: 80px !important;
        margin: 0 !important;
    }

    .mine-page .stratum-stream-card {
        grid-area: stream !important;
        margin: 0 !important;
        align-self: start !important;
    }

    .mine-page .contract-title {
        grid-area: contracttitle !important;
        align-self: end !important;
        margin: 0 !important;
    }

    .mine-page .contract-card {
        grid-area: contract !important;
        margin: 0 !important;
    }
}

/* Dashboard Active Mining Track Panel & Alignment */
.home-track-panel {
    background: linear-gradient(135deg, #121c1d 0%, #152422 100%) !important;
    border: 1px solid #233732 !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.home-track-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-track-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #162423;
    border: 1px solid #293d37;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #72daa8;
}

.home-track-icon .icon {
    width: 20px;
    height: 20px;
}

.home-track-title {
    font-size: 13px;
    font-weight: 750;
    color: #ffffff;
    display: block;
    line-height: 1.25;
}

.home-track-subtitle {
    font-size: 10.5px;
    color: #8da198;
    display: block;
    margin-top: 2px;
}

.home-track-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.track-metric-box {
    background: rgba(13, 21, 22, 0.75);
    border: 1px solid #1f312e;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-metric-box small {
    font-size: 9.5px;
    color: #859891;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.track-metric-box strong {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
    line-height: 1.2;
}

.home-track-progress-wrap .track-progress-label {
    font-size: 10px;
    color: #859891;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.home-track-progress-wrap .track-progress-val {
    font-size: 10.5px;
    color: #ffffff;
    font-weight: 700;
}

.home-track-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    border-radius: 10px;
    background: #1e332f;
    border: 1px solid #33544c;
    color: #bbf0d8;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.home-track-action:hover {
    background: #27453f;
    border-color: #4b786d;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (min-width: 1131px) {
    .home-page {
        grid-template-areas:
            'intro intro'
            'welcome mode'
            'balance active'
            'stats active'
            'activitytitle progresstitle'
            'activity progress' !important;
    }

    .home-page .home-transactions-title {
        grid-area: activitytitle !important;
        margin: 6px 0 0 !important;
        height: auto !important;
    }

    .home-page .home-progress-title {
        grid-area: progresstitle !important;
        margin: 6px 0 0 !important;
        height: auto !important;
    }

    .home-page .home-activity-list {
        grid-area: activity !important;
        margin: 0 !important;
    }

    .home-page .progress-panel,
    .home-page .home-track-panel {
        grid-area: progress !important;
        height: 100% !important;
        min-height: 264px !important;
        margin: 0 !important;
        align-self: stretch !important;
    }
}

/* Admin Uploaded Brand Logo Display */
.sidebar-brand {
    display: flex !important;
    align-items: center !important;
    padding: 4px 16px 28px !important;
    text-decoration: none !important;
    min-height: 52px !important;
}

.sidebar-brand-img {
    max-width: 175px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.app-header .brand {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.app-header-brand-img {
    max-height: 36px !important;
    max-width: 135px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.drawer-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.drawer-brand-img {
    max-height: 36px !important;
    max-width: 150px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* ==========================================================================
   INSTITUTIONAL CRYPTO CLOUD MINING HOMEPAGE STYLING
   Complete design system engineered for authentic, high-contrast,
   industrial cryptocurrency mining datacenter aesthetics.
   ========================================================================== */

:root {
    --mining-bg-deep: #080e10;
    --mining-bg-card: #0d171a;
    --mining-bg-card-hover: #122125;
    --mining-bg-surface: #15272c;
    --mining-border: rgba(114, 218, 168, 0.14);
    --mining-border-hover: rgba(114, 218, 168, 0.40);
    --mining-border-light: rgba(255, 255, 255, 0.08);
    --mining-primary: #72daa8;
    --mining-primary-hover: #86e4b6;
    --mining-primary-glow: rgba(114, 218, 168, 0.25);
    --mining-accent: #22c55e;
    --mining-cyan: #38bdf8;
    --mining-text-main: #f8fafc;
    --mining-text-muted: #94a3b8;
    --mining-text-dim: #64748b;
    --mining-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* SECTION PADDING & DEFAULTS */
.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}
.py-60 {
    padding-top: 60px;
    padding-bottom: 60px;
}
.section-bg {
    background-color: #0a1316 !important;
}
.section-bg-two {
    background-color: #070c0e !important;
}

/* TYPOGRAPHY & COMMON KICKER BADGES */
.section-kicker-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(114, 218, 168, 0.08) !important;
    border: 1px solid rgba(114, 218, 168, 0.25) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    font-family: var(--mining-mono) !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: var(--mining-primary) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-title {
    display: block !important;
    text-align: center !important;
    font-size: 2.35rem !important;
    font-weight: 850 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.22 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff !important;
}

.section-desc {
    display: block !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    color: var(--mining-text-muted) !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.live-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    display: inline-block;
    animation: livePulseGreen 2s infinite ease-in-out;
}

.live-dot-cyan {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    display: inline-block;
    animation: livePulseCyan 2s infinite ease-in-out;
}

@keyframes livePulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes livePulseCyan {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   1. HERO SECTION (BANNER) - CENTERED WITH BACKGROUND IMAGE
   ========================================================================== */
.mining-hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 0;
    overflow: hidden;
    color: var(--mining-text-main);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.mining-hero-section.centered-hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mining-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    pointer-events: none;
    z-index: 0;
}

.mining-hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mining-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(114, 218, 168, 0.08);
    border: 1px solid rgba(114, 218, 168, 0.25);
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.status-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mining-primary);
    box-shadow: 0 0 10px var(--mining-primary);
    animation: livePulseGreen 2s infinite ease-in-out;
}

.mining-status-badge .badge-text {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--mining-primary);
}

.mining-hero-title {
    font-size: 3.4rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.mining-hero-desc {
    font-size: 1.12rem;
    line-height: 1.68;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.mining-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.mining-btn-primary {
    background: var(--mining-primary);
    color: #04100c !important;
    font-family: var(--mining-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid var(--mining-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(114, 218, 168, 0.35);
}

.mining-btn-primary:hover {
    background: var(--mining-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(114, 218, 168, 0.45);
    color: #020a07 !important;
}

.mining-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #f1f5f9 !important;
    font-family: var(--mining-mono);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mining-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.mining-algo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.algo-strip-label {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--mining-text-dim);
}

.algo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.algo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
}

.algo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.algo-dot.btc { background-color: #f59e0b; }
.algo-dot.eth { background-color: #38bdf8; }
.algo-dot.ltc { background-color: #94a3b8; }
.algo-dot.doge { background-color: #eab308; }

/* ASIC TELEMETRY TERMINAL */
.mining-terminal-card {
    background: #091215;
    border: 1px solid rgba(114, 218, 168, 0.25);
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(114, 218, 168, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: #0d1a1e;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.terminal-dots .dot.red { background-color: #ef4444; }
.terminal-dots .dot.yellow { background-color: #eab308; }
.terminal-dots .dot.green { background-color: #22c55e; }

.terminal-title {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.terminal-status {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mining-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mining-primary);
    box-shadow: 0 0 8px var(--mining-primary);
    animation: livePulseGreen 1.5s infinite;
}

.terminal-body {
    padding: 24px;
}

.terminal-rig-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
}

.cluster-chip {
    font-family: var(--mining-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mining-cyan);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
}

.terminal-hash-display {
    background: linear-gradient(135deg, rgba(114, 218, 168, 0.08) 0%, rgba(13, 23, 26, 0.9) 100%);
    border: 1px solid rgba(114, 218, 168, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.hash-speed-label {
    display: block;
    font-family: var(--mining-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--mining-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.hash-speed-num {
    font-family: var(--mining-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

.hash-unit {
    font-family: var(--mining-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--mining-primary);
}

.hash-graph-preview {
    width: 120px;
    height: 42px;
}

.hash-svg-chart {
    width: 100%;
    height: 100%;
}

.terminal-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.metric-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
}

.metric-cell .metric-label {
    display: block;
    font-family: var(--mining-mono);
    font-size: 0.68rem;
    color: var(--mining-text-dim);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.metric-cell .metric-val {
    font-family: var(--mining-mono);
    font-size: 0.95rem;
    font-weight: 700;
}

.terminal-log-feed {
    background: #060b0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.log-cursor {
    color: var(--mining-primary);
    font-weight: bold;
}

/* GLOBAL TELEMETRY RIBBON */
.mining-telemetry-ribbon {
    background: #0a1316;
    border-top: 1px solid rgba(114, 218, 168, 0.18);
    border-bottom: 1px solid rgba(114, 218, 168, 0.18);
    margin-top: 80px;
    padding: 26px 0;
}

.telemetry-stat-box {
    text-align: center;
    padding: 8px 12px;
    position: relative;
}

.telemetry-stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.telemetry-stat-box .stat-number {
    font-family: var(--mining-mono);
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.2;
    margin-bottom: 4px;
}

.telemetry-stat-box .stat-number small {
    color: var(--mining-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.telemetry-stat-box .stat-caption {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mining-text-muted);
}

/* ==========================================================================
   2. ASIC CLOUD MINING FLEET & CONTRACTS (PLAN)
   ========================================================================== */
.mining-plans-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.mining-coin-pills {
    display: inline-flex;
    gap: 10px;
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.2);
    border-radius: 12px;
    padding: 6px;
}

.mining-coin-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--mining-text-muted);
    font-family: var(--mining-mono);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.coin-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--mining-primary);
}

.coin-tab-code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
}

.mining-coin-tab-btn.active {
    background: var(--mining-bg-surface);
    color: var(--mining-primary);
    border-color: rgba(114, 218, 168, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.mining-rig-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.16);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.25s ease;
    position: relative;
}

.mining-rig-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 218, 168, 0.45);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(114, 218, 168, 0.1);
}

.rig-coin-badge {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mining-primary);
    background: rgba(114, 218, 168, 0.08);
    border: 1px solid rgba(114, 218, 168, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
}

.rig-speed-badge {
    font-family: var(--mining-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: #e2e8f0;
}

.rig-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: #ffffff;
}

.rig-price-box {
    margin: 12px 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rig-price-num {
    font-family: var(--mining-mono);
    font-size: 1.8rem;
    font-weight: 850;
    color: #ffffff;
    line-height: 1.1;
}

.rig-price-term {
    font-family: var(--mining-mono);
    font-size: 0.8rem;
    color: var(--mining-text-muted);
}

.rig-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.rig-spec-row .spec-label {
    color: var(--mining-text-muted);
}

.rig-spec-row .spec-value {
    font-family: var(--mining-mono);
    font-weight: 700;
}

.rig-features-list {
    list-style: none;
    font-size: 0.82rem;
    color: var(--mining-text-muted);
}

.rig-features-list li {
    padding: 4px 0;
}

.mining-btn-deploy {
    background: var(--mining-primary);
    color: #04100c !important;
    font-family: var(--mining-mono);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--mining-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(114, 218, 168, 0.3);
}

.mining-btn-deploy:hover {
    background: var(--mining-primary-hover);
    color: #020a07 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 218, 168, 0.45);
}

/* ==========================================================================
   3. PROFITABILITY CALCULATOR ENGINE
   ========================================================================== */
.mining-calc-section {
    position: relative;
    background-color: #0a1316;
    padding: 80px 0;
    color: var(--mining-text-main);
}

.mining-calc-card {
    background: #0d181c;
    border: 1px solid rgba(114, 218, 168, 0.22);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.calc-badge {
    font-family: var(--mining-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--mining-primary);
    letter-spacing: 0.08em;
}

.calc-tag-pill {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calc-input-block {
    background: #080f12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px;
}

.calc-label {
    font-family: var(--mining-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    display: block;
    margin-bottom: 12px;
}

.calc-select-box {
    background-color: #0e1b1f !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(114, 218, 168, 0.25) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-family: var(--mining-mono) !important;
    font-size: 0.88rem !important;
    outline: none !important;
}

.calc-result-box {
    background: linear-gradient(135deg, rgba(114, 218, 168, 0.1) 0%, rgba(13, 24, 28, 0.95) 100%);
    border: 1px solid rgba(114, 218, 168, 0.35);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

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

.result-label {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mining-text-dim);
    letter-spacing: 0.06em;
}

.result-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-family: var(--mining-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.result-number {
    font-family: var(--mining-mono);
    font-size: 2.1rem;
    font-weight: 850;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(114, 218, 168, 0.3);
}

.btn-calc-deploy {
    background: var(--mining-primary);
    color: #05100d !important;
    font-family: var(--mining-mono);
    font-size: 0.85rem;
    font-weight: 750;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-calc-deploy:hover {
    background: var(--mining-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 218, 168, 0.4);
}

/* ==========================================================================
   4. DATACENTER INFRASTRUCTURE & IMMERSION COOLING (ABOUT)
   ========================================================================== */
.mining-about-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.mining-infra-frame {
    border: 1px solid rgba(114, 218, 168, 0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.infra-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(9, 18, 21, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(114, 218, 168, 0.35);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.infra-floating-badge img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.mining-feature-card {
    background: #0d171a;
    border: 1px solid rgba(114, 218, 168, 0.14);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
}

.mining-feature-card:hover {
    border-color: rgba(114, 218, 168, 0.35);
    transform: translateX(4px);
    background: #101e22;
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(114, 218, 168, 0.08);
    border: 1px solid rgba(114, 218, 168, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mining-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   5. AUTOMATED DEPLOYMENT PROTOCOL (HOW IT WORKS)
   ========================================================================== */
.mining-pipeline-section {
    position: relative;
    background-color: #0a1316;
    color: var(--mining-text-main);
}

.pipeline-step-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.16);
    border-radius: 14px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.25s ease;
}

.pipeline-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 218, 168, 0.45);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(114, 218, 168, 0.1);
}

.pipeline-step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pipeline-step-num {
    font-family: var(--mining-mono);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--mining-primary);
    background: rgba(114, 218, 168, 0.1);
    border: 1px solid rgba(114, 218, 168, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
}

.pipeline-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mining-primary);
    font-size: 1.4rem;
}

.pipeline-step-title {
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 10px;
}

.pipeline-step-desc {
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ==========================================================================
   6. ADVANTAGES & SERVICES (FEATURE & SERVICE)
   ========================================================================== */
.mining-features-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.mining-advantage-card {
    background: #0d171a;
    border: 1px solid rgba(114, 218, 168, 0.14);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
}

.mining-advantage-card:hover {
    border-color: rgba(114, 218, 168, 0.35);
    background: #112024;
}

.advantage-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mining-cyan);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-title {
    font-size: 1rem;
    font-weight: 700;
}

.advantage-desc {
    font-size: 0.85rem;
    line-height: 1.5;
}

.mining-rig-centerpiece img {
    border: 1px solid rgba(114, 218, 168, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.mining-services-section {
    position: relative;
    background-color: #0a1316;
    color: var(--mining-text-main);
}

.mining-capability-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.14);
    border-radius: 12px;
    padding: 26px;
    transition: all 0.25s ease;
}

.mining-capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(114, 218, 168, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.capability-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(114, 218, 168, 0.08);
    border: 1px solid rgba(114, 218, 168, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mining-primary);
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.capability-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.capability-desc {
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ==========================================================================
   7. PROOF-OF-WORK SETTLEMENT LEDGER (TRANSACTION)
   ========================================================================== */
.mining-ledger-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.ledger-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.16);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.ledger-header {
    background: #0f1c20;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ledger-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.ledger-badge-icon.deposit {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.ledger-badge-icon.withdraw {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.ledger-live-tag {
    font-family: var(--mining-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ledger-body {
    padding: 8px 22px;
}

.ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ledger-row:last-child {
    border-bottom: none;
}

.ledger-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ledger-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(114, 218, 168, 0.1);
    border: 1px solid rgba(114, 218, 168, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mining-mono);
    font-size: 0.8rem;
    font-weight: 750;
    color: var(--mining-primary);
}
.ledger-avatar.payout {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
    color: var(--mining-cyan);
}

.ledger-username {
    font-size: 0.88rem;
}

.ledger-hash {
    font-size: 0.72rem;
}

.ledger-amount {
    font-family: var(--mining-mono);
    font-size: 0.95rem;
}

.ledger-time {
    font-family: var(--mining-mono);
    font-size: 0.72rem;
}

/* ==========================================================================
   8. MINING INTELLIGENCE REPORTS (BLOG)
   ========================================================================== */
.mining-blog-section {
    position: relative;
    background-color: #0a1316;
    color: var(--mining-text-main);
}

.mining-article-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.16);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.mining-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 218, 168, 0.35);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.article-thumb-img {
    height: 200px;
    object-fit: cover;
    filter: brightness(0.92);
}

.article-date-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(9, 18, 21, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: var(--mining-mono);
    font-size: 0.72rem;
    color: #e2e8f0;
}

.article-title a {
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: var(--mining-primary) !important;
}

.article-summary {
    font-size: 0.88rem;
    line-height: 1.55;
}

.article-read-link {
    font-family: var(--mining-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mining-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.article-read-link:hover {
    gap: 10px;
    color: var(--mining-primary-hover);
}

/* ==========================================================================
   9. VERIFIED MINER REVIEWS (TESTIMONIAL)
   ========================================================================== */
.mining-testimonials-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.mining-review-card {
    background: #0c1619;
    border: 1px solid rgba(114, 218, 168, 0.16);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.25s ease;
}

.mining-review-card:hover {
    border-color: rgba(114, 218, 168, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.review-stars {
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.verified-miner-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
    font-family: var(--mining-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.review-quote {
    font-size: 0.92rem;
    line-height: 1.6;
    font-style: italic;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(114, 218, 168, 0.3);
    object-fit: cover;
}

/* ==========================================================================
   10. KNOWLEDGE BASE (FAQ)
   ========================================================================== */
.mining-faq-section {
    position: relative;
    background-color: #0a1316;
    color: var(--mining-text-main);
}

.mining-faq-item {
    background: #0c1619 !important;
    border: 1px solid rgba(114, 218, 168, 0.16) !important;
    border-radius: 10px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.mining-faq-btn {
    background: #0c1619 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 18px 22px !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mining-faq-btn::after {
    filter: invert(1);
}

.faq-icon-bullet {
    color: var(--mining-primary);
    font-size: 1.1rem;
}

.mining-faq-body {
    background: #0c1619 !important;
    padding: 0 22px 20px 52px !important;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================================================
   11. DIFFICULTY ALERTS & CTA (SUBSCRIBE)
   ========================================================================== */
.mining-subscribe-section {
    position: relative;
    background-color: #070c0e;
    color: var(--mining-text-main);
}

.mining-subscribe-card {
    background: linear-gradient(135deg, #0f1f23 0%, #091316 100%);
    border: 1px solid rgba(114, 218, 168, 0.28);
    border-radius: 16px;
    padding: 44px 36px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.subscribe-kicker {
    font-family: var(--mining-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--mining-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.subscribe-title {
    font-size: 1.85rem;
    font-weight: 800;
}

.subscribe-desc {
    font-size: 0.92rem;
    line-height: 1.55;
}

.mining-subscribe-input-group {
    background: #060b0d;
    border: 1px solid rgba(114, 218, 168, 0.3);
    border-radius: 10px;
    padding: 6px;
}

.mining-subscribe-input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-family: var(--mining-mono) !important;
    font-size: 0.88rem !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
}

.mining-subscribe-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mining-btn-subscribe {
    background: var(--mining-primary);
    color: #05100d;
    font-family: var(--mining-mono);
    font-size: 0.85rem;
    font-weight: 750;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mining-btn-subscribe:hover {
    background: var(--mining-primary-hover);
    box-shadow: 0 4px 15px rgba(114, 218, 168, 0.4);
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS ACROSS ALL BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
    .mining-hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .telemetry-stat-box:not(:last-child)::after {
        display: none;
    }
    .telemetry-stat-box {
        margin-bottom: 12px;
    }
    .mining-calc-card,
    .mining-subscribe-card {
        padding: 24px 18px;
    }
}

@media (max-width: 575.98px) {
    .mining-hero-title {
        font-size: 1.85rem;
    }
    .mining-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .mining-btn-primary,
    .mining-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .py-80 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ==========================================================================
   AI MINERS & AUTO-REINVESTMENT ENGINE (NEXORA CYBER AESTHETIC)
   ========================================================================== */

.ai-miners-page .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ai-miners-page .status-pill.active {
    background: rgba(114, 218, 168, 0.12);
    border: 1px solid rgba(114, 218, 168, 0.35);
    color: #72daa8;
}
.ai-miners-page .status-pill.standby {
    background: rgba(229, 170, 55, 0.12);
    border: 1px solid rgba(229, 170, 55, 0.35);
    color: #e5aa37;
}
.ai-miners-page .status-pill .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: statusPulse 2s infinite ease-in-out;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-mint,
.ai-miners-page .btn-mint,
.btn-action-reinvest {
    background: #72daa8 !important;
    color: #06110f !important;
    font-weight: 750 !important;
    border: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.btn-mint:hover,
.ai-miners-page .btn-mint:hover,
.btn-action-reinvest:hover {
    background: #8eefbe !important;
    color: #040c0b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(114, 218, 168, 0.45) !important;
}

.text-mint {
    color: #72daa8 !important;
}

/* KPI Grid */
.ai-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ai-kpi-card {
    background: #0d1516;
    border: 1px solid #1e2c29;
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.2s ease;
}
.ai-kpi-card:hover {
    border-color: #2e433f;
}
.ai-kpi-card .kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.ai-kpi-card .kpi-label {
    font-size: 11px;
    font-weight: 700;
    color: #7c9088;
    letter-spacing: 0.5px;
}
.ai-kpi-card .kpi-value {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}
.ai-kpi-card .kpi-unit {
    font-size: 13px;
    font-weight: 600;
    color: #8da29a;
}
.ai-kpi-card .kpi-sub {
    font-size: 11.5px;
    color: #8da29a;
    margin-top: 6px;
}
.kpi-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}
.badge-alpha { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-guardian { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-titan { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-quantum { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-success { background: rgba(114, 218, 168, 0.15); color: #72daa8; border: 1px solid rgba(114, 218, 168, 0.3); }
.badge-muted { background: rgba(255, 255, 255, 0.06); color: #8da29a; border: 1px solid rgba(255, 255, 255, 0.1); }

/* AI Box Container */
.ai-box {
    background: #0d1516;
    border: 1px solid #1e2c29;
    border-radius: 16px;
    padding: 24px;
}
.ai-box .box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a2523;
}
.ai-box .box-title {
    font-size: 17px;
    font-weight: 750;
    color: #ffffff;
}
.ai-box .box-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #72daa8;
    background: rgba(114, 218, 168, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Strategy Cards Grid */
.strategy-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
@media (max-width: 767.98px) {
    .strategy-cards-grid {
        grid-template-columns: 1fr;
    }
}
.strategy-card {
    position: relative;
    background: #111a1c;
    border: 1.5px solid #1e2c29;
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.strategy-card:hover {
    border-color: #314742;
    transform: translateY(-2px);
}
.strategy-card.selected {
    border-color: #72daa8;
    background: #132223;
    box-shadow: 0 0 20px rgba(114, 218, 168, 0.12);
}
.strategy-card .strategy-badge {
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    color: #9cb1a8;
    margin-bottom: 12px;
}
.strategy-card.selected .strategy-badge {
    background: rgba(114, 218, 168, 0.2);
    color: #72daa8;
}
.strategy-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.strategy-icon-wrap .icon {
    width: 20px;
    height: 20px;
}
.icon-alpha { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.icon-guardian { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.icon-titan { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.icon-quantum { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.strategy-card .strategy-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.strategy-card .strategy-desc {
    font-size: 11.5px;
    color: #8da29a;
    line-height: 1.45;
    flex-grow: 1;
    margin-bottom: 14px;
}
.strategy-card .strategy-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6d827a;
    border-top: 1px solid #1a2523;
    padding-top: 10px;
}
.strategy-card .strategy-meta b {
    font-weight: 700;
}

/* Guardrails & Controls */
.guardrails-box,
.reinvestment-toggle-box {
    background: #111a1c;
    border: 1px solid #1a2725;
    border-radius: 12px;
    padding: 16px 18px;
}
.guardrails-title {
    font-size: 13px;
    font-weight: 750;
    color: #d2e4dd;
    letter-spacing: 0.3px;
}
.bg-dark-input {
    background: #0a1112 !important;
    border-color: #20312e !important;
}
.cyber-input,
.cyber-select {
    background: #0a1112;
    border: 1px solid #20312e;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    padding: 9px 12px;
}
.cyber-input:focus,
.cyber-select:focus {
    background: #0a1112;
    border-color: #72daa8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(114, 218, 168, 0.15);
}
.cyber-switch {
    background-color: #1a2624;
    border-color: #2d423e;
    cursor: pointer;
}
.cyber-switch:checked {
    background-color: #72daa8;
    border-color: #72daa8;
}

/* Pending Proposals Card */
.proposal-card {
    background: #0d1516;
    border: 1px solid #2a3d38;
    border-radius: 14px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}
.proposal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e5aa37, #72daa8);
}
.proposal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.proposal-miner {
    display: flex;
    align-items: center;
    gap: 10px;
}
.proposal-miner .miner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(114, 218, 168, 0.12);
    color: #72daa8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.proposal-title {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
}
.proposal-coin {
    font-size: 11px;
    color: #7c9088;
}
.badge-pending {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(229, 170, 55, 0.15);
    color: #e5aa37;
    border: 1px solid rgba(229, 170, 55, 0.3);
}
.proposal-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #111a1c;
    border-radius: 10px;
    padding: 12px;
}
.proposal-metric {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8da29a;
}
.proposal-metric strong {
    color: #ffffff;
}
.proposal-metric code {
    background: rgba(255, 255, 255, 0.06);
    color: #72daa8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* Telemetry Table */
.cyber-table {
    margin-bottom: 0;
    color: #d1e2db;
}
.cyber-table thead th {
    background: #111a1c;
    color: #728b81;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1d2c29;
    padding: 12px 14px;
}
.cyber-table tbody td {
    border-bottom: 1px solid #162421;
    padding: 14px;
    font-size: 12.5px;
}
.cyber-table tbody tr:hover td {
    background: rgba(114, 218, 168, 0.02);
}
.badge-action {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    color: #c0d3cb;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.decision-rationale {
    max-width: 440px;
    color: #a8beb4;
    line-height: 1.4;
}

/* Empty State */
.ai-empty-state {
    text-align: center;
    padding: 40px 20px;
}
.ai-empty-state .empty-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(114, 218, 168, 0.08);
    color: #72daa8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ai-empty-state .empty-icon .icon {
    width: 28px;
    height: 28px;
}
.ai-empty-state h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}
.ai-empty-state p {
    font-size: 12px;
    color: #728b81;
    max-width: 460px;
    margin: 0 auto;
}

/* Educational Disclaimer Box */
.ai-disclaimer-box {
    background: #091213;
    border: 1px dashed #223531;
    border-radius: 14px;
    padding: 18px 22px;
}
 
/* ==========================================================================
   MOBILE DRAWER / SIDEBAR SCROLLING FIX
   ========================================================================== */
.drawer {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-bottom: 90px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(114, 218, 168, 0.4) transparent !important;
}

.drawer::-webkit-scrollbar {
    width: 4px !important;
}

.drawer::-webkit-scrollbar-track {
    background: transparent !important;
}

.drawer::-webkit-scrollbar-thumb {
    background: rgba(114, 218, 168, 0.3) !important;
    border-radius: 4px !important;
}

.drawer::-webkit-scrollbar-thumb:hover {
    background: rgba(114, 218, 168, 0.6) !important;
}

@media (max-width: 991px) {
    .drawer {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: contain !important;
        touch-action: pan-y !important;
        z-index: 1050 !important;
        padding-bottom: 100px !important;
    }
}








