/* ===================================================
   ARIAN ORDERING SYSTEM
   Version 1.0
=================================================== */

@font-face{
    font-family:'Vazirmatn';
    src:url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight:400;
}

:root{

    --orange:#ff8c1a;
    --orange-dark:#ff6b00;
    --green:#22b14c;
    --red:#d32f2f;
    --text:#2d2d2d;
    --gray:#777;
    --border:#ececec;
    --bg:#f7f8fa;
    --white:#ffffff;

}

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

html{

    scroll-behavior:smooth;

}

body{

    direction:rtl;
    font-family:'Vazirmatn',Tahoma,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.9;

}

a{

    color:inherit;
    text-decoration:none;

}

img{

    display:block;
    max-width:100%;

}

.container{

    width:100%;
    max-width:520px;
    margin:auto;
    padding:18px;

}

/* ================= Landing ================= */

.landing{

    text-align:center;
    padding:15px 0 40px;

}

.landing-logo img{

    width:115px;
    margin:auto;
    margin-top:15px;
    margin-bottom:15px;

}

.landing-title{

    font-size:40px;
    font-weight:800;
    color:#2b2b2b;

}

.landing-subtitle{

    color:var(--orange);
    font-size:22px;
    margin-top:8px;
    margin-bottom:25px;

}

.welcome-card{

    background:#fff;
    border-radius:25px;
    padding:22px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:22px;

}

.welcome-card h3{

    color:var(--orange);
    margin-bottom:10px;
    font-size:22px;

}

.welcome-card p{

    color:#666;
    font-size:14px;
    line-height:2;

}

.landing-text{

    color:#666;
    line-height:2;
    font-size:15px;
    margin-bottom:25px;

}

/* ===== Hero Cards ===== */

.hero-info{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-bottom:25px;

}

.hero-card{

    background:#fff;
    border-radius:22px;
    padding:20px 12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

}

.hero-card:hover{

    transform:translateY(-5px);

}

.hero-icon{

    font-size:28px;
    margin-bottom:10px;

}

.hero-value{

    color:var(--orange);
    font-size:22px;
    font-weight:800;

}

.hero-label{

    margin-top:8px;
    font-size:13px;
    color:#666;
    line-height:1.8;

}

/* ===== Buttons ===== */

.landing-btn,
.landing-btn2,
.btn{

    width:100%;
    height:56px;
    border:none;
    border-radius:18px;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;

}

.btn,
.landing-btn{

    background:var(--orange);
    color:#fff;

}

.btn:hover,
.landing-btn:hover{

    background:var(--orange-dark);

}

.landing-btn2{

    background:#fff;
    color:var(--orange);
    border:2px solid var(--orange);
    margin-top:15px;

}

.landing-btn2:hover{

    background:var(--orange);
    color:#fff;

}

.landing-footer{

    margin-top:35px;
    color:#666;
    line-height:2;

}

