*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#020617;
    color:white;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 7%;
    background:#010b2d;
    position:relative;
}

.navbar h2,
footer h2{
    font-size:38px;
    color:white;
}

.navbar span,
footer span{
    color:#22d3ee;
}

.nav-links a{
    color:white;
    text-decoration:none;
    margin-left:28px;
    font-weight:700;
}

.primary-btn,
.main-btn{
    background:#22d3ee;
    color:white;
    padding:15px 28px;
    border-radius:14px;
    text-decoration:none;
    font-weight:bold;
    display:inline-block;
    box-shadow:0 0 25px rgba(34,211,238,.35);
}

.outline-btn{
    border:2px solid #22d3ee;
    color:#22d3ee;
    padding:15px 28px;
    border-radius:14px;
    text-decoration:none;
    font-weight:bold;
    display:inline-block;
}

.primary-btn:hover,
.main-btn:hover{
    background:#0891b2;
}

.outline-btn:hover{
    background:#22d3ee;
    color:white;
}

.menu-icon{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:white;
}

.hero{
    min-height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:80px 7%;
    background:radial-gradient(circle at top,#164e63,#0f172a,#020617);
}

.hero-content{
    max-width:1000px;
}

.badge,
.section-badge{
    display:inline-block;
    background:rgba(34,211,238,.15);
    color:#67e8f9;
    padding:12px 26px;
    border-radius:30px;
    margin-bottom:25px;
}

.hero h1{
    font-size:64px;
    line-height:1.1;
    margin-bottom:30px;
}

.subtitle{
    color:#cbd5e1;
    font-size:22px;
    line-height:1.7;
}

.hero-buttons{
    margin-top:45px;
}

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    padding:100px 7%;
    background:#081225;
    align-items:center;
}

.about-left h2,
.benefits h2,
.support h2{
    font-size:48px;
    margin:20px 0;
}

.about-left p{
    color:#cbd5e1;
    font-size:20px;
    line-height:1.8;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.mini-card{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.1);
    border-radius:22px;
    padding:45px;
    text-align:center;
    color:#22d3ee;
    font-size:34px;
    font-weight:bold;
}

.mini-card span{
    color:white;
    font-size:18px;
}

.benefits{
    padding:100px 7%;
    background:#020617;
    text-align:center;
}

.benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:55px;
}

.benefit-card{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    padding:35px;
    text-align:left;
    transition:.3s;
}

.benefit-card:hover{
    transform:translateY(-8px);
    border-color:#22d3ee;
}

.icon{
    font-size:42px;
    margin-bottom:20px;
}

.benefit-card h3{
    font-size:26px;
    margin-bottom:15px;
}

.benefit-card p{
    color:#cbd5e1;
    line-height:1.7;
}

.support{
    background:linear-gradient(135deg,#081225,#164e63);
    padding:120px 40px;
    text-align:center;
}

.support-container{
    max-width:900px;
    margin:auto;
}

.support h2{
    font-size:56px;
    margin:25px 0;
}

.support-text{
    font-size:22px;
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:40px;
}

.support-details p{
    color:#67e8f9;
    margin-top:12px;
}

footer{
    text-align:center;
    padding:45px;
    background:#010b2d;
}

.footer-links{
    margin:20px 0;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    margin:0 12px;
}

footer p{
    color:#94a3b8;
}

@media (max-width:900px){
    .menu-icon{
        display:block;
    }

    .nav-links{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#010b2d;
        padding:20px;
        text-align:center;
        z-index:999;
    }

    .nav-links.active{
        display:block;
    }

    .nav-links a{
        display:block;
        margin:18px 0;
    }

    .hero{
        min-height:75vh;
        padding:60px 20px;
    }

    .hero h1{
        font-size:44px;
    }

    .subtitle{
        font-size:18px;
    }

    .main-btn,
    .outline-btn{
        display:block;
        width:85%;
        margin:15px auto;
        text-align:center;
    }

    .about{
        grid-template-columns:1fr;
        padding:70px 25px;
    }

    .about-grid,
    .benefit-grid{
        grid-template-columns:1fr;
    }

    .about-left h2,
    .benefits h2,
    .support h2{
        font-size:36px;
    }

    .benefits,
    .support{
        padding:70px 25px;
    }

    .benefit-card{
        text-align:center;
    }

    .footer-links a{
        display:block;
        margin:12px 0;
    }
}
/* LOGIN PAGE */

.auth-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:radial-gradient(circle at top,#164e63,#0f172a,#020617);
    padding:30px;
}

.auth-box{
    width:100%;
    max-width:450px;
    background:rgba(15,23,42,.95);
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    padding:40px;
    box-shadow:0 0 40px rgba(34,211,238,.15);
}

.auth-box h2{
    font-size:32px;
    margin-bottom:25px;
    text-align:center;
}

.auth-box h2 span{
    color:#22d3ee;
}

.auth-box h1{
    font-size:36px;
    margin-bottom:10px;
    text-align:center;
}

.auth-box p{
    color:#cbd5e1;
    margin-bottom:25px;
    text-align:center;
}

.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"]{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.15);
    background:#020617;
    color:white;
    outline:none;
    font-size:16px;
}

