/*
=====================================
TMAX STORE STYLE
Responsive Mobile / Tablet / PC
=====================================
*/


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


body{

    background:#f5f6fa;

    color:#222;

}



a{

    text-decoration:none;

    color:inherit;

}



.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}



/* =========================
HEADER
========================= */


.header{

    background:#ffffff;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

    position:sticky;

    top:0;

    z-index:100;

}



.header-box{

    height:70px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}



.logo{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:22px;

    font-weight:bold;

    color:#111;

}



.logo img{

    width:45px;

    height:45px;

    object-fit:contain;

}





/* MENU */


.menu{

    display:flex;

    gap:25px;

}



.menu a{

    font-size:15px;

    transition:.3s;

}



.menu a:hover{

    color:#0066ff;

}





/* USER */


.user-area{

    display:flex;

    align-items:center;

    gap:12px;

}



.balance{

    background:#eef4ff;

    color:#0066ff;

    padding:8px 12px;

    border-radius:8px;

    font-weight:bold;

}



.btn-login,
.btn-register{

    padding:9px 16px;

    border-radius:8px;

    font-size:14px;

}



.btn-login{

    background:#0066ff;

    color:white;

}



.btn-register{

    border:1px solid #0066ff;

    color:#0066ff;

}




/* DROPDOWN */


.user-menu{

    position:relative;

}



.user-menu span{

    cursor:pointer;

}



.dropdown{

    display:none;

    position:absolute;

    right:0;

    top:35px;

    width:170px;

    background:white;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

    border-radius:10px;

    overflow:hidden;

}



.dropdown a{

    display:block;

    padding:12px;

}



.dropdown a:hover{

    background:#f2f2f2;

}



.user-menu:hover .dropdown{

    display:block;

}




/* =========================
BUTTON
========================= */


.btn{

    display:inline-block;

    padding:10px 18px;

    border-radius:8px;

    background:#0066ff;

    color:white;

}





/* =========================
SERVICE CARD
========================= */


.services-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

}



.service-card{

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}



.service-card:hover{

    transform:translateY(-5px);

}



.service-card img{

    width:100%;

    height:180px;

    object-fit:cover;

}



.service-content{

    padding:15px;

}



.service-content h3{

    font-size:18px;

    margin-bottom:8px;

}



.price{

    color:#ff3b30;

    font-weight:bold;

    margin:10px 0;

}





/* =========================
FOOTER
========================= */


.footer{

    margin-top:50px;

    background:#111;

    color:white;

    padding:40px 0 20px;

}



.footer-box{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;

}



.footer-col h3{

    margin-bottom:15px;

}



.footer-col a{

    display:block;

    margin:8px 0;

    color:#ccc;

}



.footer-col a:hover{

    color:white;

}



.copyright{

    text-align:center;

    margin-top:30px;

    color:#aaa;

}





/* =========================
MOBILE
========================= */


@media(max-width:768px){


.container{

    width:94%;

}



.header-box{

    height:auto;

    padding:15px 0;

    flex-wrap:wrap;

}



.menu{

    order:3;

    width:100%;

    justify-content:center;

    margin-top:15px;

    gap:15px;

}



.user-area{

    gap:5px;

}



.services-grid{

    grid-template-columns:
    repeat(2,1fr);

    gap:12px;

}



.service-card img{

    height:130px;

}



.footer-box{

    grid-template-columns:1fr;

}



}



/* =========================
SMALL PHONE
========================= */


@media(max-width:480px){


.logo span{

    font-size:18px;

}



.menu a{

    font-size:13px;

}



.services-grid{

    grid-template-columns:1fr;

}



.balance{

    display:none;

}



.btn-login,
.btn-register{

    padding:7px 10px;

    font-size:12px;

}



}

/* INDEX */

.banner{

    background:#0066ff;

    color:white;

    padding:70px 0;

    text-align:center;

}


.banner h1{

    font-size:38px;

    margin-bottom:15px;

}


.section{

    padding:40px 0;

}



.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}



.category-grid{

    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:15px;

}



.category-card{

    background:white;

    padding:20px;

    border-radius:12px;

    text-align:center;

}



.category-card img{

    width:50px;

    height:50px;

    object-fit:contain;

}