.version{

    color:#999;
    font-size:12px;
    margin-top:15px;

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

.top-header{

    background:#ffffff;
    border-radius:24px;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.logo-box{

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

}

.logo{

    width:65px;
    height:65px;
    object-fit:contain;

}

.logo-box h1{

    font-size:22px;
    font-weight:800;
    color:#222;

}

.logo-box p{

    color:#888;
    font-size:13px;

}

.date-box{

    text-align:left;

}

.today{

    font-size:13px;
    color:#666;
    margin-bottom:8px;

}

.status-open{

    background:#E9F9EF;
    color:#169C44;
    border-radius:15px;
    padding:8px 14px;
    font-size:13px;
    font-weight:700;

}

.status-close{

    background:#FFE8E8;
    color:#D62B2B;
    border-radius:15px;
    padding:8px 14px;
    font-size:13px;
    font-weight:700;

}

/* ===================================================
   NAVBAR
=================================================== */

.navbar{

    background:#fff;
    border-radius:20px;
    padding:15px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.nav-left{

    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;

}

.navbar a{

    padding:11px 18px;
    background:#FFF3E6;
    color:var(--orange);
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    transition:.3s;

}

.navbar a:hover{

    background:var(--orange);
    color:#fff;

}

.navbar a.active{

    background:var(--orange);
    color:#fff;

}

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

.card{

    background:#fff;
    border-radius:24px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.title{

    text-align:center;
    font-size:22px;
    font-weight:800;
    margin-bottom:10px;

}

.subtitle{

    text-align:center;
    color:#777;
    font-size:14px;
    margin-bottom:20px;

}

/* ===================================================
   FORM
=================================================== */

.input{

    width:100%;
    height:56px;
    border:1px solid #ececec;
    border-radius:16px;
    background:#fafafa;
    padding:0 16px;
    margin-bottom:15px;
    font-size:15px;
    font-family:inherit;
    transition:.3s;

}

.input:focus{

    outline:none;
    border-color:var(--orange);
    background:#fff;

}

textarea.input{

    height:120px;
    padding:15px;
    resize:none;

}

select.input{

    cursor:pointer;

}

/* ===================================================
   ALERT
=================================================== */

.alert{

    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
    font-size:14px;

}

.alert-success{

    background:#EAF9EF;
    color:#169C44;

}

.alert-error{

    background:#FFE8E8;
    color:#D62B2B;

}

/* ===================================================
   BADGE
=================================================== */

.badge{

    display:inline-block;
    padding:7px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;

}

.badge-success{

    background:#EAF9EF;
    color:#169C44;

}

.badge-warning{

    background:#FFF5D9;
    color:#FF8A00;

}

.badge-danger{

    background:#FFE8E8;
    color:#D62B2B;

}

/* ===================================================
   DASHBOARD
=================================================== */

.dashboard-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;

}

.dashboard-card{

    background:#fff;
    border-radius:22px;
    padding:22px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
    transition:.3s;

}

.dashboard-card:hover{

    transform:translateY(-5px);

}

.dashboard-card h2{

    color:var(--orange);
    font-size:30px;
    margin-bottom:10px;

}

.dashboard-card p{

    color:#666;
    font-size:14px;

}
/* ===================================================
   PRODUCTS
=================================================== */

.product{

    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    border-radius:22px;
    padding:18px;
    margin-bottom:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
    transition:.3s;

}

.product:hover{

    transform:translateY(-4px);

}

.product-info{

    flex:1;

}

.product-info h3{

    font-size:17px;
    font-weight:700;
    color:#333;
    margin-bottom:8px;

}

.product-price{

    color:var(--orange);
    font-size:16px;
    font-weight:800;

}

/* ===================================================
   QUANTITY
=================================================== */

.qty{

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

}

.qty button{

    width:40px;
    height:40px;
    border:none;
    border-radius:14px;
    background:var(--orange);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    transition:.3s;

}

.qty button:hover{

    background:var(--orange-dark);

}

.qty input{

    width:55px;
    height:40px;
    border:1px solid #ddd;
    border-radius:12px;
    text-align:center;
    font-size:17px;
    font-family:inherit;
    background:#fff;

}

.qty input:focus{

    outline:none;
    border-color:var(--orange);

}

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

.search-box{

    margin-bottom:20px;

}

.search-box input{

    width:100%;
    height:56px;
    border:none;
    background:#fff;
    border-radius:18px;
    padding:0 18px;
    font-size:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.07);

}

/* ===================================================
   TOTAL
=================================================== */

.total-box{

    margin-top:20px;
    background:#FFF4E6;
    border-radius:20px;
    padding:18px 20px;

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

    font-size:18px;
    font-weight:800;
    color:var(--orange);

}

/* ===================================================
   ORDER STATUS
=================================================== */

.order-status{

    background:#fff;
    border-radius:22px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.order-title{

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

    margin-bottom:15px;

    font-weight:700;
    font-size:15px;

}

.progress{

    width:100%;
    height:15px;
    background:#ececec;
    border-radius:50px;
    overflow:hidden;

}

.progress-bar{

    width:0%;
    height:100%;
    border-radius:50px;
    background:linear-gradient(90deg,#ffb000,#ff6b00);
    transition:width .8s linear;

}

.countdown{

    margin-top:15px;
    text-align:center;
    color:#666;
    font-size:14px;
    font-weight:700;

}

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

.table{

    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.07);

}

.table th{

    background:var(--orange);
    color:#fff;
    padding:15px;
    font-size:14px;

}

.table td{

    padding:15px;
    text-align:center;
    border-bottom:1px solid #f2f2f2;
    font-size:14px;

}

.table tr:hover{

    background:#FFF9F2;

}

/* ===================================================
   LINKS
=================================================== */

.table a{

    color:var(--orange);
    font-weight:700;

}

.table a:hover{

    text-decoration:underline;

}

/* ===================================================
   EMPTY
=================================================== */

.empty-box{

    background:#fff;
    padding:40px 20px;
    text-align:center;
    border-radius:20px;
    color:#888;
    box-shadow:0 8px 20px rgba(0,0,0,.06);

}

.empty-box h3{

    margin-top:15px;
    color:#555;

}
/* ===================================================
   ADMIN PANEL
=================================================== */

.admin-header{

    background:#fff;
    border-radius:22px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.admin-title{

    font-size:24px;
    font-weight:800;
    color:#333;

}

.admin-subtitle{

    color:#777;
    margin-top:8px;
    font-size:14px;

}

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

.btn-success{

    background:#22b14c;
    color:#fff;

}

.btn-success:hover{

    background:#17933d;

}

.btn-danger{

    background:#d32f2f;
    color:#fff;

}

.btn-danger:hover{

    background:#b92424;

}

.btn-gray{

    background:#ececec;
    color:#444;

}

.btn-gray:hover{

    background:#dcdcdc;

}

/* ===================================================
   STATISTICS
=================================================== */

.stats-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-bottom:20px;

}

.stat-card{

    background:#fff;
    border-radius:22px;
    padding:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.07);

}

.stat-card h2{

    color:#ff8c1a;
    font-size:28px;
    margin-bottom:8px;

}

.stat-card span{

    color:#666;
    font-size:13px;

}

/* ===================================================
   ORDER STATUS COLORS
=================================================== */

.status-pending{

    background:#fff3d8;
    color:#ff9800;
    padding:8px 14px;
    border-radius:30px;
    font-weight:700;
    font-size:13px;

}

.status-approved{

    background:#e8f9ef;
    color:#22b14c;
    padding:8px 14px;
    border-radius:30px;
    font-weight:700;
    font-size:13px;

}

.status-rejected{

    background:#ffe8e8;
    color:#d32f2f;
    padding:8px 14px;
    border-radius:30px;
    font-weight:700;
    font-size:13px;

}

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

.footer{

    text-align:center;
    padding:35px 15px;
    color:#888;
    font-size:13px;

}

.footer strong{

    color:#ff8c1a;

}

/* ===================================================
   ANIMATIONS
=================================================== */

.fade{

    animation:fade .5s ease;

}

@keyframes fade{

from{

opacity:0;
transform:translateY(15px);

}

to{

opacity:1;
transform:translateY(0);

}

}

.scale{

    animation:scale .3s ease;

}

@keyframes scale{

from{

transform:scale(.95);
opacity:0;

}

to{

transform:scale(1);
opacity:1;

}

}

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

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#ff8c1a;
    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}
/* ===================================================
   MOBILE RESPONSIVE
=================================================== */

@media (max-width:768px){

.container{

    max-width:100%;
    padding:15px;

}

.top-header{

    flex-direction:column;
    text-align:center;
    gap:15px;

}

.logo-box{

    flex-direction:column;
    justify-content:center;

}

.logo{

    width:75px;
    height:75px;

}

.date-box{

    text-align:center;

}

.landing-logo img{

    width:95px;

}

.landing-title{

    font-size:32px;

}

.landing-subtitle{

    font-size:18px;

}

.hero-info{

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

}

.hero-card{

    padding:22px;

}

.dashboard-grid{

    grid-template-columns:1fr;

}

.stats-grid{

    grid-template-columns:1fr;

}

.product{

    flex-direction:column;
    align-items:flex-start;
    gap:15px;

}

.qty{

    width:100%;
    justify-content:center;

}

.total-box{

    flex-direction:column;
    gap:10px;
    text-align:center;

}

.order-title{

    flex-direction:column;
    gap:10px;
    text-align:center;

}

.table{

    display:block;
    overflow-x:auto;
    white-space:nowrap;

}

.btn,
.landing-btn,
.landing-btn2{

    height:54px;
    font-size:15px;

}

.input{

    height:54px;
    font-size:15px;

}

.nav-left{

    gap:8px;

}

.navbar a{

    font-size:13px;
    padding:10px 14px;

}

.footer{

    font-size:12px;

}

}

/* ===================================================
   SMALL PHONES
=================================================== */

@media (max-width:420px){

.container{

    padding:12px;

}

.logo{

    width:65px;
    height:65px;

}

.landing-title{

    font-size:28px;

}

.landing-subtitle{

    font-size:17px;

}

.hero-value{

    font-size:20px;

}

.hero-label{

    font-size:12px;

}

.welcome-card{

    padding:18px;

}

.card{

    padding:18px;

}

.top-header{

    padding:18px;

}

}

/* ===================================================
   UTILITIES
=================================================== */

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

.mt-10{
    margin-top:10px;
}

.mt-20{
    margin-top:20px;
}

.mt-30{
    margin-top:30px;
}

.mb-10{
    margin-bottom:10px;
}

.mb-20{
    margin-bottom:20px;
}

.mb-30{
    margin-bottom:30px;
}

.d-none{
    display:none;
}

.w-100{
    width:100%;
}

/* ===================================================
   END OF FILE
=================================================== */
.back-btn{
width:100%;
height:52px;
border:none;
border-radius:16px;
background:#f1f1f1;
color:#444;
font-size:15px;
font-weight:700;
cursor:pointer;
transition:.3s;
margin-bottom:15px;
}

.back-btn:hover{
background:#FF8C1A;
color:#fff;
}
/* Responsive layout - added */
*{box-sizing:border-box;}

html,body{
    width:100%;
    overflow-x:hidden;
}

body{
    margin:0;
}

.container,
.wrapper,
.main,
.content,
.page,
.card,
.order-status,
.product{
    max-width:100%;
}

img{
    max-width:100%;
    height:auto;
}

@media (min-width:769px){
    body{
        font-size:16px;
    }
}

@media (max-width:768px){
    body{
        width:100%;
    }

    .container,
    .wrapper,
    .main,
    .content{
        width:100%;
        padding-left:10px;
        padding-right:10px;
    }

    input,
    button,
    select,
    textarea{
        max-width:100%;
    }
}
/* ===== Navbar Pro ===== */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
background:#fff;
padding:16px 22px;
border-radius:18px;
margin-bottom:18px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.navbar-logo .logo-title{
font-size:26px;
font-weight:900;
color:#ff8a00;
}

.navbar-logo .logo-sub{
font-size:12px;
color:#888;
margin-top:4px;
}

.navbar-menu{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.navbar-menu a{
display:flex;
align-items:center;
gap:6px;
padding:10px 16px;
border-radius:12px;
text-decoration:none;
font-weight:700;
color:#444;
transition:.3s;
}

.navbar-menu a:hover{
background:#fff3e4;
}

.navbar-menu a.active{
background:#ff8a00;
color:#fff;
}

@media(max-width:768px){

.navbar{
flex-direction:column;
gap:15px;
}

.navbar-menu{
width:100%;
justify-content:center;
}

.navbar-menu a{
flex:1;
justify-content:center;
}

}

@media(max-width:520px){

.navbar-menu{
display:grid;
grid-template-columns:repeat(2,1fr);
width:100%;
}

.navbar-menu a{
padding:12px;
}

}
