.restaurant-nav-wrap{
background:#0B0B0B;
padding:12px 16px;
margin-bottom:18px;
}

.restaurant-nav{
display:flex;
gap:10px;
overflow-x:auto;
}

.restaurant-nav::-webkit-scrollbar{
display:none;
}

.restaurant-nav a{
flex-shrink:0;

height:42px;

padding:0 16px;

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

border-radius:14px;

background:#171717;

color:#BDBDBD;

font-size:14px;
font-weight:600;
}

.restaurant-nav a.active{
background:#FFB800;
color:#000;
}

.restaurant-nav i{
font-size:15px;
}


/* promolarim */

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

.page-head h1{
margin:0;
font-size:26px;
}

.new-promo-btn{
background:#FFB800;
color:#000;
padding:12px 18px;
border-radius:14px;
font-weight:700;
}

.promo-grid{
display:flex;
flex-direction:column;
gap:16px;
}

.promo-item{
background:#171717;
border-radius:22px;
padding:18px;
}

.promo-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:16px;
}

.promo-title{
font-size:18px;
font-weight:800;
}

.status-active{
background:#163D21;
color:#5EF28A;
padding:6px 12px;
border-radius:999px;
font-size:13px;
}

.status-passive{
background:#3D1616;
color:#FF6B6B;
padding:6px 12px;
border-radius:999px;
font-size:13px;
}

.promo-info{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin-bottom:18px;
}

.promo-info div{
background:#222;
padding:12px;
border-radius:12px;
font-size:14px;
}

.promo-actions{
display:flex;
gap:10px;
}

.promo-btn{
flex:1;
height:44px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:#FFB800;
color:#000;
font-weight:700;
}

.promo-btn.secondary{
background:#262626;
color:#fff;
}

.empty-state{
text-align:center;
padding:50px 20px;
}

.empty-icon{
font-size:60px;
margin-bottom:12px;
}


/* restorans edit */ 


.settings-page{
max-width:800px;
margin:20px auto;
padding:0 16px;
}

.settings-header{
display:flex;
align-items:center;
gap:14px;
margin-bottom:20px;
}

.settings-icon{
width:60px;
height:60px;
border-radius:18px;
background:#009E8E;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
color:#fff;
}

.settings-form{
background:#fff;
border-radius:20px;
padding:20px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.settings-form label{
display:block;
margin-bottom:6px;
font-weight:600;
margin-top:14px;
color:#000;
}

.settings-form input,
.settings-form textarea{
width:100%;
padding:14px;
border:1px solid #e5e7eb;
border-radius:14px;
}

.save-btn{
margin-top:20px;
width:100%;
height:52px;
border:none;
border-radius:14px;
background:#009E8E;
color:#fff;
font-weight:700;
font-size:16px;
cursor:pointer;
}

.day-row{
display:flex;
align-items:center;
gap:10px;
margin-bottom:10px;
padding:10px 12px;
background:#f8fafc;
border-radius:12px;
}

.day-name{
width:130px;
font-weight:600;
font-size:14px;
color:#222;
}

.day-row input[type=time]{
width:110px;
height:42px;
padding:0 10px;
border:1px solid #e5e7eb;
border-radius:10px;
}

.cuisine-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-top:10px;
}

.cuisine-item{
display:flex;
align-items:center;
gap:8px;
padding:12px;
background:#f8fafc;
border-radius:12px;
cursor:pointer;
font-size:14px;
font-weight:500;
}



/* restoran shekiller yuklemek */ 



.images-card{
    background:#fff;
    border-radius:20px;
    padding:18px;
    margin-bottom:20px;
    border:1px solid #eee;
}

.images-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
}

.upload-btn{
    background:#009E8E;
    color:#fff;
    padding:10px 16px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.gallery-scroll{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom:8px;
}

.gallery-item{
    position:relative;
    flex:0 0 auto;
}

.gallery-item img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid #eee;
}

.delete-image{
    position:absolute;
    top:6px;
    right:6px;
    width:28px;
    height:28px;
    border:none;
    border-radius:50%;
    background:#ff3b30;
    color:#fff;
    cursor:pointer;
}


/* loqo yukleme */ 

.logo-upload-card{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:24px;
}

.restaurant-logo-preview{
    width:90px;
    height:90px;
    border-radius:20px;
    object-fit:cover;
    border:1px solid #eee;
}

.empty-logo{
    width:90px;
    height:90px;
    border-radius:20px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:36px;
}

.logo-upload-btn{
    background:#009E8E;
    color:#fff;
    padding:12px 18px;
    border-radius:12px;
    cursor:pointer;
}

/* claims */ 


.claims-list{
display:flex;
flex-direction:column;
gap:16px;
}

.claim-card{
background:#171717;
border-radius:22px;
padding:18px;
}

.claim-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:14px;
}

.claim-title{
font-size:18px;
font-weight:800;
}

.claim-code{
margin-top:6px;
font-size:13px;
color:#999;
font-family:monospace;
}