.auth-box input:focus{
    border-color:#22d3ee;
}

.auth-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    font-size:14px;
    color:#cbd5e1;
}

.auth-options a{
    color:#22d3ee;
    text-decoration:none;
}

.auth-box button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:14px;
    background:#22d3ee;
    color:white;
    font-weight:bold;
    font-size:16px;
    cursor:pointer;
    box-shadow:0 0 25px rgba(34,211,238,.35);
    transition:.3s;
}

.auth-box button:hover{
    background:#0891b2;
}

.auth-link{
    text-align:center;
    margin-top:25px;
}

.auth-link a{
    color:#22d3ee;
    text-decoration:none;
}

.back-home{
    display:block;
    text-align:center;
    margin-top:20px;
    color:#22d3ee;
    text-decoration:none;
}

@media(max-width:600px){
    .auth-box{
        padding:30px 22px;
    }

    .auth-box h1{
        font-size:30px;
    }

    .auth-options{
        flex-direction:column;
        gap:12px;
        align-items:flex-start;
    }
}
.terms{
    display:block;
    margin:15px 0 20px;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.6;
}

.terms a{
    color:#22d3ee;
    text-decoration:none;
}

.terms input{
    margin-right:8px;
}


/* TRANSACTIONS PAGE */

.table-box{
    overflow-x:auto;
    margin-top:20px;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th,
table td{
    padding:18px;
    text-align:left;
    border-bottom:1px solid rgba(255,255,255,.1);
}

table th{
    color:#22d3ee;
}

table td{
    color:#cbd5e1;
}

.status{
    padding:8px 15px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;
}

.status.success{
    background:rgba(34,197,94,.2);
    color:#22c55e;
}

.status.pending{
    background:rgba(234,179,8,.2);
    color:#eab308;
}

.status.failed{
    background:rgba(239,68,68,.2);
    color:#ef4444;
}

@media(max-width:768px){

    table{
        min-width:650px;
    }
}
/* NOTIFICATIONS */

.notification-card{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:25px;
    margin-bottom:20px;
}

.notification-card h3{
    margin-bottom:12px;
}

.notification-card p{
    color:#cbd5e1;
    margin-bottom:12px;
}

.notification-card span{
    color:#94a3b8;
    font-size:14px;
}
.light-mode{
    background:#f8fafc;
    color:#020617;
}

.light-mode .dashboard-layout,
.light-mode .dashboard-main{
    background:#f8fafc;
    color:#020617;
}

.light-mode .sidebar,
.light-mode .dash-mobile-top{
    background:#ffffff;
}

.light-mode .sidebar h2,
.light-mode .dash-mobile-top h2{
    color:#020617;
}

.light-mode .panel,
.light-mode .dash-card,
.light-mode .notification-card{
    background:#ffffff;
    color:#020617;
    border:1px solid #e2e8f0;
}

.light-mode p,
.light-mode .panel p,
.light-mode .dash-card p{
    color:#475569;
}

.light-mode .sidebar a{
    color:#020617;
}
/* LIVE CHAT */

.chat-box{
    background:#0f172a;
    border-radius:20px;
    padding:20px;
    min-height:400px;
    margin-bottom:20px;
    overflow-y:auto;
}

.message{
    max-width:75%;
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
}

.support{
    background:#1e293b;
    color:white;
}

.user{
    background:#22d3ee;
    color:white;
    margin-left:auto;
}

.chat-input{
    display:flex;
    gap:15px;
}

.chat-input input{
    flex:1;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#0f172a;
    color:white;
}

.chat-input button{
    padding:15px 25px;
    border:none;
    border-radius:12px;
    background:#22d3ee;
    color:white;
    cursor:pointer;
}

@media(max-width:768px){
    .chat-input{
        flex-direction:column;
    }

    .message{
        max-width:100%;
    }
}
/* ACCOUNT HISTORY */

.history-item{
    background:#020617;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:20px;
    margin-top:18px;
}

.history-item h3{
    margin-bottom:8px;
}

.history-item p{
    color:#cbd5e1;
    margin-bottom:8px;
}

.history-item span{
    color:#22d3ee;
    font-size:14px;
}
/* CHECKOUT PAGE */

.checkout-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.checkout-row span{
    color:#94a3b8;
}

.checkout-row strong{
    color:white;
    text-align:right;
}

.cancel-btn{
    background:#334155 !important;
    margin-top:12px;
}

@media(max-width:768px){
    .checkout-row{
        flex-direction:column;
        gap:6px;
    }

    .checkout-row strong{
        text-align:left;
    }
}
/* PRODUCT DETAILS */

.product-price{
    font-size:32px;
    color:#22d3ee !important;
    font-weight:bold;
    margin:15px 0 25px;
}
/* SUPPORT TICKET */

textarea{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#020617;
    color:white;
    border:1px solid rgba(255,255,255,.1);
    resize:vertical;
    outline:none;
    margin-bottom:15px;
}

textarea:focus{
    border-color:#22d3ee;
}
/* MARKETPLACE */

.market-tools{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.market-tools input,
.market-tools select{
    padding:15px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.1);
    background:#020617;
    color:white;
    outline:none;
}

.market-tools input{
    flex:1;
}

.category-pills{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.category-pills button{
    background:#0f172a;
    color:#cbd5e1;
    border:1px solid rgba(255,255,255,.1);
    padding:10px 16px;
    border-radius:30px;
    cursor:pointer;
}

.category-pills button:hover{
    background:#22d3ee;
    color:white;
}

.market-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.product-card{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:25px;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-6px);
    border-color:#22d3ee;
}

.product-icon{
    width:55px;
    height:55px;
    border-radius:16px;
    background:rgba(34,211,238,.15);
    color:#22d3ee;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    font-size:22px;
    margin-bottom:18px;
}

.badges{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.market-badge{
    background:rgba(255,255,255,.08);
    color:#cbd5e1;
    padding:7px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.product-card h2{
    margin-bottom:10px;
    font-size:22px;
}

.product-card p{
    color:#94a3b8;
    margin-bottom:10px;
}

.product-card strong{
    color:#cbd5e1;
}

.product-card h3{
    color:#22d3ee;
    font-size:26px;
    margin:15px 0;
}

.product-actions{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.product-actions a{
    flex:1;
    text-align:center;
    padding:12px;
    border-radius:12px;
    text-decoration:none;
    background:#22d3ee;
    color:white;
    font-weight:bold;
}

.product-actions a:first-child{
    background:#334155;
}

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

    .market-tools{
        flex-direction:column;
    }

    .product-actions{
        flex-direction:column;
    }
}
/* ADMIN PANEL */

.panel{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
}

.panel h2{
    margin-bottom:20px;
}

.panel input,
.panel select,
.panel textarea{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.1);
    background:#020617;
    color:white;
    outline:none;
    margin-bottom:15px;
}

.panel button{
    padding:14px 20px;
    border:none;
    border-radius:12px;
    background:#22d3ee;
    color:white;
    cursor:pointer;
    margin-right:10px;
    margin-top:10px;
}

.panel .cancel-btn{
    background:#ef4444;
}
/* ADMIN PANEL */

.panel{
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
}

.panel h2{
    margin-bottom:20px;
    color:#fff;
}

.panel input,
.panel select,
.panel textarea{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.1);
    background:#020617;
    color:#fff;
    outline:none;
    margin-bottom:15px;
}

.panel textarea{
    resize:vertical;
}

.panel button{
    padding:14px 20px;
    border:none;
    border-radius:12px;
    background:#22d3ee;
    color:#fff;
    cursor:pointer;
    margin-top:10px;
    margin-right:10px;
    font-weight:600;
}

.panel button:hover{
    opacity:.9;
}

.cancel-btn{
    background:#ef4444 !important;
}

.history-item{
    background:#020617;
    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
    padding:18px;
    margin-bottom:15px;
}

.history-item h3{
    color:#fff;
    margin-bottom:8px;
}

.history-item p{
    color:#94a3b8;
    margin-bottom:8px;
}

.history-item span{
    color:#22d3ee;
    font-size:14px;
    font-weight:600;
}

/* Admin cards mobile */

@media(max-width:900px){

    .panel{
        padding:20px;
    }

    .panel button{
        width:100%;
        margin-right:0;
        margin-bottom:10px;
    }
}
/* FLOATING LIVE CHAT BUTTON */

.floating-chat{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#22d3ee;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    z-index:9999;
}

.floating-chat:hover{
    transform:scale(1.08);
}
.purchase-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.purchase-modal-box{
    width:90%;
    max-width:500px;
    background:#071226;
    border:1px solid #1d3557;
    border-radius:20px;
    padding:25px;
}

.purchase-buttons{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.purchase-buttons button{
    flex:1;
}

.purchase-account{
    padding:10px;
    border:1px solid #1d3557;
    border-radius:10px;
    margin-top:10px;
}
.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 24px;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 3px 7px;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 80px;
    right: 20px;
    width: 350px;
    background: #111827;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 15px;
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid #222;
}

.notification-item h4 {
    margin-bottom: 5px;
}

.notification-item p {
    font-size: 14px;
    color: #ccc;
}
/* FINAL MOBILE RESPONSIVENESS FIX */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .dashboard-main {
        padding: 15px;
    }

    .dashboard-top h1 {
        font-size: 26px;
    }

    .dashboard-top p {
        font-size: 14px;
    }

    .panel {
        padding: 18px;
        border-radius: 16px;
    }

    .dash-card {
        padding: 18px;
    }

    .dash-card h2 {
        font-size: 24px;
    }

    .sidebar a {
        padding: 13px;
        font-size: 15px;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .market-tools {
        flex-direction: column;
    }

    .market-tools input,
    .market-tools select {
        width: 100%;
    }

    .product-card {
        padding: 18px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions a {
        width: 100%;
    }

    table {
        min-width: 700px;
    }

    .table-box {
        overflow-x: auto;
    }

    .notification-dropdown {
        width: 92%;
        right: 4%;
        top: 75px;
    }

    .purchase-modal-box {
        width: 92%;
        padding: 18px;
    }

    .purchase-buttons {
        flex-direction: column;
    }

    .floating-chat {
        width: 52px;
        height: 52px;
        font-size: 24px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .dash-mobile-top {
        padding: 15px;
    }

    .dash-mobile-top h2 {
        font-size: 24px;
    }

    .dashboard-top h1 {
        font-size: 23px;
    }

    .panel h2 {
        font-size: 20px;
    }

    .history-item {
        padding: 15px;
    }

    .auth-box {
        padding: 25px 18px;
    }
}
.product-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    border-radius: 15px;
    background: #0f172a;
    padding: 10px;
}

.product-logo-fallback {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 15px;
    background: #10314a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #38bdf8;
}
.order-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

.order-modal-content{
    width:100%;
    max-width:700px;
    background:#0f172a;
    border-radius:20px;
    padding:25px;
    color:white;
    max-height:80vh;
    overflow-y:auto;
}

.close-order-modal{
    float:right;
    font-size:28px;
    cursor:pointer;
}

.account-box{
    background:#111827;
    padding:18px;
    border-radius:15px;
    margin-top:15px;
}

.copy-btn{
    background:#06b6d4;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:10px;
    margin-top:10px;
    cursor:pointer;
}

.view-order-btn{
    background:#06b6d4;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:10px;
    cursor:pointer;
}

@media(max-width:768px){

    .order-modal-content{
        padding:20px;
        border-radius:18px;
    }

}
.orders-section{

margin-top:25px;

}

.orders-header{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;

}

.orders-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:20px;

}

.order-card{

background:#111827;
border:1px solid #1f2937;
border-radius:18px;
padding:22px;
transition:.3s;

}

.order-card:hover{

transform:translateY(-4px);

border-color:#06b6d4;

}

.order-card-top{

display:flex;
gap:15px;
align-items:center;

}

.order-icon{

width:55px;
height:55px;

display:flex;
align-items:center;
justify-content:center;

background:#06b6d4;

border-radius:14px;

font-size:24px;

}

.order-title h3{

margin:0;
color:white;

}

.order-date{

font-size:13px;
color:#9ca3af;

}

.order-details{

display:grid;
grid-template-columns:1fr 1fr;
gap:15px;

margin:20px 0;

}

.detail-box{

background:#1f2937;

padding:15px;

border-radius:12px;

}

.detail-box span{

display:block;

font-size:13px;

color:#9ca3af;

}

.detail-box strong{

color:white;

font-size:17px;

}

.status{

display:inline-block;

padding:8px 18px;

border-radius:30px;

font-size:13px;

font-weight:bold;

text-transform:capitalize;

}

.status.completed{

background:#16a34a;
color:white;

}

.status.pending{

background:#eab308;
color:black;

}

.status.failed{

background:#dc2626;
color:white;

}

.view-order-btn{

width:100%;

margin-top:18px;

background:#06b6d4;

color:white;

border:none;

padding:14px;

border-radius:12px;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.view-order-btn:hover{

background:#0891b2;

}

.empty-orders{

text-align:center;

padding:60px 20px;

color:#9ca3af;

}

.empty-icon{

font-size:60px;

margin-bottom:15px;

}

@media(max-width:768px){

.order-details{

grid-template-columns:1fr;

}

.orders-grid{

grid-template-columns:1fr;

}

}
.order-modal{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

display:none;

justify-content:center;
align-items:center;

background:rgba(0,0,0,.75);

padding:20px;

z-index:9999;

}

.order-modal-content{

background:#0f172a;

width:100%;

max-width:700px;

max-height:90vh;

overflow:auto;

border-radius:20px;

padding:25px;

}

.accounts-grid{

display:flex;

flex-direction:column;

gap:18px;

margin-top:20px;

}

.account-card{

background:#111827;

border:1px solid #1f2937;

border-radius:16px;

padding:18px;

}

.account-card-top{

display:flex;

align-items:center;

gap:15px;

margin-bottom:18px;

}

.account-number{

width:45px;

height:45px;

background:#06b6d4;

border-radius:12px;

display:flex;

justify-content:center;

align-items:center;

font-weight:bold;

color:white;

}

.account-card h3{

margin:0;

color:white;

}

.account-details{

background:#1f2937;

padding:16px;

border-radius:12px;

color:white;

line-height:1.8;

word-break:break-word;

}

.copy-btn{

margin-top:18px;

width:100%;

padding:14px;

background:#06b6d4;

border:none;

border-radius:12px;

color:white;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.copy-btn:hover{

background:#0891b2;

}

.close-order-modal{

font-size:28px;

cursor:pointer;

float:right;

color:white;

}

@media(max-width:768px){

.order-modal-content{

padding:18px;

border-radius:18px;

}

.account-card{

padding:15px;

}

}
.account-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.account-preview label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
/* ===========================
   ADMIN PRODUCTS
=========================== */

.page-content{
    padding:20px;
}

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

.primary-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
}

.primary-btn:hover{
    background:#1d4ed8;
}

.card{
    background:#fff;
    border-radius:10px;
    padding:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.table-toolbar{
    margin-bottom:15px;
}

.table-toolbar input{
    width:300px;
    max-width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:8px;
}

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

.table th,
.table td{
    padding:12px;
    border-bottom:1px solid #eee;
    text-align:left;
}

.table img{
    width:40px;
    height:40px;
    border-radius:6px;
    object-fit:cover;
}

.edit-btn,
.delete-btn,
.manage-btn{
    border:none;
    padding:7px 12px;
    border-radius:6px;
    cursor:pointer;
    margin-right:5px;
}

.edit-btn{
    background:#f59e0b;
    color:#fff;
}

.delete-btn{
    background:#ef4444;
    color:#fff;
}

.manage-btn{
    background:#2563eb;
    color:#fff;
}
/* ==========================================
   PRODUCT MODAL
========================================== */

.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);

    display:none;

    justify-content:center;

    align-items:flex-start;

    overflow-y:auto;

    padding:40px 20px;

    z-index:9999;
}

.modal-content{
    width:100%;
    max-width:650px;
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    animation:popup .25s ease;

    max-height:90vh;
    overflow-y:auto;
}

@keyframes popup{
    from{
        transform:scale(.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

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

.modal-header h2{
    margin:0;
    font-size:22px;
}

#closeModal{
    font-size:30px;
    cursor:pointer;
    font-weight:bold;
}

#closeModal:hover{
    color:red;
}

#productForm{
    display:flex;
    flex-direction:column;
    gap:14px;
}

#productForm label{
    font-weight:600;
    color:#333;
}

