* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.container {
    padding: 20px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

@media (max-width: 768px) {

    html,
    body {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    body {
        display: block !important;
        background: #020813 !important;
    }

    #login-page,
    #app-wrapper.logged-in {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow-y: auto !important;
    }

    .bottom-nav {
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .modal-overlay,
    #custom-alert-modal {
        max-width: 100% !important;
    }
}

@media (min-width: 769px) {
    body {
        background: #000000;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: 100vh;
        overflow: hidden;
    }

    #login-page,
    #app-wrapper.logged-in {
        width: 100%;
        max-width: 480px;
        height: 100dvh;
        margin: 0 auto;
        background: #020813;
        border-radius: 16px;
        border: 2px solid rgba(0, 229, 255, 0.2);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 229, 255, 0.2);
    }

    #login-page,
    #app-wrapper.logged-in {
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #login-page::-webkit-scrollbar,
    #app-wrapper.logged-in::-webkit-scrollbar {
        display: none;
    }
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding: 0;
    background-color: #020813;
}

#login-page.login-container {
    padding: 0 !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background-color: #020813 !important;
    height: 100% !important;
    width: 100% !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.logo-wrapper {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 15px;
    flex-shrink: 0;
    z-index: 5;
    position: relative;
}

.app-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid #00e5ff;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    background-color: #09121c;
}

