/*==============================
  GOOGLE FONT
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==============================
 RESET
==============================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f7fb;
color:#222;
overflow-x:hidden;
line-height:1.6;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

button{
border:none;
outline:none;
cursor:pointer;
font-family:inherit;
}

input,
textarea,
select{
font-family:inherit;
outline:none;
}

ul{
list-style:none;
}

/*==============================
 VARIABLES
==============================*/

:root{

--primary:#4f46e5;
--primary-dark:#3730a3;

--secondary:#6366f1;

--success:#16a34a;

--danger:#dc2626;

--warning:#f59e0b;

--info:#0ea5e9;

--dark:#111827;

--light:#ffffff;

--gray:#6b7280;

--bg:#f5f7fb;

--card:#ffffff;

--border:#e5e7eb;

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

--radius:16px;

--transition:.3s ease;

}

/*==============================
 DARK MODE
==============================*/

body.dark,
body.dark-theme{

--bg:#0f172a;

--card:#1e293b;

--dark:#ffffff;

--light:#0f172a;

--border:#334155;

--gray:#cbd5e1;

background:#0f172a;

color:#fff;

}

/*==============================
 SCROLLBAR
==============================*/

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#eee;
}

::-webkit-scrollbar-thumb{
background:var(--primary);
border-radius:20px;
}

/*==============================
 CONTAINER
==============================*/

.container{
width:90%;
max-width:1400px;
margin:auto;
}

/*==============================
 WRAPPER
==============================*/

.wrapper{
display:flex;
min-height:100vh;
background:var(--bg);
}

/*==============================
 MAIN
==============================*/

.main{
flex:1;
margin-left:260px;
display:flex;
flex-direction:column;
min-height:100vh;
transition:.3s;
}

/*==============================
 CONTENT
==============================*/

.content{
padding:30px;
flex:1;
}

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

.page-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:30px;

gap:20px;

flex-wrap:wrap;

}

.page-header h1{

font-size:30px;

font-weight:700;

color:var(--dark);

}

.page-header p{

color:var(--gray);

margin-top:6px;

}

/*==============================
 TOPBAR
==============================*/

.topbar{

height:75px;

background:var(--card);

display:flex;

justify-content:space-between;

align-items:center;

padding:0 30px;

box-shadow:var(--shadow);

position:sticky;

top:0;

z-index:100;

}

.topbar .left{

display:flex;

align-items:center;

gap:18px;

}

.topbar .left h2{

font-size:24px;

font-weight:600;

}

.topbar .right{

display:flex;

align-items:center;

gap:20px;

}

.icon{

width:45px;

height:45px;

border-radius:50%;

background:var(--bg);

display:flex;

align-items:center;

justify-content:center;

font-size:18px;

transition:.3s;

}

.icon:hover{

background:var(--primary);

color:#fff;

}

/*==============================
 PROFILE
==============================*/

.profile{

display:flex;

align-items:center;

gap:12px;

}

.profile img{

width:48px;

height:48px;

border-radius:50%;

object-fit:cover;

}

.profile h4{

font-size:15px;

font-weight:600;

}

.profile small{

color:var(--gray);

}

/*==============================
 SECTION TITLE
==============================*/

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:38px;

margin-bottom:10px;

font-weight:700;

}

.section-title p{

color:var(--gray);

max-width:650px;

margin:auto;

}
/*==============================
 SIDEBAR
==============================*/