.status-success{
background:#163D21;
color:#5EF28A;
padding:6px 12px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.status-wait{
background:#3A320C;
color:#FFD84D;
padding:6px 12px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.claim-user,
.claim-phone{
margin-bottom:10px;
font-size:14px;
}

.claim-dates{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin-top:14px;
}

.claim-dates div{
background:#222;
padding:12px;
border-radius:12px;
font-size:13px;
}

.page-head{
margin-bottom:20px;
}

.page-head h1{
margin:0;
font-size:28px;
}

.page-subtitle{
margin-top:6px;
color:#999;
}

.empty-state{
text-align:center;
padding:50px 20px;
}

.empty-icon{
font-size:60px;
margin-bottom:12px;
}



/* =========================
scanner
========================= */


.scanner-page{
    max-width:700px;
    margin:20px auto;
}

.scanner-header{
    background:#fff;
    border-radius:22px;
    padding:22px;
    display:flex;
    gap:16px;
    align-items:center;
    margin-bottom:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.scanner-icon{
    width:70px;
    height:70px;
    border-radius:18px;
    background:#009E8E;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.scanner-header h1{
    margin:0;
    font-size:24px;
    color:#777;
}

.scanner-header p{
    margin-top:4px;
    color:#777;
}

.scanner-form{
    background:#fff;
    border-radius:22px;
    padding:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.scanner-form label{
    display:block;
    margin-bottom:6px;
    margin-top:16px;
    font-weight:600;
    color:#777;
}

.scanner-form input{
    width:100%;
    height:52px;
    border:1px solid #E5E7EB;
    border-radius:14px;
    padding:0 14px;
}

.scanner-btn{
    width:100%;
    height:56px;
    margin-top:20px;
    border:none;
    border-radius:16px;
    background:#009E8E;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

.scanner-result{
    padding:16px;
    border-radius:16px;
    margin-bottom:16px;
    font-weight:600;
}

.scanner-result.success{
    background:#ECFDF5;
    color:#16A34A;
}

.scanner-result.danger{
    background:#FEF2F2;
    color:#DC2626;
}

.scanner-note{
    margin-top:16px;
    background:#F8FAFC;
    padding:16px;
    border-radius:16px;
    color:#64748B;
}


.restaurant-hero{
display:flex;
align-items:center;
gap:16px;
padding:22px;
margin-bottom:20px;
background:#171717;
border-radius:24px;
}

.restaurant-avatar{
width:72px;
height:72px;
border-radius:20px;
background:#FFB800;
display:flex;
align-items:center;
justify-content:center;
font-size:32px;
}

.restaurant-name{
font-size:24px;
font-weight:800;
}

.restaurant-status{
color:#999;
margin-top:4px;
}

.dashboard-menu{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:14px;
margin-bottom:20px;
}

.dash-btn{
background:#171717;
border-radius:20px;
padding:20px;
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
color:#fff;
}

.dash-btn i{
font-size:24px;
color:#FFB800;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:14px;
}

.stat-card{
background:#171717;
border-radius:20px;
padding:22px;
text-align:center;
}

.stat-icon{
font-size:28px;
margin-bottom:10px;
}

.stat-value{
font-size:30px;
font-weight:800;
}

.stat-label{
color:#999;
margin-top:6px;
}


/* promo yaratmag */


.promo-create-page{
max-width:850px;
margin:0 auto;
padding:20px;
}

.promo-header-card{
background:#171717;
border-radius:24px;
padding:22px;
display:flex;
align-items:center;
gap:16px;
margin-bottom:20px;
}

.promo-icon{
width:72px;
height:72px;
background:#FFB800;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
font-size:34px;
}

.promo-header-card h1{
margin:0;
font-size:26px;
}

.promo-header-card p{
margin-top:6px;
color:#999;
}

.promo-form{
background:#171717;
padding:22px;
border-radius:24px;
}

.promo-section{
margin-bottom:18px;
}

.promo-section label,
.promo-row label{
display:block;
margin-bottom:8px;
font-weight:700;
}

.promo-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
margin-bottom:18px;
}

.promo-form input,
.promo-form textarea,
.promo-form select{
background:#222;
border:1px solid #333;
color:#fff;
border-radius:16px;
padding:14px;
}

.promo-submit{
width:100%;
height:56px;
border:none;
border-radius:18px;
background:#FFB800;
color:#000;
font-weight:800;
font-size:16px;
cursor:pointer;
}

@media(max-width:768px){

.promo-row{
grid-template-columns:1fr;
}

}


/* ust header rest */

.restaurant-nav{
position:sticky;
top:64px;
z-index:99;

display:flex;
gap:10px;

overflow-x:auto;

padding:12px 16px;

background:#111;

border-bottom:1px solid rgba(255,255,255,.08);
}

.restaurant-nav::-webkit-scrollbar{
display:none;
}

.restaurant-nav a{
flex-shrink:0;

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

padding:10px 16px;

border-radius:14px;

background:#1b1b1b;

color:#bbb;

font-size:14px;
font-weight:600;
}

.restaurant-nav a.active{
background:#FFB800;
color:#000;
}

.restaurant-nav i{
font-size:15px;
}