/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f5f5;
    color:#222;
}

/* NAVBAR */

nav{
    width:100%;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);

    position:sticky;
    top:0;
    z-index:999;
}

.nav_container{
    width:90%;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 0;
}

.logo h1{
    font-size:32px;
    color:#c72092;
}

.logo span{
    color:#6c14d0;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-weight:bold;
    transition:0.3s;
}

nav ul li a:hover{
    color:#c72092;
}

.icons{
    display:flex;
    gap:15px;
}

.icons a{
    color:#222;
    font-size:20px;
}

/* HERO */

.hero{
    width:90%;
    margin:80px auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.hero_text{
    flex:1;
}

.hero_text h1{
    font-size:80px;
    line-height:1.1;

    background:linear-gradient(to right,#c72092,#6c14d0);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero_text p{
    margin:30px 0;
    line-height:1.8;
    max-width:500px;
}

.hero_btn{
    display:inline-block;

    padding:14px 30px;

    background:linear-gradient(to right,#c72092,#6c14d0);

    color:white;
    text-decoration:none;

    border-radius:30px;
}

/* .hero_image{
    flex:1;
    text-align:center;
} */
.hero_image{
    flex:1;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:visible;
}

/* .hero_image img{
    width:100%;
    max-width:600px;
} */
.hero_image img{
    width:80%;
    max-width:550px;

    transform:rotate(-25deg);

    filter:drop-shadow(
        0 25px 35px rgba(0,0,0,.25)
    );

    animation:floatShoe 4s ease-in-out infinite;

    transition:.4s;
}

.hero_image img:hover{
    transform:rotate(-35deg) scale(1.05);
}

@keyframes floatShoe{

    0%{
        transform:rotate(-35deg)
        translateY(0);
    }

    50%{
        transform:rotate(-35deg)
        translateY(-45px);
    }

    100%{
        transform:rotate(-35deg)
        translateY(0);
    }

}

/* .hero_image img:hover{
    transform:rotate(-25deg) scale(1.05);
} */


/* SECTION */

.section{
    width:90%;
    margin:80px auto;
}

.section_title{
    text-align:center;
    font-size:50px;
    margin-bottom:40px;

    background:linear-gradient(to right,#c72092,#6c14d0);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* FILTER */

.filter_buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;

    margin-bottom:50px;
}

.filter_buttons a{
    padding:12px 24px;

    border:2px solid #c72092;
    border-radius:30px;

    text-decoration:none;
    color:#222;
    font-weight:bold;

    transition:0.3s;
}

.filter_buttons a:hover,
.filter_buttons .active{
    background:linear-gradient(to right,#c72092,#6c14d0);
    color:white;
}

/* PRODUCT GRID */

.product_grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;
}

/* CARD */

.product_card{
    background:white;
    border-radius:20px;
    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);

    transition:0.3s;
}

.product_card:hover{
    transform:translateY(-5px);
}

.product_image{
    width:100%;
    height:250px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#f8f8f8;
}

.product_image img{
    width:100%;
    transition:0.3s;
    transform:rotate(-25deg);
}

.product_card:hover img{
    transform:scale(1.05);
}

.product_content{
    padding:20px;
}

.product_content h3{
    font-size:22px;
    margin-bottom:10px;
}

.product_content p{
    color:#666;
    margin-bottom:15px;
}

.product_price{
    font-size:22px;
    font-weight:bold;
    margin-bottom:20px;
}

.product_actions{
    display:flex;
    gap:10px;
}

.btn{
    flex:1;

    border:none;
    padding:12px;

    cursor:pointer;

    border-radius:10px;

    background:linear-gradient(to right,#c72092,#6c14d0);

    color:white;
    text-decoration:none;

    text-align:center;
}

/* DETAIL */

.detail_container{
    width:90%;
    margin:80px auto;

    display:flex;
    gap:50px;
    align-items:center;
}

.detail_image{
    flex:1;
}

.detail_image img{
    width:100%;
}

.detail_content{
    flex:1;
}

.detail_content h1{
    font-size:50px;
    margin-bottom:20px;
}

.detail_price{
    font-size:35px;
    color:#c72092;
    margin-bottom:20px;
}

.qty_input{
    width:120px;
    padding:12px;
    margin:20px 0;
}

/* CART */

.cart_container{
    width:90%;
    margin:80px auto;
}

.cart_container table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

.cart_container th,
.cart_container td{
    padding:15px;
    border:1px solid #ddd;
    text-align:center;
}

.cart_container img{
    width:100px;
}

/* LOGIN */

.login_container{
    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;
}

.login_box{
    width:400px;
    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.login_box h1{
    margin-bottom:30px;
    text-align:center;
}

.input_group{
    margin-bottom:20px;
}

.input_group input{
    width:100%;
    padding:14px;

    border:1px solid #ccc;
    border-radius:10px;
}

/* FOOTER */

footer{
    background:white;
    padding:50px 0;
    margin-top:80px;
}

.footer_container{
    width:90%;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

    gap:30px;
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero{
        flex-direction:column;
    }

    .detail_container{
        flex-direction:column;
    }

    nav ul{
        display:none;
    }

    .hero_text h1{
        font-size:50px;
    }
}


/* MODERN CART */

.modern_cart{
    width:90%;
    margin:80px auto;

    display:flex;
    gap:30px;
    align-items:flex-start;
}

.cart_left{
    flex:3;
}

.cart_left h1{
    margin-bottom:30px;
}

.cart_item{
    background:white;

    border-radius:20px;

    padding:20px;

    margin-bottom:20px;

    display:flex;
    gap:20px;
    align-items:center;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.cart_image{
    width:150px;
    height:150px;

    background:#f7f7f7;

    border-radius:15px;

    display:flex;
    justify-content:center;
    align-items:center;
}

.cart_image img{
    width:120px;
}

.cart_info{
    flex:1;
}

.cart_info h2{
    margin-bottom:10px;
}

.cart_info p{
    color:#666;
    margin-bottom:15px;
}



.cart_right{
    text-align:right;
}

.cart_right h3{
    margin-bottom:20px;
}

.cart_right a{
    color:red;
    font-size:20px;
}

.cart_summary{
    flex:1;

    background:white;

    padding:30px;

    border-radius:20px;

    position:sticky;
    top:100px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.summary_item{
    display:flex;
    justify-content:space-between;

    margin:30px 0;

    font-size:20px;
}

.checkout_btn{
    width:100%;

    border:none;

    padding:15px;

    border-radius:15px;

    background:linear-gradient(to right,#c72092,#6c14d0);

    color:white;

    font-size:18px;

    cursor:pointer;
}

.empty_cart{
    background:white;
    padding:40px;

    border-radius:20px;

    text-align:center;
}


.qty_form{
    display:flex;
    align-items:center;
    gap:12px;
}

.qty_btn{
    width:35px;
    height:35px;

    border-radius:50%;

    background:#f3f4f6;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    color:#111;

    font-weight:bold;
}

.qty_value{
    min-width:25px;
    text-align:center;
    font-weight:bold;
}

/* RESPONSIVE CART */

@media(max-width:900px){

    .modern_cart{
        flex-direction:column;
    }

    .cart_item{
        flex-direction:column;
        text-align:center;
    }

    .cart_right{
        text-align:center;
    }

}


/* CHECKOUT */

.checkout_page{
    width:90%;
    margin:50px auto;
}

.checkout_grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

.checkout_card{
    background:white;
    padding:25px;
    border-radius:20px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.checkout_card h2{
    margin-bottom:20px;
}

.checkout_card input[type=text],
.checkout_card textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:12px;
    margin-bottom:15px;
}

.checkout_card textarea{
    height:120px;
    resize:none;
}

.checkout_card label{
    display:block;
    margin-bottom:12px;
}


.checkout_right{
    position:sticky;
    top:100px;
    height:max-content;
}

@media(max-width:900px){

    .checkout_grid{
        grid-template-columns:1fr;
    }

}




/* ADMIN LAYOUT */

.admin_layout{
    display:flex;
    min-height:100vh;
}

/* SIDEBAR */

.admin_sidebar{
    width:260px;

    background:#111827;

    color:white;

    padding:30px 20px;

    position:fixed;

    top:0;
    left:0;
    bottom:0;
}

.admin_logo{
    font-size:35px;
    font-weight:bold;

    margin-bottom:40px;

    color:#c72092;
}

.admin_logo span{
    color:#6c14d0;
}

.admin_sidebar ul{
    list-style:none;
}

.admin_sidebar ul li{
    margin-bottom:15px;
}

.admin_sidebar ul li a{
    display:flex;
    align-items:center;
    gap:12px;

    padding:15px;

    border-radius:12px;

    text-decoration:none;

    color:white;

    transition:0.3s;
}

.admin_sidebar ul li a:hover{
    background:#1f2937;
}

/* CONTENT */

.admin_content{
    margin-left:260px;

    flex:1;

    background:#f5f5f5;

    min-height:100vh;
}

/* TOPBAR */

.admin_topbar{
    background:white;

    padding:20px 40px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

/* DASHBOARD BODY */

.admin_body{
    padding:40px;
}


/* TABLE */

.admin_table{
    width:100%;

    border-collapse:collapse;

    margin-top:30px;

    background:white;

    border-radius:20px;

    overflow:hidden;
}

.admin_table th,
.admin_table td{
    padding:18px;
    border-bottom:1px solid #eee;
    text-align:left;
}

.admin_table th{
    background:#fafafa;
}

/* BUTTON */

.admin_btn{
    display:inline-block;

    padding:10px 18px;

    border-radius:10px;

    text-decoration:none;

    border:none;

    cursor:pointer;

    background:linear-gradient(to right,#c72092,#6c14d0);

    color:white;
}

/* RESPONSIVE */

@media(max-width:900px){

    .admin_sidebar{
        width:100%;
        height:auto;

        position:relative;
    }

    .admin_content{
        margin-left:0;
    }

    .admin_layout{
        flex-direction:column;
    }

}

/* css untuk products admin */

/* PAGE HEADER */

.page_header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:30px;
}

/* TABLE CONTAINER */

.table_container{
    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

/* PRODUCT IMAGE */

.product_thumb{
    width:70px;
    height:70px;
    
    object-fit:cover;

    border-radius:12px;

    background:#f5f5f5;

    padding:5px;
}

/* ACTION BUTTONS */

.action_btns{
    display:flex;
    gap:10px;
}

.edit_btn,
.delete_btn{
    width:40px;
    height:40px;

    border-radius:10px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    text-decoration:none;
}

.edit_btn{
    background:#2563eb;
}

.delete_btn{
    background:#dc2626;
}

/* FORM MODERN */

.admin_form{
    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.form_group{
    margin-bottom:20px;
}

.form_group label{
    display:block;

    margin-bottom:8px;

    font-weight:bold;
}

.form_group input,
.form_group textarea,
.form_group select{
    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:12px;

    outline:none;

    font-size:15px;
}

.form_group textarea{
    resize:none;
    height:120px;
}

/* AUTH */

.auth_wrapper{
    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:40px 20px;
}

.auth_card{
    width:100%;
    max-width:450px;

    background:white;

    padding:40px;

    border-radius:30px;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.auth_header{
    text-align:center;
    margin-bottom:30px;
}

.auth_header h1{
    font-size:38px;
    margin-bottom:10px;
}

.auth_header p{
    color:#666;
}

.form_input{
    margin-bottom:20px;
}

.form_input label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form_input input{
    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:15px;

    outline:none;

    font-size:15px;

    transition:0.3s;
}

.form_input input:focus{
    border-color:#c72092;
}

.modern_btn{
    width:100%;

    border:none;

    padding:15px;

    border-radius:15px;

    background:linear-gradient(to right,#c72092,#6c14d0);

    color:white;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.modern_btn:hover{
    transform:translateY(-2px);
}

.auth_footer{
    margin-top:25px;
    text-align:center;
    color:#666;
}

.auth_footer a{
    color:#c72092;
    font-weight:bold;
    text-decoration:none;
}

.alert_error{
    background:#ffe5e5;

    color:#dc2626;

    padding:15px;

    border-radius:15px;

    margin-bottom:20px;
}

.alert_success{
    background:#e7ffe7;

    color:#15803d;

    padding:15px;

    border-radius:15px;

    margin-bottom:20px;
}


.cart_check{
    margin-right:15px;
}

.cart_check input{
    width:20px;
    height:20px;
    cursor:pointer;
}

/* STATS */

.stats_grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.stats_card{
    background:white;

    border-radius:20px;

    padding:30px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.stats_card h3{
    color:#666;
    margin-bottom:10px;
}

.stats_card h1{
    font-size:32px;
}


.status_badge{
    display:inline-block;

    padding:8px 14px;

    border-radius:30px;

    background:#f3f4f6;

    font-size:13px;

    font-weight:600;
}


.active-menu{
    background:linear-gradient(
        to right,
        #c72092,
        #6c14d0
    ) !important;

    color:white !important;

    box-shadow:
    0 5px 15px rgba(108,20,208,.25);
}


.dashboard_cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin-bottom:25px;
}

.dashboard_card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}


.admin_card{
    background:#fff;
    border-radius:14px;
    padding:24px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    margin-bottom:24px;
}

.order_header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.order_header h1{
    margin:0;
    font-size:28px;
}

.order_header p{
    margin-top:6px;
    color:#777;
}

.card_title{
    margin-bottom:18px;
    font-size:18px;
    font-weight:600;
}

.info_group{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.address_box{
    line-height:1.8;
}

.summary_row{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.summary_total{
    display:flex;
    justify-content:space-between;
    font-size:20px;
    font-weight:700;
}

.badge_pending,
.badge_paid,
.badge_shipped,
.badge_completed{
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.badge_pending{
    background:#fff3cd;
}

.badge_paid{
    background:#d1e7dd;
}

.badge_shipped{
    background:#cfe2ff;
}

.badge_completed{
    background:#d4edda;
}


/* =========================
   MY ORDERS
========================= */

.orders_grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:25px;
}

.order_user_card{
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.order_user_card:hover{
    transform:translateY(-5px);
}

.order_user_top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    margin-bottom:25px;
}

.order_user_top h3{
    margin-bottom:8px;
}

.order_user_top p{
    color:#6b7280;
    font-size:14px;
}

.order_user_middle{
    padding:20px 0;

    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
}

.order_user_middle span{
    color:#6b7280;
    font-size:14px;
}

.order_user_middle h2{
    margin-top:10px;
    color:#111827;
    font-size:28px;
}

.order_user_bottom{
    margin-top:20px;
}

.order_user_bottom .admin_btn{
    width:100%;
    text-align:center;
}

@media(max-width:768px){

    .orders_grid{
        grid-template-columns:1fr;
    }

}

/* ORDER DETAIL USER */

.checkout_item{
    display:flex;
    align-items:center;
    gap:20px;

    padding:15px 0;

    border-bottom:1px solid #eee;
}

.checkout_item:last-child{
    border-bottom:none;
}

.checkout_item_image{
    width:80px;
    height:80px;

    border-radius:12px;
    overflow:hidden;

    background:#f8f8f8;

    display:flex;
    align-items:center;
    justify-content:center;
}

.checkout_item_image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.checkout_item_info{
    flex:1;
}

.checkout_item_info h4{
    margin-bottom:6px;
}

.checkout_item_info small{
    color:#6b7280;
}

.checkout_item_price{
    font-weight:700;
    color:#c72092;
}

.orders_page a{
    text-decoration:none;
    color:inherit;
}

/* PAYMENT */

.payment_info p{
    color:#666;
    line-height:1.7;
}

.payment_preview{
    width:100%;
}

.payment_preview img{
    width:100%;
    border-radius:15px;
    border:1px solid #eee;
}

input[type=file]{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#fff;
}




.payment_group{
    margin-bottom:20px;
}

.payment_method{
    display:block;
    padding:15px;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.payment_channels{
    margin-top:10px;
    margin-left:20px;
}

.payment_channels label{
    display:block;
    padding:12px;
    margin-bottom:10px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    cursor:pointer;
}

.payment_channels small{
    display:block;
    color:#6b7280;
    margin-top:5px;
}

.payment_proof_image{
    width:50%;
    max-width:500px;
    border-radius:16px;
    border:1px solid #eee;
}

.payment_action{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.verify_btn{
    border:none;
    padding:12px 20px;
    border-radius:12px;
    background:#16a34a;
    color:white;
    cursor:pointer;
    font-weight:600;
}

.reject_btn{
    border:none;
    padding:12px 20px;
    border-radius:12px;
    background:#dc2626;
    color:white;
    cursor:pointer;
    font-weight:600;
}

.badge_rejected{
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;

    background:#fee2e2;
    color:#dc2626;
}



.search_form{
    max-width:600px;
    margin:0 auto 30px;

    display:flex;
    gap:10px;
}

.search_form input{
    flex:1;

    padding:14px 20px;

    border:1px solid #ddd;

    border-radius:15px;

    outline:none;
}

.search_form button{
    border:none;

    padding:0 25px;

    border-radius:15px;

    background:linear-gradient(
        to right,
        #c72092,
        #6c14d0
    );

    color:white;

    cursor:pointer;
}


/* PAGINATION */

.pagination_wrapper{
    display:flex;
    justify-content:center;
    margin-top:50px;
}

.pagination{
    display:flex;
    gap:10px;
    list-style:none;
}

.pagination li a,
.pagination li span{

    display:flex;
    justify-content:center;
    align-items:center;

    width:45px;
    height:45px;

    border-radius:12px;

    text-decoration:none;

    background:white;

    color:#111827;

    font-weight:600;

    box-shadow:
    0 3px 10px rgba(0,0,0,.08);

    transition:.3s;
}

.pagination li a:hover{

    transform:translateY(-2px);

    background:#f3f4f6;
}

/* HALAMAN AKTIF */

.pagination li.active a,
.pagination li.active span{

    background:linear-gradient(
        to right,
        #c72092,
        #6c14d0
    );

    color:white;

    box-shadow:
    0 5px 15px rgba(108,20,208,.25);
}



.report_filter{
    display:flex;
    gap:15px;
    align-items:end;
    flex-wrap:wrap;
}