.sidebar{
    position:fixed;
    top:0;
    left:0;
    width:260px;
    height:100vh;
    background:var(--card);
    box-shadow:var(--shadow);
    overflow-y:auto;
    transition:var(--transition);
    z-index:1000;
    }
    
    .sidebar::-webkit-scrollbar{
    width:6px;
    }
    
    .sidebar::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
    }
    
    .sidebar.collapsed{
    width:80px;
    }
    
    .sidebar.collapsed .logo span,
    .sidebar.collapsed .menu span{
    display:none;
    }
    
    .sidebar.collapsed+.main{
    margin-left:80px;
    }
    
    /*==============================
     LOGO
    ==============================*/
    
    .logo{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-size:24px;
    font-weight:700;
    color:var(--primary);
    border-bottom:1px solid var(--border);
    }
    
    .logo i{
    font-size:30px;
    }

    .logo img{
    width:42px;
    height:42px;
    object-fit:cover;
    border-radius:10px;
    background:#fff;
    }
    
    /*==============================
     MENU
    ==============================*/
    
    .menu{
    padding:20px 12px;
    }
    
    .menu li{
    margin-bottom:8px;
    }
    
    .menu li a{
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    border-radius:12px;
    font-weight:500;
    color:var(--gray);
    transition:var(--transition);
    }
    
    .menu li a i{
    width:22px;
    font-size:18px;
    text-align:center;
    }
    
    .menu li a:hover{
    background:var(--primary);
    color:#fff;
    transform:translateX(5px);
    }
    
    .menu li.active a{
    background:var(--primary);
    color:#fff;
    box-shadow:0 8px 18px rgba(79,70,229,.25);
    }
    
    /*==============================
     CARDS
    ==============================*/
    
    .cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
    margin-bottom:30px;
    }
    
    .card{
    background:var(--card);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:var(--shadow);
    transition:var(--transition);
    position:relative;
    overflow:hidden;
    }
    
    .card:hover{
    transform:translateY(-8px);
    }
    
    .card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:5px;
    height:100%;
    background:var(--primary);
    }
    
    .card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    }
    
    .card p{
    color:var(--gray);
    font-size:14px;
    margin-bottom:8px;
    }
    
    .card h2{
    font-size:30px;
    font-weight:700;
    color:var(--dark);
    }
    
    /*==============================
     CARD ICONS
    ==============================*/
    
    .card-icon{
    width:65px;
    height:65px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    color:#fff;
    }
    
    .blue{
    background:#3b82f6;
    }
    
    .green{
    background:#22c55e;
    }
    
    .orange{
    background:#f59e0b;
    }
    
    .red{
    background:#ef4444;
    }
    
    .purple{
    background:#8b5cf6;
    }
    
    .cyan{
    background:#06b6d4;
    }
    
    /*==============================
     STAT BOX
    ==============================*/
    
    .stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:30px;
    }
    
    .stat-box{
    background:var(--card);
    padding:25px;
    border-radius:var(--radius);
    text-align:center;
    box-shadow:var(--shadow);
    transition:var(--transition);
    }
    
    .stat-box:hover{
    transform:translateY(-6px);
    }
    
    .stat-box h2{
    font-size:34px;
    color:var(--primary);
    margin-bottom:8px;
    }
    
    .stat-box p{
    color:var(--gray);
    }
    
    /*==============================
     CHART CARD
    ==============================*/
    
    .dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:25px;
    margin:30px 0;
    }
    
    .chart-card{
    background:var(--card);
    padding:25px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    }
    
    .chart-card h3{
    margin-bottom:20px;
    font-size:20px;
    font-weight:600;
    color:var(--dark);
    }
    
.chart-card canvas{
    width:100%;
    height:230px;
}

/* Compact, touch-friendly dashboard layout */
.chart-card{
    min-width:0;
}

.table-card{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

@media(max-width:768px){
    .content{
        padding:16px;
    }

    .chart-card{
        padding:18px;
    }

    .chart-card canvas{
        height:190px;
    }

    .card-header{
        gap:10px;
        flex-wrap:wrap;
    }

    .header-buttons,
    .dashboard-actions{
        width:100%;
        gap:10px;
        flex-wrap:wrap;
    }

    .header-buttons button,
    .dashboard-actions button{
        flex:1 1 140px;
    }
}

@media(max-width:480px){
    .content{
        padding:12px;
    }

    .chart-card canvas{
        height:170px;
    }

    .page-header h1,
    .page-title h1{
        font-size:24px;
    }
}
    /*==============================
 BUTTONS
==============================*/

.primary-btn,
.secondary-btn,
.danger-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
padding:12px 22px;
border-radius:12px;
font-size:15px;
font-weight:600;
transition:var(--transition);
cursor:pointer;
}

.primary-btn{
background:var(--primary);
color:#fff;
}

.primary-btn:hover{
background:var(--primary-dark);
transform:translateY(-2px);
}

.secondary-btn{
background:#eef2ff;
color:var(--primary);
}

.secondary-btn:hover{
background:var(--primary);
color:#fff;
}

.danger-btn{
background:var(--danger);
color:#fff;
}

.danger-btn:hover{
filter:brightness(.9);
}

/*==============================
 FILTER
==============================*/

.filter-container{
display:flex;
align-items:center;
gap:15px;
flex-wrap:wrap;
margin-bottom:25px;
}