#productForm input,
#productForm select,
#productForm textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-size:15px;
    transition:.2s;
    box-sizing:border-box;
}

#productForm input:focus,
#productForm select:focus,
#productForm textarea:focus{
    border-color:#2563eb;
}

#productForm textarea{
    resize:vertical;
    min-height:100px;
}

#saveProductBtn{
    margin-top:10px;
    width:100%;
    padding:13px;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    cursor:pointer;
    font-weight:600;
}

#saveProductBtn:hover{
    background:#1d4ed8;
}

.virtual-account-panel {
    max-width: 100%;
}

.virtual-account-panel h2 {
    margin-bottom: 8px;
}

.virtual-account-panel p {
    margin-top: 0;
}

.create-account-btn {
    width: auto !important;
    min-width: 190px;
    padding: 12px 20px !important;
    font-size: 14px !important;
    border-radius: 10px;
    margin-top: 15px;
}

.account-details {
    background: #202a39;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 20px;
}

.account-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.account-detail-label {
    color: #b8c0cc;
    font-size: 15px;
}

.account-detail-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.account-number-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.copy-account-btn {
    width: auto !important;
    min-width: 70px !important;
    padding: 9px 14px !important;
    margin: 0 !important;
    border: none;
    border-radius: 9px;
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
}
/* ==========================================
   MOBILE SIDEBAR - FUND WALLET
========================================== */