.app-brand-text {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.login-hero-banner {
    width: 100%;
    flex: 1;
    min-height: 0;
    height: auto;
    background-image: linear-gradient(180deg, #005f73 0%, #020813 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.top-lang-badge {
    display: none !important;
}

.login-card-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 10px auto 20px auto;
    padding: 0 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

#login-form,
#register-form,
#forgot-form {
    background-color: #09121c !important;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    width: 100% !important;
    max-width: 440px !important;
    display: flex;
    flex-direction: column;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #09121c;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 0 0 16px 16px;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #a0aec0;
    font-size: 12px;
    cursor: pointer;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #00e5ff;
    font-weight: 600;
}

.wallet-card {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.wallet-pill {
    background: #0d1b2a;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 30px;
    padding: 15px;
    text-align: center;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0 5px;
}

.wallet-pill h4 {
    font-size: 13px;
    color: #a0aec0;
    font-weight: 400;
    margin-bottom: 5px;
}

.wallet-pill h3 {
    color: #00e5ff;
    font-size: 20px;
}

.icon-row {
    display: flex;
    justify-content: space-between;
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #a0aec0;
    font-size: 12px;
    cursor: pointer;
}

.icon-btn i {
    width: 50px;
    height: 50px;
    background: #0d1b2a;
    border: 1px solid #005f73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 18px;
    margin-bottom: 8px;
}

.icon-btn.wide {
    background: #0d1b2a;
    border: 1px solid #005f73;
    padding: 15px;
    border-radius: 30px;
    flex-direction: row;
    width: 48%;
    justify-content: center;
}

.icon-btn.wide i {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    margin-right: 10px;
    color: #00e5ff;
    font-size: 24px;
    margin-bottom: 0;
}

.product-card-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.product-card {
    background: #0d1b2a;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prod-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #0d1b2a;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.prod-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-duration-badge {
    background: #00e5ff;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    white-space: nowrap;
}

.prod-content {
    display: flex;
    align-items: stretch;
}

.prod-img-box {
    width: 45%;
    background: #09121c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid rgba(0, 229, 255, 0.2);
}

.prod-img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100px;
}

.prod-table {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

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

.prod-row .label {
    color: #ffffff;
    font-size: 13px;
}

.prod-row .value {
    font-size: 13px;
    font-weight: 600;
}

.value.cyan {
    color: #00e5ff;
}

.value.green {
    color: #38a169;
}

.value.yellow {
    color: #f6c344;
}

.btn-invest-row {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    background: #0d1b2a;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
}

.btn-invest {
    background: #00e5ff;
    color: #000000;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-invest:hover {
    background: #33eeff;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.btn-presale {
    background: #00e5ff;
    color: #000000;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: default;
}

.card-locked {
    filter: blur(1px) brightness(0.85);
    opacity: 0.8;
    pointer-events: none;
    background: #0d1b2a !important;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(2, 8, 19, 0.75);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    pointer-events: auto;
}

.lock-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.lock-icon i {
    font-size: 20px;
    color: #00e5ff;
}

.presale-badge {
    background: #00e5ff;
    color: #000000;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
}

.team-header {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.team-code {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    color: #00e5ff;
}

.team-level {
    background: #0d1b2a;
    border: 1px solid #005f73;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #00e5ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
}

.team-level h4 {
    color: #00e5ff;
}

.btn-collapse {
    background: #00e5ff;
    color: #000000;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 229, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-collapse:hover {
    background: #33eeff;
}

.team-member-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #005f73;
    font-size: 14px;
    color: #a0aec0;
}

.team-member-item:last-child {
    border-bottom: none;
}

.team-member-item strong {
    color: #ffffff;
}

.task-card {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.task-header {
    display: flex;
    justify-content: space-between;
    color: #00e5ff;
    font-weight: bold;
    font-size: 16px;
}

.task-sub {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #a0aec0;
    margin: 8px 0;
}

.task-progress-container {
    position: relative;
    height: 6px;
    background: #0d1b2a;
    border: 1px solid #005f73;
    border-radius: 3px;
    margin: 10px 0;
    overflow: visible;
}

.task-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #00e5ff;
    border-radius: 3px;
    z-index: 1;
    transition: width 0.5s ease;
}

.task-dot {
    position: absolute;
    top: -3px;
    width: 12px;
    height: 12px;
    background: #00e5ff;
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
    transition: left 0.5s ease;
}

.task-desc {
    font-size: 11px;
    color: #a0aec0;
}

.task-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.task-status {
    background: #0d1b2a;
    border: 1px solid #005f73;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #a0aec0;
    cursor: default;
}

.task-status.claimable {
    background: #00e5ff;
    color: #000000;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 229, 255, 0.3);
}

.task-status.claimable:hover {
    background: #33eeff;
}

.task-status.claimed {
    background: #38a169;
    color: white;
}

.task-header-card {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.task-header-icon {
    background: #00e5ff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 229, 255, 0.3);
}

.tabs {
    display: flex;
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    color: #a0aec0;
    cursor: pointer;
}

.tab.active {
    background: #00e5ff;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
}

.gift-banner-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    width: 100%;
    padding: 2px;
    border-radius: 999px;
    border: 2px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    background: rgba(9, 18, 28, 0.8);
}

.gift-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0d1b2a 0%, #09121c 100%);
    border-radius: 999px;
    padding: 12px 16px 12px 12px;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
}

.gift-illustration {
    background: #020813;
    border: 1px solid #005f73;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.gift-illustration i {
    font-size: 24px;
    color: #00e5ff;
}

.gift-text {
    flex: 1;
    text-align: center;
    color: #00e5ff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin: 0 15px;
}

.gift-go-btn {
    background: #00e5ff;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gift-go-btn:hover {
    transform: scale(1.05);
    background: #33eeff;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.6);
}

.pay-channel {
    flex: 1;
    background: #0d1b2a;
    border: 1px solid #005f73;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #a0aec0;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-channel.active {
    border-color: #00e5ff;
    color: #00e5ff;
    background: #020813;
}

.withdraw-channel-btn {
    background: #0d1b2a;
    border: 1px solid #005f73;
    color: #00e5ff;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.withdraw-channel-btn.active {
    border-color: #00e5ff;
    background: #020813;
}

.input-with-all {
    display: flex;
    align-items: center;
    border: 1px solid #005f73;
    border-radius: 8px;
    padding: 10px 15px;
    background: #0d1b2a;
}

.input-with-all input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: #ffffff;
    margin-left: 10px;
    background: transparent;
}

.btn-all {
    background: #00e5ff;
    color: #000000;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    box-shadow: 0 2px 6px rgba(0, 229, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-all:hover {
    background: #33eeff;
}

.vertical-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    border-left: 3px solid #00e5ff;
    padding-left: 8px;
    display: inline-block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.modal-box label {
    display: block;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #a0aec0;
}

.modal-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #005f73;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #0d1b2a;
    color: #ffffff;
}

.modal-box input[type="file"] {
    padding: 8px;
}

.modal-box textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #005f73;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #0d1b2a;
    color: #ffffff;
    min-height: 100px;
}

.admin-btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    margin-left: 5px;
}

.admin-btn-edit {
    background: #00e5ff;
    color: #000000;
}

.admin-btn-edit:hover {
    background: #33eeff;
}

.admin-btn-delete {
    background: #e53e3e;
}