.filter-container input,
.filter-container select{
height:46px;
padding:0 15px;
border:1px solid var(--border);
border-radius:10px;
background:var(--card);
color:var(--dark);
font-size:14px;
}

.filter-container select{
min-width:170px;
}

/*==============================
 SEARCH
==============================*/

.search-box{
flex:1;
min-width:250px;
position:relative;
}

.search-box input{
width:100%;
height:46px;
padding:0 18px 0 46px;
border:1px solid var(--border);
border-radius:12px;
background:var(--card);
color:var(--dark);
}

.search-box i{
position:absolute;
left:16px;
top:50%;
transform:translateY(-50%);
color:var(--gray);
}

/*==============================
 TABLE
==============================*/

.table-card{
background:var(--card);
border-radius:var(--radius);
box-shadow:var(--shadow);
overflow:auto;
margin-bottom:25px;
}

.table-card table{
width:100%;
border-collapse:collapse;
min-width:900px;
}

.table-card thead{
background:var(--primary);
color:#fff;
}

.table-card th,
.table-card td{
padding:16px 18px;
text-align:left;
font-size:14px;
}

.table-card tbody tr{
border-bottom:1px solid var(--border);
transition:var(--transition);
}

.table-card tbody tr:hover{
background:rgba(79,70,229,.05);
}

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

/*==============================
 BADGES
==============================*/

.badge{
display:inline-block;
padding:6px 12px;
border-radius:30px;
font-size:12px;
font-weight:600;
}

.badge.success{
background:#dcfce7;
color:#15803d;
}

.badge.warning{
background:#fef3c7;
color:#b45309;
}

.badge.danger{
background:#fee2e2;
color:#dc2626;
}

.badge.primary{
background:#e0e7ff;
color:var(--primary);
}

.badge.info{
background:#cffafe;
color:#0891b2;
}

/*==============================
 ACTION BUTTONS
==============================*/

.action-btn{
width:36px;
height:36px;
border:none;
border-radius:10px;
display:inline-flex;
align-items:center;
justify-content:center;
margin-right:6px;
color:#fff;
cursor:pointer;
transition:var(--transition);
}

.action-btn:last-child{
margin-right:0;
}

.action-btn.view{
background:#3b82f6;
}

.action-btn.edit{
background:#f59e0b;
}

.action-btn.delete{
background:#ef4444;
}

.action-btn:hover{
transform:scale(1.08);
}

/*==============================
 PAGINATION
==============================*/

.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin:30px 0;
flex-wrap:wrap;
}

.page-btn{
width:42px;
height:42px;
border:none;
border-radius:10px;
background:var(--card);
color:var(--dark);
box-shadow:var(--shadow);
transition:var(--transition);
cursor:pointer;
}