@media (max-width: 600px) {

    /* Mobile header */
    .mobile-header {
        display: flex !important;
        height: 90px;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 0 22px;
        background: #071226;
        position: relative;
        z-index: 10000;
    }

    .mobile-header h2 {
        margin: 0;
        font-size: 28px;
        color: #ffffff;
    }

    .mobile-header h2 span {
        color: #20c8e8;
    }

    #menuBtn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-size: 26px;
        cursor: pointer;
    }

    .notification-btn {
        color: #ffffff;
        font-size: 23px;
    }


    /* Sidebar starts completely hidden */

    .sidebar {
        position: fixed !important;

        top: 0 !important;
        left: -290px !important;

        width: 270px !important;
        height: 100vh !important;

        margin: 0 !important;

        background: #071226 !important;

        z-index: 11000 !important;

        overflow-y: auto;

        transition: left 0.28s ease !important;

        box-shadow: none !important;
    }


    /* Sidebar OPEN */

    .sidebar.open {
        left: 0 !important;

        box-shadow:
            10px 0 30px rgba(0,0,0,0.35) !important;
    }


    /* Hide duplicate logo inside mobile sidebar */

    .sidebar-logo {
        display: none !important;
    }


    /* Sidebar navigation */

    .sidebar nav {
        display: flex !important;
        flex-direction: column !important;

        padding: 85px 18px 30px !important;

        gap: 5px !important;
    }


    .sidebar nav a {
        display: flex !important;

        align-items: center !important;

        gap: 15px !important;

        width: 100% !important;

        padding: 15px 16px !important;

        margin: 0 !important;

        color: #ffffff !important;

        text-decoration: none !important;

        border-radius: 10px !important;

        font-size: 15px !important;
    }


    .sidebar nav a i {
        width: 22px;

        text-align: center;

        color: #ffffff;
    }


    .sidebar nav a.active {
        background: rgba(32, 200, 232, 0.12) !important;

        color: #20c8e8 !important;
    }


    .sidebar nav a.active i {
        color: #20c8e8 !important;
    }


    /* Main page stays underneath */

    .dashboard-content {
        width: 100% !important;

        margin: 0 !important;

        padding: 22px !important;
    }


    /* Make sure content doesn't move when menu opens */

    .dashboard-layout {
        display: block !important;
        width: 100% !important;
    }

}
/* ===============================
   RECENT DEPOSITS
================================ */