#custom-alert-modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

#custom-alert-modal.active {
    display: flex;
}

.custom-alert-box {
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.custom-alert-box h4 {
    color: #00e5ff;
    margin-bottom: 15px;
    font-size: 18px;
}

.custom-alert-box p {
    color: #a0aec0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.custom-alert-box button {
    background: #00e5ff;
    color: #000000;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.custom-alert-box button:hover {
    background: #33eeff;
}

#page-recharge,
#page-withdraw,
#page-add-bank,
#page-invoice,
#page-gift,
#page-admin {
    background: #020813 !important;
    color: #ffffff !important;
}

#page-recharge h3,
#page-withdraw h3,
#page-add-bank h3,
#page-invoice h3,
#page-gift h3,
#page-admin h3,
#page-recharge h4,
#page-withdraw h4,
#page-add-bank h4,
#page-invoice h4,
#page-gift h4,
#page-admin h4,
#page-recharge label,
#page-withdraw label,
#page-add-bank label,
#page-invoice label,
#page-gift label,
#page-admin label {
    color: #00e5ff !important;
}

#page-recharge div[style*="background: white"],
#page-withdraw div[style*="background: white"],
#page-add-bank div[style*="background: white"],
#page-invoice div[style*="background: white"],
#page-gift div[style*="background: white"],
#page-admin div[style*="background: white"],
#page-recharge div[style*="background: #fcf6ef"],
#page-withdraw div[style*="background: #fcf6ef"],
#page-add-bank div[style*="background: #fcf6ef"],
#page-invoice div[style*="background: #fcf6ef"],
#page-gift div[style*="background: #fcf6ef"],
#page-admin div[style*="background: #fcf6ef"] {
    background: #09121c !important;
    border: 1px solid #005f73 !important;
    color: #ffffff !important;
}

#page-recharge div[style*="background: #c9a26c"],
#page-withdraw div[style*="background: #c9a26c"],
#page-add-bank div[style*="background: #c9a26c"],
#page-invoice div[style*="background: #c9a26c"],
#page-gift div[style*="background: #c9a26c"],
#page-admin div[style*="background: #c9a26c"] {
    background: #00e5ff !important;
    color: #000000 !important;
}

#page-recharge p,
#page-recharge span,
#page-withdraw p,
#page-withdraw span,
#page-add-bank p,
#page-add-bank span,
#page-invoice p,
#page-invoice span,
#page-gift p,
#page-gift span,
#page-admin p,
#page-admin span,
#page-recharge div[style*="color: #4a5568"],
#page-withdraw div[style*="color: #4a5568"],
#page-add-bank div[style*="color: #4a5568"],
#page-invoice div[style*="color: #4a5568"],
#page-gift div[style*="color: #4a5568"],
#page-admin div[style*="color: #4a5568"] {
    color: #a0aec0 !important;
}

#page-recharge input,
#page-withdraw input,
#page-add-bank input,
#page-invoice input,
#page-gift input,
#page-admin input,
#page-recharge select,
#page-withdraw select,
#page-add-bank select,
#page-invoice select,
#page-gift select,
#page-admin select {
    background: #0d1b2a !important;
    border: 1px solid #005f73 !important;
    color: #ffffff !important;
    outline: none;
}

#page-recharge button,
#page-withdraw button,
#page-add-bank button,
#page-invoice button,
#page-gift button,
#page-admin button {
    background: #00e5ff !important;
    color: #000000 !important;
    border: none !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3) !important;
}

#page-recharge .fa-arrow-left,
#page-withdraw .fa-arrow-left,
#page-add-bank .fa-arrow-left,
#page-invoice .fa-arrow-left,
#page-gift .fa-arrow-left,
#page-admin .fa-arrow-left {
    color: #00e5ff !important;
}

#invoice-list>div {
    background: #09121c !important;
    border: 1px solid #005f73 !important;
    box-shadow: none !important;
}

#invoice-list div[style*="color: #1a202c"] {
    color: #ffffff !important;
}

#invoice-list div[style*="color: #718096"] {
    color: #a0aec0 !important;
}

#invoice-list div[style*="color: #c9a26c"] {
    color: #00e5ff !important;
}

#page-add-bank .back-header {
    background: transparent !important;
}

#page-add-bank h3 {
    color: #ffffff !important;
}