.news-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;

}



.news-card{

    background:white;

    padding:15px;

    border-radius:12px;

}



.news-card img{

    width:100%;

    height:150px;

    object-fit:cover;

    border-radius:10px;

}



@media(max-width:768px){

.category-grid{

grid-template-columns:
repeat(3,1fr);

}


.news-grid{

grid-template-columns:1fr;

}

}



@media(max-width:480px){

.category-grid{

grid-template-columns:
repeat(2,1fr);

}

}

/* AUTH */

.auth-box{

    max-width:420px;

    margin:auto;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}


.auth-box h2{

    text-align:center;

    margin-bottom:20px;

}



.auth-box input{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border:1px solid #ddd;

    border-radius:8px;

}



.auth-box button{

    width:100%;

    border:none;

    cursor:pointer;

}



.auth-box p{

    text-align:center;

    margin-top:20px;

}



.alert-error{

    background:#ffe5e5;

    color:#d00;

    padding:12px;

    border-radius:8px;

    margin-bottom:15px;

}

/* SUCCESS ALERT */

.alert-success{

    background:#e5fff0;

    color:#008a3d;

    padding:12px;

    border-radius:8px;

    margin-bottom:15px;

}

 /* DASHBOARD */


.dashboard-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;

    margin:25px 0;

}