#recentDeposits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deposit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    background: #1a2538;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.deposit-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    flex-shrink: 0;
}

.deposit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deposit-info strong {
    color: #fff;
    font-size: 16px;
}

.deposit-info span {
    color: #94a3b8;
    font-size: 13px;
    text-transform: capitalize;
}

.deposit-status {
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.deposit-status.successful {
    color: #22c55e;
}

.deposit-status.pending {
    color: #f59e0b;
}

.deposit-status.failed {
    color: #ef4444;
}

.empty-deposits {
    text-align: center;
    padding: 30px 15px;
    color: #94a3b8;
}

.empty-deposits i {
    font-size: 28px;
    margin-bottom: 10px;
}

.empty-deposits p {
    margin: 0;
}

/* =========================================
   FUND WALLET MOBILE FIX
========================================= */

@media (max-width: 600px) {

    .dashboard-content {
        padding: 18px 14px 40px !important;
    }

    .welcome-section {
        margin-bottom: 18px !important;
    }

    .welcome-section h1 {
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }

    .welcome-section p {
        font-size: 14px !important;
    }

    /* Stats become compact 2-column layout */
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    .stat-card {
        min-height: 110px !important;
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .stat-card p {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    .stat-card h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    /* Prevent huge numbers from breaking the card */
    #totalFunded {
        font-size: 16px !important;
    }

    /* Wallet balance card */
    .stat-card:first-child {
        grid-column: span 2;
        min-height: 125px !important;
    }

    .stat-card:first-child h2 {
        font-size: 27px !important;
    }

    /* Refresh button */
    #refreshBalanceBtn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;

        margin-top: 10px !important;

        padding: 8px 12px !important;
        width: auto !important;

        border: none !important;
        border-radius: 8px !important;

        background: transparent !important;
        color: #22d3ee !important;

        font-size: 13px !important;
        cursor: pointer !important;
    }

    #refreshBalanceBtn:hover {
        background: rgba(34, 211, 238, 0.1) !important;
    }

    /* Kuda account */
    .wallet-panel {
        margin-top: 18px !important;
        padding: 18px !important;
        border-radius: 16px !important;
    }

    .wallet-panel h2 {
        font-size: 21px !important;
    }

    /* Recent deposits */
    .dashboard-card {
        padding: 18px !important;
        border-radius: 16px !important;
    }

}