#page-team .team-header {
    background: #09121c !important;
    border: 1px solid rgba(0, 229, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

#page-team .team-code {
    background: rgba(0, 229, 255, 0.1) !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    color: #00e5ff !important;
}

#page-team .team-code span {
    color: #a0aec0 !important;
}

#page-team .team-code strong {
    color: #00e5ff !important;
}

#page-team .team-code button {
    background: #00e5ff !important;
    color: #000000 !important;
    border: none !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 229, 255, 0.3) !important;
}

#page-team .team-code button:hover {
    background: #33eeff !important;
}

#page-team .team-level {
    background: #0d1b2a !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    border-left: 4px solid #00e5ff !important;
    color: #a0aec0 !important;
}

#page-team .team-level h4 {
    color: #00e5ff !important;
}

#page-team .team-level strong {
    color: #00e5ff !important;
}

#page-team .btn-collapse {
    background: #00e5ff !important;
    color: #000000 !important;
}

#page-team .btn-collapse:hover {
    background: #33eeff !important;
}

html,
body {
    height: 100%;
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

@media (max-width: 768px) {

    html,
    body {
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
}

#login-page,
#app-wrapper.logged-in,
.page.container,
.login-card-wrapper {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

#login-page::-webkit-scrollbar,
#app-wrapper.logged-in::-webkit-scrollbar,
.page.container::-webkit-scrollbar,
.login-card-wrapper::-webkit-scrollbar {
    display: none !important;
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(201, 162, 108, 0.8));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(201, 162, 108, 1)) drop-shadow(0 0 30px rgba(201, 162, 108, 0.6));
        transform: scale(1.05);
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(201, 162, 108, 0.8));
        transform: scale(1);
    }
}

.glow-signal {
    animation: glowPulse 2s ease-in-out infinite;
    display: inline-block;
}

#page-recharge div[style*="background: #c9a26c"],
#page-withdraw div[style*="background: #c9a26c"] {
    background: #00e5ff !important;
    color: #000000 !important;
}

#page-recharge div[style*="background: #c9a26c"] span,
#page-recharge div[style*="background: #c9a26c"] strong,
#page-withdraw div[style*="background: #c9a26c"] span,
#page-withdraw div[style*="background: #c9a26c"] strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

#recharge-balance,
#withdraw-balance {
    color: #000000 !important;
}

.network-svg {
    filter: drop-shadow(0 0 6px rgba(201, 162, 108, 0.8));
}

.hub-node {
    animation: hubPulse 2s ease-in-out infinite;
    transform-origin: center;
}

.outer-node {
    animation: nodePulse 2s ease-in-out infinite;
    transform-origin: center;
}

.outer-node:nth-child(2) {
    animation-delay: 0.2s;
}

.outer-node:nth-child(3) {
    animation-delay: 0.4s;
}

.outer-node:nth-child(4) {
    animation-delay: 0.6s;
}

.outer-node:nth-child(5) {
    animation-delay: 0.8s;
}

.outer-node:nth-child(6) {
    animation-delay: 1.0s;
}

.outer-node:nth-child(7) {
    animation-delay: 1.2s;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes hubPulse {

    0%,
    100% {
        r: 8;
        filter: brightness(1);
    }

    50% {
        r: 10;
        filter: brightness(1.5);
    }
}

@keyframes nodePulse {

    0%,
    100% {
        r: 5;
        opacity: 0.8;
    }

    50% {
        r: 6;
        opacity: 1;
    }
}

#modal-cs .modal-box h3,
#modal-cs .modal-box>p {
    color: #ffffff !important;
}

#modal-cs .fa-times {
    color: #a0aec0 !important;
}

#modal-cs .modal-box div[style*="background: #f4f8fc"] p {
    color: #1e293b !important;
}

#modal-cs .modal-box div[style*="background: #f4f8fc"] i {
    color: #1e293b !important;
}

.investment-line {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-wrap: nowrap;
    font-size: 14px;
    color: #c9a26c;
}

.investment-line .price-tag {
    white-space: nowrap;
}

.hidden {
    display: none;
}

#login-page {
    display: flex;
}

#app-wrapper {
    display: none;
}

#app-wrapper.logged-in {
    display: block;
    padding-bottom: 80px;
}

.progress-bar {
    height: 4px;
    background: #0d1b2a;
    border-radius: 2px;
    margin: 10px 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #00e5ff;
    border-radius: 2px;
    width: 0;
}