.dashboard-card{

    background:white;

    padding:20px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.dashboard-money{

    font-size:28px;

    color:#0066ff;

    font-weight:bold;

    margin:15px 0;

}



.dashboard-box{

    background:white;

    padding:20px;

    border-radius:15px;

    margin-top:25px;

}



.notification{

    padding:12px;

    border-bottom:1px solid #eee;

}



.order-item{

    display:flex;

    gap:15px;

    padding:15px 0;

    border-bottom:1px solid #eee;

}



.order-item img{

    width:80px;

    height:80px;

    object-fit:cover;

    border-radius:10px;

}



@media(max-width:768px){

.dashboard-grid{

    grid-template-columns:1fr;

}

}

 /* DEPOSIT */


.deposit-box{

    max-width:600px;

    margin:auto;

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.payment-info{

    background:#f5f6fa;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

}



.payment-info .qr{

    width:220px;

    max-width:100%;

    display:block;

    margin:15px auto;

}



.deposit-box input{

    width:100%;

    padding:12px;

    margin:10px 0 20px;

    border:1px solid #ddd;

    border-radius:8px;

}



.deposit-box button{

    width:100%;

    border:none;

    cursor:pointer;

}

/* WALLET */


.wallet-card{

    background:white;

    padding:30px;

    border-radius:15px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    margin:25px 0;

}



.wallet-money{

    font-size:35px;

    color:#0066ff;

    font-weight:bold;

    margin:15px 0;

}




.wallet-table{

    width:100%;

    border-collapse:collapse;

}



.wallet-table th,
.wallet-table td{

    padding:12px;

    text-align:left;

    border-bottom:1px solid #eee;

}



.plus{

    color:#00a651;

}



.minus{

    color:#ff3b30;

}





@media(max-width:768px){


.wallet-table{

    display:block;

    overflow-x:auto;

}


}

/* HISTORY */


.history-box{

    background:white;

    padding:25px;

    border-radius:15px;

    margin-top:25px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.history-item{

    display:flex;

    gap:15px;

    padding:15px 0;

    border-bottom:1px solid #eee;

}



.history-item img{

    width:80px;

    height:80px;

    object-fit:cover;

    border-radius:10px;

}



@media(max-width:480px){

.history-item{

    flex-direction:column;

}


}

 /* SERVICE DETAIL */


.service-detail{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:30px;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.service-image img{

    width:100%;

    border-radius:15px;

}



.service-info h1{

    margin-bottom:15px;

}



.service-info p{

    margin:15px 0;

    line-height:1.6;

}



@media(max-width:768px){

.service-detail{

    grid-template-columns:1fr;

}

}

 /* ADMIN */


.admin-grid{

    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:20px;

    margin:30px 0;

}



.admin-card{

    background:white;

    padding:25px;

    border-radius:15px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.admin-card strong{

    display:block;

    margin-top:15px;

    font-size:25px;

    color:#0066ff;

}



.admin-menu{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:15px;

}



.admin-menu a{

    background:white;

    padding:20px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.admin-menu a:hover{

    background:#0066ff;

    color:white;

}



@media(max-width:900px){


.admin-grid{

grid-template-columns:
repeat(2,1fr);

}



.admin-menu{

grid-template-columns:
repeat(2,1fr);

}


}



@media(max-width:480px){


.admin-grid,

.admin-menu{

grid-template-columns:1fr;

}


}

/* ADMIN TABLE */


.admin-table-box{

    background:white;

    padding:20px;

    border-radius:15px;

    overflow-x:auto;

}



.admin-table{

    width:100%;

    border-collapse:collapse;

}



.admin-table th,
.admin-table td{

    padding:12px;

    border-bottom:1px solid #eee;

    text-align:left;

}



.admin-table select{

    padding:8px;

    border-radius:6px;

    border:1px solid #ddd;

}



.btn-danger{

    background:#ff3b30;

    color:white;

    padding:7px 12px;

    border-radius:6px;

    display:inline-block;

    margin:3px;

}



.btn-success{

    background:#00a651;

    color:white;

    padding:7px 12px;

    border-radius:6px;

    display:inline-block;

    margin:3px;

}


/* ADMIN SERVICE */


.admin-form-box{

    background:white;

    padding:25px;

    border-radius:15px;

    margin-bottom:25px;

}



.admin-form-box input,
.admin-form-box textarea,
.admin-form-box select{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border:1px solid #ddd;

    border-radius:8px;

}



.admin-form-box textarea{

    min-height:120px;

}



.admin-form-box button{

    border:none;

    cursor:pointer;

}


/* ORDER ADMIN */


.admin-table form{

    display:flex;

    gap:8px;

    align-items:center;

}



.admin-table select{

    padding:8px;

    border-radius:6px;

    border:1px solid #ddd;

}



@media(max-width:768px){


.admin-table form{

    flex-direction:column;

}


}


/* CATEGORY ADMIN */


.admin-form-box{

    margin-bottom:25px;

}


.admin-form-box button{

    border:none;

    cursor:pointer;

}


/* SETTINGS */


.admin-form-box label{

    display:block;

    margin-bottom:6px;

    font-weight:600;

}



.admin-form-box h3{

    margin-top:25px;

}



.admin-form-box select{

    width:100%;

    padding:12px;

    border-radius:8px;

    border:1px solid #ddd;

    margin-bottom:15px;

}


/* BANNER ADMIN */


.admin-table img{

    border-radius:10px;

    object-fit:cover;

}


/* TRANSACTION */


.plus{

    color:#00a651;

    font-weight:bold;

}



.minus{

    color:#ff3b30;

    font-weight:bold;

}


/* WALLET ADMIN */


.admin-form-box select,
.admin-form-box input{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border-radius:8px;

    border:1px solid #ddd;

}



.admin-form-box button{

    border:none;

    cursor:pointer;

}


/* NEWS ADMIN */


.admin-form-box textarea{

    width:100%;

    min-height:150px;

    padding:12px;

    border-radius:8px;

    border:1px solid #ddd;

    margin-bottom:15px;

}



.admin-table img{

    border-radius:8px;

    object-fit:cover;

}


/* LICENSE KEY ADMIN */


.admin-form-box select,
.admin-form-box input{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border:1px solid #ddd;

    border-radius:8px;

}



code{

    background:#f1f1f1;

    padding:5px;

    border-radius:5px;

    font-size:13px;

}

.deposit-card{

max-width:500px;

margin:30px auto;

background:#fff;

padding:25px;

border-radius:20px;

box-shadow:0 5px 20px rgba(0,0,0,.08);

}


.bank-info{

background:#f5f6fa;

padding:20px;

border-radius:15px;

margin-bottom:20px;

}


.qr-image{

width:200px;

display:block;

margin:auto;

}


.deposit-card input{

width:100%;

padding:13px;

margin:10px 0;

border-radius:12px;

border:1px solid #ddd;

}


.deposit-preview{

width:220px;

margin-top:15px;

border-radius:15px;

}