/* =========================================
   FUND WALLET - MOBILE STAT CARDS
========================================= */

@media screen and (max-width: 600px) {

    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .stat-card {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 105px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    /* Wallet balance gets the full row */
    .stat-card:first-child {
        grid-column: 1 / -1 !important;
    }

    .stat-card p {
        font-size: 13px !important;
        margin-bottom: 7px !important;
    }

    .stat-card h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    /* Large total funded number */
    #totalFunded {
        font-size: 15px !important;
        letter-spacing: -0.3px !important;
    }

    /* Wallet balance */
    .stat-card:first-child h2 {
        font-size: 27px !important;
    }

    /* Refresh */
    #refreshBalanceBtn {
        margin-top: 8px !important;
        padding: 6px 0 !important;
        font-size: 13px !important;
        background: transparent !important;
        border: none !important;
        color: #22d3ee !important;
        box-shadow: none !important;
    }

    #refreshBalanceBtn i {
        margin-right: 5px;
    }
}

/* =========================================
   FUND WALLET MOBILE FIX
========================================= */

@media (max-width: 600px) {

    .wallet-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .wallet-stat {
        min-width: 0 !important;
        min-height: 105px !important;
        padding: 15px !important;
        border-radius: 15px !important;
        overflow: hidden !important;
    }

    /* Wallet Balance gets the full row */
    .wallet-stat:first-child {
        grid-column: 1 / -1 !important;
        min-height: 125px !important;
    }

    .wallet-stat p {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    .wallet-stat h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    /* Wallet balance */
    .wallet-stat:first-child h2 {
        font-size: 27px !important;
    }

    /* Long Total Funded number */
    #totalFunded {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    /* Refresh Balance */
    .refresh-balance-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 9px !important;
        padding: 6px 0 !important;
        font-size: 13px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .wallet-card {
        width: 100% !important;
        padding: 18px !important;
        margin-bottom: 15px !important;
        border-radius: 16px !important;
    }

}