.page-btn:hover,
.page-btn.active{
background:var(--primary);
color:#fff;
}
/*==============================
 FORMS
==============================*/

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
    }
    
    .form-group label{
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;
    color:var(--dark);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea{
    width:100%;
    padding:13px 15px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--card);
    color:var(--dark);
    font-size:15px;
    transition:var(--transition);
    resize:none;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(79,70,229,.15);
    }
    
    .form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    }
    
    .form-group.full{
    grid-column:1/-1;
    }
    
    /*==============================
     CHECKBOX & RADIO
    ==============================*/
    
    .form-check{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
    }
    
    .form-check input{
    width:18px;
    height:18px;
    accent-color:var(--primary);
    }
    
    .form-check label{
    margin:0;
    font-weight:500;
    }
    
    /*==============================
     LOGIN
    ==============================*/
    
    .login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    padding:20px;
    }
    
    .login-card{
    width:100%;
    max-width:430px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.2);
    }
    
    .login-card h1{
    text-align:center;
    margin-bottom:10px;
    }
    
    .login-card p{
    text-align:center;
    color:var(--gray);
    margin-bottom:30px;
    }
    
    .login-card .primary-btn{
    width:100%;
    margin-top:10px;
    }
    
    .login-footer{
    text-align:center;
    margin-top:20px;
    font-size:14px;
    color:var(--gray);
    }
    
    /*==============================
     MODALS
    ==============================*/
    
    .modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:9999;
    animation:fadeIn .3s;
    }
    
    .modal.show{
    display:flex;
    }
    
    .modal-content{
    width:100%;
    max-width:700px;
    background:var(--card);
    border-radius:18px;
    padding:25px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
    animation:scaleIn .3s;
    }
    
    .modal-content.small{
    max-width:420px;
    }
    
    .modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    padding-bottom:15px;
    border-bottom:1px solid var(--border);
    }
    
    .modal-header h2{
    font-size:22px;
    }
    
    .close{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#f3f4f6;
    font-size:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    }
    
    .close:hover{
    background:var(--danger);
    color:#fff;
    }
    
    .modal-footer{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
    }
    
    /*==============================
     ALERT BOX
    ==============================*/
    
    .alert{
    padding:15px 20px;
    border-radius:12px;
    margin-bottom:20px;
    font-weight:500;
    }
    
    .alert.success{
    background:#dcfce7;
    color:#166534;
    }
    
    .alert.error{
    background:#fee2e2;
    color:#991b1b;
    }
    
    .alert.warning{
    background:#fef3c7;
    color:#92400e;
    }
    
    .alert.info{
    background:#dbeafe;
    color:#1e40af;
    }
    
    /*==============================
     LOADER
    ==============================*/
    
    .loader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    z-index:10000;
    }

    .loader.is-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .35s ease, visibility .35s ease;
    }
    
    .spinner{
    width:65px;
    height:65px;
    border:6px solid #ddd;
    border-top:6px solid var(--primary);
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin-bottom:20px;
    }
    
    /*==============================
     ANIMATIONS
    ==============================*/
    
    @keyframes spin{
    to{
    transform:rotate(360deg);
    }
    }
    
    @keyframes fadeIn{
    from{
    opacity:0;
    }
    to{
    opacity:1;
    }
    }
    
    @keyframes scaleIn{
    from{
    opacity:0;
    transform:scale(.9);
    }
    to{
    opacity:1;
    transform:scale(1);
    }
    }
    /*==============================
 HEADER
==============================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(15px);
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    z-index:999;
    }
    
    .navbar{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    }
    
    .nav-links{
    display:flex;
    align-items:center;
    gap:35px;
    }
    
    .nav-links a{
    font-weight:500;
    transition:.3s;
    }
    
    .nav-links a:hover{
    color:var(--primary);
    }
    
    .nav-actions{
    display:flex;
    align-items:center;
    gap:15px;
    }
    
    .login-btn{
    padding:10px 22px;
    border:2px solid var(--primary);
    border-radius:12px;
    color:var(--primary);
    font-weight:600;
    transition:.3s;
    }
    
    .login-btn:hover{
    background:var(--primary);
    color:#fff;
    }
    
    .menu-toggle{
    display:none;
    font-size:24px;
    cursor:pointer;
    }
    
    /*==============================
     HERO
    ==============================*/
    
    .hero{
    padding:150px 0 100px;
    background:linear-gradient(135deg,#eef2ff,#ffffff);
    }
    
    .hero-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:60px;
    align-items:center;
    }
    
    .hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    background:#eef2ff;
    color:var(--primary);
    border-radius:30px;
    font-weight:600;
    margin-bottom:20px;
    }
    
    .hero h1{
    font-size:58px;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:800;
    }
    
    .hero h1 span{
    color:var(--primary);
    }
    
    .hero p{
    font-size:17px;
    color:var(--gray);
    margin-bottom:35px;
    max-width:600px;
    }
    
    .hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:45px;
    }
    
    .hero-image{
    position:relative;
    }
    
    .hero-image img{
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    }
    
    .floating-card{
    position:absolute;
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
    padding:15px 18px;
    border-radius:16px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    animation:float 4s ease-in-out infinite;
    }
    
    .floating-card i{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:#fff;
    border-radius:12px;
    font-size:20px;
    }
    
    .card1{
    top:20px;
    right:-30px;
    }
    
    .card2{
    left:-35px;
    top:220px;
    }
    
    .card3{
    right:20px;
    bottom:20px;
    }
    
    .hero-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    }
    
    .hero-stats div{
    background:#fff;
    padding:20px;
    border-radius:16px;
    text-align:center;
    box-shadow:var(--shadow);
    }
    
    .hero-stats h2{
    color:var(--primary);
    margin-bottom:6px;
    }
    
    /*==============================
     BRANDS
    ==============================*/
    
    .brands{
    padding:70px 0;
    background:#fff;
    }
    
    .brand-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:35px;
    }
    
    .brand-grid div{
    padding:22px;
    text-align:center;
    background:var(--card);
    border-radius:16px;
    box-shadow:var(--shadow);
    font-weight:600;
    transition:.3s;
    }
    
    .brand-grid div:hover{
    transform:translateY(-6px);
    }
    
    .brand-grid i{
    display:block;
    font-size:32px;
    color:var(--primary);
    margin-bottom:10px;
    }
    
    /*==============================
     FEATURES
    ==============================*/
    
    .features{
    padding:100px 0;
    }
    
    .feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    }
    
    .feature-card{
    background:var(--card);
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.3s;
    }
    
    .feature-card:hover{
    transform:translateY(-8px);
    }
    
    .feature-card i{
    width:70px;
    height:70px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:#fff;
    font-size:28px;
    border-radius:18px;
    margin-bottom:20px;
    }
    
    .feature-card h3{
    margin-bottom:12px;
    }
    
    .feature-card p{
    color:var(--gray);
    }
    
    /*==============================
     ABOUT
    ==============================*/
    
    .about{
    padding:100px 0;
    }
    
    .about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:60px;
    align-items:center;
    }
    
    .about-list li{
    display:flex;
    align-items:center;
    gap:10px;
    margin:15px 0;
    font-weight:500;
    }
    
    .about-list i{
    color:var(--success);
    }
    
    /*==============================
     CTA
    ==============================*/
    
    .cta{
    padding:90px 20px;
    text-align:center;
    background:linear-gradient(135deg,var(--primary),#7c3aed);
    color:#fff;
    }
    
    .cta h2{
    font-size:42px;
    margin-bottom:20px;
    }
    
    .cta p{
    margin-bottom:35px;
    font-size:18px;
    }
    
    .cta .secondary-btn{
    background:#fff;
    color:var(--primary);
    }
    
    /*==============================
     PRICING
    ==============================*/
    
    .pricing{
    padding:100px 0;
    }
    
    .pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    }
    
    .price-card{
    position:relative;
    padding:40px 30px;
    text-align:center;
    background:var(--card);
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:.3s;
    }
    
    .price-card:hover{
    transform:translateY(-8px);
    }
    
    .price-card.featured{
    border:3px solid var(--primary);
    }
    
    .tag{
    position:absolute;
    top:-12px;
    left:50%;
    transform:translateX(-50%);
    background:var(--primary);
    color:#fff;
    padding:8px 18px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    }
    
    .price-card h1{
    font-size:46px;
    margin:20px 0;
    color:var(--primary);
    }
    
    .price-card ul li{
    margin:12px 0;
    }
    
    .price-card i{
    color:var(--success);
    margin-right:8px;
    }
    
    /*==============================
     FLOAT
    ==============================*/
    
    @keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    }
    /*==============================
 TESTIMONIALS
==============================*/