.payment-channels {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pay-btn {
    flex: 1;
    background: #09121c;
    border: 1px solid #005f73;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #a0aec0;
    cursor: pointer;
}

.pay-btn.active {
    border-color: #00e5ff;
    color: #00e5ff;
    background: #0d1b2a;
}

.team-members-container {
    padding: 10px 20px 20px;
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 0 0 12px 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    border-left: 4px solid #00e5ff;
}

#login-page .input-block label {
    color: #00e5ff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#login-page .input-block label i {
    color: #00e5ff !important;
    font-size: 14px !important;
}

#login-page .input-group-with-prefix {
    background: #0d1b2a !important;
    border: 1px solid #005f73 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#login-page .input-group-with-prefix:focus-within {
    border-color: #00e5ff !important;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3) !important;
}

#login-page .input-group-with-prefix .prefix {
    color: #a0aec0 !important;
    padding: 10px 15px;
    border-right: 1px solid #1a3644;
    font-size: 14px !important;
    margin-right: 0 !important;
}

#login-page .input-group-with-prefix input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
}

#login-page .input-block>input {
    background: #0d1b2a !important;
    border: 1px solid #005f73 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    box-shadow: none !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#login-page .input-block>input:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3) !important;
    outline: none;
}

#login-page .input-block input::placeholder {
    color: #4a6572 !important;
}

.terms-block {
    margin: 10px 0 5px 0;
    font-size: 13px;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    color: #a0aec0;
    cursor: pointer;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.custom-checkbox-label input {
    accent-color: #00e5ff;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.custom-checkbox-label a {
    color: #00e5ff;
    text-decoration: underline;
    margin-left: 4px;
}

#login-page .btn-primary {
    background: linear-gradient(90deg, #00e5ff, #007bff) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3) !important;
    margin-top: 15px !important;
    letter-spacing: 1px;
    border: none !important;
    width: 100% !important;
    padding: 12px 0 !important;
}

#login-page .btn-primary:hover {
    background: linear-gradient(90deg, #33eeff, #1a8cff) !important;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5) !important;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
    width: 100%;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 229, 255, 0.2);
}

.auth-divider span {
    position: relative;
    background: #09121c;
    padding: 0 15px;
    color: #00e5ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 10px;
}

#login-page .btn-secondary {
    background: transparent !important;
    color: #00e5ff !important;
    border: 1px solid #005f73 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px !important;
    position: relative;
    width: 100% !important;
    padding: 12px 0 !important;
}

#login-page .btn-secondary:hover {
    background: rgba(0, 229, 255, 0.05) !important;
    border-color: #00e5ff !important;
}

/* NEW: WITHDRAWAL RECORDS PANEL */
.withdrawal-records-panel {
    background: #0d1b2a;
    border: 1px solid #005f73;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    color: #ffffff;
}

.records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding-bottom: 10px;
}

.records-title {
    font-size: 14px;
    font-weight: bold;
    color: #00e5ff;
    letter-spacing: 0.5px;
}

.live-badge {
    background: rgba(56, 161, 105, 0.2);
    color: #38a169;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #38a169;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.records-list {
    max-height: 300px;
    overflow-y: auto;
}

.record-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #09121c;
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
}

.record-account {
    color: #a0aec0;
    font-size: 13px;
}

.record-amount {
    color: #00e5ff;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.record-amount i {
    font-size: 12px;
}

.no-records {
    text-align: center;
    padding: 20px;
    color: #718096;
    font-size: 13px;
}

/* NEW: NOTICE BOARD MODAL */
#notice-display-message {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 20px;
}

#notice-enabled-input {
    width: auto;
    margin-top: 5px;
}

@media (max-width: 480px) {
    .prod-content {
        display: flex !important;
        flex-direction: row !important;
    }

    .prod-img-box {
        width: 42% !important;
        min-width: 42% !important;
        max-width: 42% !important;
    }

    .prod-table {
        min-width: 0 !important;
        flex: 1 !important;
        width: 58% !important;
    }

    .prod-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 8px !important;
    }

    .prod-row .label {
        flex: 1 1 40% !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

    .prod-row .value {
        flex: 1 1 50% !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        text-align: right !important;
        white-space: normal !important;
    }

    .prod-row .label {
        word-break: break-word !important;
    }
}

@media (max-width: 400px) {

    .prod-row .label,
    .prod-row .value {
        font-size: 11px !important;
    }
}