.testimonials{
    padding:100px 0;
    background:#f8fafc;
    }
    
    .testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    }
    
    .testimonial{
    background:var(--card);
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:.3s;
    }
    
    .testimonial:hover{
    transform:translateY(-8px);
    }
    
    .testimonial p{
    color:var(--gray);
    margin-bottom:20px;
    font-style:italic;
    }
    
    .testimonial h4{
    margin-bottom:5px;
    }
    
    .testimonial small{
    color:var(--gray);
    }
    
    /*==============================
     FAQ
    ==============================*/
    
    .faq{
    padding:100px 0;
    }
    
    .faq-item{
    background:var(--card);
    padding:22px;
    margin-bottom:18px;
    border-radius:16px;
    box-shadow:var(--shadow);
    }
    
    .faq-item h3{
    margin-bottom:12px;
    font-size:18px;
    }
    
    .faq-item p{
    color:var(--gray);
    }
    
    /*==============================
     CONTACT
    ==============================*/
    
    .contact{
    padding:100px 0;
    background:#f8fafc;
    }
    
    .contact-form{
    max-width:750px;
    margin:auto;
    display:grid;
    gap:20px;
    }
    
    .contact-form input,
    .contact-form textarea{
    padding:15px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--card);
    color:var(--dark);
    }
    
    .contact-form textarea{
    min-height:150px;
    }
    
    /*==============================
     FOOTER
    ==============================*/
    
    .footer{
    padding:50px 20px;
    background:#111827;
    color:#fff;
    text-align:center;
    }
    
    .footer h2{
    margin-bottom:15px;
    }
    
    .footer p{
    color:#d1d5db;
    margin-bottom:20px;
    }
    
    .footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin:20px 0;
    }
    
    .footer-links a{
    transition:.3s;
    }
    
    .footer-links a:hover{
    color:#60a5fa;
    }
    
    .copyright{
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:20px;
    margin-top:20px;
    font-size:14px;
    }
    
    /*==============================
     SHOP
    ==============================*/
    
    .shop-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    }
    
    .product-card{
    background:var(--card);
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.3s;
    }
    
    .product-card:hover{
    transform:translateY(-8px);
    }
    
    .product-card img{
    height:220px;
    width:100%;
    object-fit:cover;
    }
    
    .product-info{
    padding:20px;
    }
    
    .product-info h3{
    margin-bottom:10px;
    }
    
    .price{
    font-size:22px;
    font-weight:700;
    color:var(--primary);
    margin:10px 0;
    }
    
    /*==============================
     CUSTOMER DASHBOARD
    ==============================*/
    
    .customer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
    }
    
    .customer-card{
    background:var(--card);
    padding:25px;
    border-radius:18px;
    box-shadow:var(--shadow);
    text-align:center;
    }
    
    .customer-card i{
    font-size:34px;
    color:var(--primary);
    margin-bottom:15px;
    }
    
    .customer-card h3{
    font-size:28px;
    margin-bottom:8px;
    }
    
    /*==============================
     CART
    ==============================*/
    
    .cart-table{
    width:100%;
    border-collapse:collapse;
    background:var(--card);
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    }
    
    .cart-table th,
    .cart-table td{
    padding:18px;
    border-bottom:1px solid var(--border);
    }
    
    .cart-table th{
    background:var(--primary);
    color:#fff;
    }
    
    .qty-box{
    display:flex;
    align-items:center;
    gap:10px;
    }
    
    .qty-box button{
    width:34px;
    height:34px;
    border-radius:8px;
    background:var(--primary);
    color:#fff;
    }
    
    /*==============================
     ORDER SUMMARY
    ==============================*/
    
    .summary-card{
    background:var(--card);
    padding:25px;
    border-radius:18px;
    box-shadow:var(--shadow);
    }
    
    .summary-row{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
    }
    
    .summary-total{
    display:flex;
    justify-content:space-between;
    font-size:22px;
    font-weight:700;
    padding-top:15px;
    border-top:2px solid var(--border);
    }
    
    /*==============================
     CUSTOMER PROFILE
    ==============================*/
    
    .customer-profile{
    background:var(--card);
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:var(--shadow);
    }
    
    .profile-image{
    width:120px;
    height:120px;
    margin:auto;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
    border:4px solid var(--primary);
    }
    
    .customer-profile h3{
    margin-bottom:10px;
    }
    
    .customer-profile p{
    color:var(--gray);
    margin-bottom:8px;
    }
    /*==============================
 CHECKOUT
==============================*/

.checkout-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    }
    
    .checkout-card{
    background:var(--card);
    padding:25px;
    border-radius:18px;
    box-shadow:var(--shadow);
    margin-bottom:25px;
    }
    
    .checkout-card h3{
    margin-bottom:20px;
    font-size:22px;
    }
    
    .payment-methods{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:15px;
    }
    
    .payment-option{
    padding:18px;
    border:2px solid var(--border);
    border-radius:14px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
    }
    
    .payment-option:hover,
    .payment-option.active{
    border-color:var(--primary);
    background:#eef2ff;
    }
    
    .payment-option i{
    font-size:32px;
    color:var(--primary);
    margin-bottom:10px;
    }
    
    /*==============================
     PAYMENT
    ==============================*/
    
    .payment-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    }
    
    .payment-card{
    background:var(--card);
    padding:25px;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.3s;
    }
    
    .payment-card:hover{
    transform:translateY(-6px);
    }
    
    .payment-card h4{
    margin-bottom:10px;
    }
    
    .payment-card .amount{
    font-size:30px;
    font-weight:700;
    color:var(--primary);
    }
    
    /*==============================
     INVOICE
    ==============================*/
    
    .invoice{
    background:#fff;
    max-width:900px;
    margin:auto;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);
    }
    
    .invoice-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:20px;
    border-bottom:2px solid var(--border);
    margin-bottom:25px;
    }
    
    .invoice-logo{
    font-size:28px;
    font-weight:700;
    color:var(--primary);
    }
    
    .invoice-details{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:25px;
    }
    
    .invoice-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:25px;
    }
    
    .invoice-table th,
    .invoice-table td{
    padding:14px;
    border:1px solid var(--border);
    }
    
    .invoice-table th{
    background:var(--primary);
    color:#fff;
    }
    
    .invoice-total{
    text-align:right;
    font-size:24px;
    font-weight:700;
    color:var(--primary);
    }
    
    /*==============================
     RECEIPT
    ==============================*/
    
    .receipt{
    max-width:420px;
    margin:auto;
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:var(--shadow);
    font-size:14px;
    }
    
    .receipt h2{
    text-align:center;
    margin-bottom:20px;
    }
    
    .receipt-row{
    display:flex;
    justify-content:space-between;
    margin:10px 0;
    }
    
    .receipt hr{
    margin:18px 0;
    border:none;
    border-top:1px dashed #bbb;
    }
    
    /*==============================
     QR
    ==============================*/
    
    .qr-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    }
    
    .qr-card{
    background:var(--card);
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    text-align:center;
    }
    
    .qr-preview{
    width:220px;
    height:220px;
    margin:20px auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px dashed var(--border);
    border-radius:16px;
    }
    
    .qr-preview img,
    .qr-preview canvas{
    max-width:100%;
    }

    .qr-gallery-modal{
    max-width:1100px;
    max-height:90vh;
    overflow:auto;
    }

    .qr-gallery-status{
    color:var(--gray);
    margin:0 0 20px;
    }

    .qr-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:18px;
    }

    .qr-gallery-card{
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--card);
    text-align:center;
    }

    .qr-gallery-preview{
    min-height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:10px 0;
    }

    .qr-gallery-preview canvas,
    .qr-gallery-preview img{
    max-width:180px;
    height:auto;
    }
    
    .scan-box{
    width:100%;
    height:320px;
    border:3px dashed var(--primary);
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fafafa;
    }
    
    /*==============================
     NOTIFICATIONS
    ==============================*/
    
    .notification-list{
    display:flex;
    flex-direction:column;
    gap:15px;
    }
    
    .notification-item{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
    background:var(--card);
    border-radius:16px;
    box-shadow:var(--shadow);
    }
    
    .notification-item i{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:20px;
    }
    
    .notification-item h4{
    margin-bottom:4px;
    }
    
    .notification-item small{
    color:var(--gray);
    }
    
    /*==============================
     ACTIVITY
    ==============================*/
    
    .timeline{
    position:relative;
    padding-left:35px;
    }
    
    .timeline::before{
    content:"";
    position:absolute;
    left:10px;
    top:0;
    bottom:0;
    width:3px;
    background:var(--primary);
    }
    
    .timeline-item{
    position:relative;
    margin-bottom:30px;
    background:var(--card);
    padding:20px;
    border-radius:16px;
    box-shadow:var(--shadow);
    }
    
    .timeline-item::before{
    content:"";
    position:absolute;
    left:-33px;
    top:22px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--primary);
    }
    
    .timeline-item h4{
    margin-bottom:8px;
    }
    
    .timeline-item p{
    color:var(--gray);
    }
    
    .timeline-item span{
    font-size:13px;
    color:var(--gray);
    }
    /*==============================
 RESPONSIVE
==============================*/

@media(max-width:1200px){

    .main{
    margin-left:80px;
    }
    
    .sidebar{
    width:80px;
    }
    
    .sidebar .logo span,
    .sidebar .menu span{
    display:none;
    }
    
    .hero h1{
    font-size:48px;
    }
    
    .checkout-grid{
    grid-template-columns:1fr;
    }
    
    }
    
    @media(max-width:992px){
    
    .hero-container,
    .about-grid{
    grid-template-columns:1fr;
    text-align:center;
    }
    
    .hero-buttons,
    .hero-stats{
    justify-content:center;
    }
    
    .dashboard-grid{
    grid-template-columns:1fr;
    }
    
    .invoice-details{
    grid-template-columns:1fr;
    }
    
    .nav-links{
    display:none;
    }
    
    .menu-toggle{
    display:block;
    }
    
    }
    
    @media(max-width:768px){
    
    .main{
    margin-left:0;
    }
    
    .sidebar{
    left:-260px;
    }
    
    .sidebar.show{
    left:0;
    }
    
    .content{
    padding:20px;
    }
    
    .cards,
    .stats-grid,
    .feature-grid,
    .pricing-grid,
    .testimonial-grid,
    .shop-grid,
    .payment-grid,
    .customer-grid,
    .qr-container{
    grid-template-columns:1fr;
    }
    
    .hero{
    padding:120px 0 60px;
    }
    
    .hero h1{
    font-size:38px;
    }
    
    .hero-stats{
    grid-template-columns:repeat(2,1fr);
    }
    
    .page-header,
    .topbar,
    .filter-container{
    flex-direction:column;
    align-items:flex-start;
    }
    
    .table-card{
    overflow-x:auto;
    }
    
    .modal-content{
    padding:20px;
    }
    
    }
    
    @media(max-width:576px){
    
    .container{
    width:95%;
    }
    
    .hero h1{
    font-size:30px;
    }
    
    .section-title h2{
    font-size:28px;
    }
    
    .page-header h1{
    font-size:24px;
    }
    
    .topbar{
    padding:15px;
    height:auto;
    }
    
    .profile small{
    display:none;
    }
    
    .hero-stats{
    grid-template-columns:1fr;
    }
    
    .form-grid{
    grid-template-columns:1fr;
    }
    
    .invoice{
    padding:20px;
    }
    
    .receipt{
    padding:20px;
    }
    
    }
    
    /*==============================
     UTILITIES
    ==============================*/
    
    .text-center{text-align:center;}
    .text-left{text-align:left;}
    .text-right{text-align:right;}
    
    .mt-10{margin-top:10px;}
    .mt-20{margin-top:20px;}
    .mt-30{margin-top:30px;}
    .mt-40{margin-top:40px;}
    
    .mb-10{margin-bottom:10px;}
    .mb-20{margin-bottom:20px;}
    .mb-30{margin-bottom:30px;}
    .mb-40{margin-bottom:40px;}
    
    .p-10{padding:10px;}
    .p-20{padding:20px;}
    .p-30{padding:30px;}
    
    .w-100{width:100%;}
    .d-flex{display:flex;}
    .flex-between{display:flex;justify-content:space-between;align-items:center;}
    .flex-center{display:flex;justify-content:center;align-items:center;}
    .flex-column{display:flex;flex-direction:column;}
    .flex-wrap{flex-wrap:wrap;}
    .gap-10{gap:10px;}
    .gap-20{gap:20px;}
    
    .rounded{border-radius:12px;}
    .shadow{box-shadow:var(--shadow);}
    .hidden{display:none;}
    .visible{display:block;}
    
    /*==============================
     PRINT
    ==============================*/
    
    @media print{
    
    .sidebar,
    .topbar,
    .footer,
    .primary-btn,
    .secondary-btn,
    .danger-btn,
    .filter-container,
    .pagination,
    .menu-toggle{
    display:none!important;
    }
    
    .main{
    margin:0;
    }
    
    .content{
    padding:0;
    }
    
    .invoice,
    .receipt{
    width:100%;
    max-width:100%;
    box-shadow:none;
    border:none;
    }
    
    body{
    background:#fff;
    color:#000;
    }
    
    }
    
    /*==============================
     DARK MODE EXTRA
    ==============================*/
    
    body.dark .card,
    body.dark-theme .card,
    body.dark .table-card,
    body.dark-theme .table-card,
    body.dark .chart-card,
    body.dark-theme .chart-card,
    body.dark .modal-content,
    body.dark-theme .modal-content,
    body.dark .feature-card,
    body.dark-theme .feature-card,
    body.dark .price-card,
    body.dark-theme .price-card,
    body.dark .testimonial,
    body.dark-theme .testimonial,
    body.dark .customer-card,
    body.dark-theme .customer-card,
    body.dark .summary-card,
    body.dark-theme .summary-card,
    body.dark .checkout-card,
    body.dark-theme .checkout-card,
    body.dark .payment-card,
    body.dark-theme .payment-card,
    body.dark .notification-item,
    body.dark-theme .notification-item,
    body.dark .timeline-item,
    body.dark-theme .timeline-item,
    body.dark .faq-item,
    body.dark-theme .faq-item{
    background:#1e293b;
    color:#fff;
    }
    
    body.dark input,
    body.dark-theme input,
    body.dark textarea,
    body.dark-theme textarea,
    body.dark select,
    body.dark-theme select{
    background:#0f172a;
    color:#fff;
    border-color:#334155;
    }
    
    body.dark .header,
    body.dark-theme .header{
    background:rgba(15,23,42,.95);
    }
    
    body.dark .footer,
    body.dark-theme .footer{
    background:#020617;
    }
    
    body.dark .hero,
    body.dark-theme .hero{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    }
    
    /*==============================
     END
    ==============================*/
