*{margin:0;padding:0;box-sizing:border-box;font-family:Arial}
body{background:#f5f5f5}
.center{display:flex;justify-content:center;align-items:center;height:100vh}

.card{
  background:#fff;
  padding:30px;
  width:300px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,.2);
  text-align:center;
}

.card input{
  width:100%;
  padding:10px;
  margin:10px 0;
}

.card button{
  width:100%;
  padding:10px;
  background:#6f4e37;
  color:#fff;
  border:none;
  cursor:pointer;
}

.hint{font-size:12px;color:#555}

.nav{
  background:#6f4e37;
  color:#fff;
  padding:15px;
  display:flex;
  justify-content:space-between;
}

.dashboard{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:20px;
  padding:30px;
}

.box{
  background:#fff;
  padding:30px;
  text-align:center;
  border-radius:8px;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
  text-decoration:none;
  color:#000;
  cursor:pointer;
}

.menu{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  padding:30px;
}

.item{
  background:#fff;
  padding:20px;
  text-align:center;
  border-radius:8px;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.item button{
  margin-top:10px;
  padding:8px 15px;
  background:#6f4e37;
  color:#fff;
  border:none;
  cursor:pointer;
}

.link{
  color:#fff;
  text-decoration:none;
}
.order-section{
  padding:30px;
}

.order-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.order-table th,
.order-table td{
  border:1px solid #ddd;
  padding:10px;
  text-align:center;
}

.order-table button{
  padding:5px 10px;
  margin:0 3px;
  cursor:pointer;
}

.total-box{
  margin-top:20px;
  text-align:right;
  font-size:20px;
  font-weight:bold;
}
.settings{
  padding:30px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.setting-card{
  background:#fff;
  padding:20px;
  border-radius:8px;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.setting-card h3{
  margin-bottom:10px;
}

.setting-card input{
  width:100%;
  padding:8px;
  margin-bottom:10px;
}

.setting-card button{
  padding:8px 12px;
  margin:5px 0;
  background:#6f4e37;
  color:#fff;
  border:none;
  cursor:pointer;
}

.setting-card.danger button{
  background:#c0392b;
}
body{
  margin:0;
  font-family:Segoe UI, Arial;
  background:#f4f6f8;
}

.app{
  display:flex;
  height:100vh;
}

/* SIDEBAR */
.sidebar{
  width:220px;
  background:#1f2933;
  color:#fff;
  display:flex;
  flex-direction:column;
  padding:20px;
}

.logo{
  margin-bottom:20px;
}

.sidebar a{
  color:#cbd5e1;
  text-decoration:none;
  padding:10px;
  border-radius:6px;
  margin-bottom:5px;
}

.sidebar a:hover{
  background:#374151;
  color:#fff;
}

.logout{
  margin-top:auto;
  padding:10px;
  background:#b91c1c;
  color:#fff;
  border:none;
  cursor:pointer;
  border-radius:6px;
}

/* MAIN */
.main{
  flex:1;
  padding:30px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  margin-top:20px;
}

.stat-card{
  background:#fff;
  padding:20px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.stat-card p{
  font-size:24px;
  margin:10px 0 0;
}

/* QUICK ACTIONS */
.quick{
  margin-top:30px;
  display:flex;
  gap:15px;
}

.action{
  background:#6f4e37;
  color:#fff;
  padding:15px 20px;
  text-decoration:none;
  border-radius:8px;
}
/* MENU TABS */
.menu-tabs{
  display:flex;
  gap:10px;
  margin:20px 0;
}

.tab{
  padding:10px 18px;
  border:none;
  border-radius:20px;
  background:#e5e7eb;
  cursor:pointer;
  font-weight:600;
}

.tab.active{
  background:#6f4e37;
  color:#fff;
}

/* MENU GRID */
.menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:20px;
}

/* MENU CARD */
.menu-card{
  background:#fff;
  border-radius:15px;
  padding:20px;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:all 0.3s ease;
}

.menu-card h3{
  margin-bottom:5px;
}

.menu-card p{
  font-size:13px;
  color:#666;
}

.menu-card span{
  font-size:18px;
  font-weight:bold;
  margin:10px 0;
}

.menu-card button{
  padding:10px;
  background:#6f4e37;
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}

.menu-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 30px rgba(0,0,0,0.2);
}
.menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.menu-card{
  background:#fff;
  border-radius:15px;
  padding:15px;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  transition:transform .2s;
}

.menu-card:hover{
  transform:translateY(-5px);
}

.menu-img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:10px;
}

.menu-card span{
  font-weight:bold;
  font-size:18px;
}

.menu-card button{
  width:100%;
  margin-top:10px;
  padding:10px;
  background:#6f4e37;
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
}
/* ===== MENU IMAGE PERFECT FIX ===== */
.menu-card{
  background:#fff;
  border-radius:15px;
  padding:15px;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  display:flex;
  flex-direction:column;
}

.menu-img{
  width:100%;
  height:160px;              /* 🔒 fixed height */
  object-fit:cover;          /* 🔥 image crop, stretch नाही */
  object-position:center;    /* center focus */
  border-radius:12px;
  background:#f2f2f2;
  display:block;
}
.menu-card:hover .menu-img{
  transform:scale(1.05);
  transition:0.3s;
}
.topbar{
  display:flex;
  align-items:center;
  gap:15px;
  background:#1f2933;
  color:#fff;
  padding:15px;
}

.hamburger{
  font-size:26px;
  cursor:pointer;
}

.sidebar{
  position:fixed;
  top:0;
  left:-220px;
  width:220px;
  height:100%;
  background:#1f2933;
  padding:20px;
  transition:0.3s;
  z-index:1000;
}

.sidebar.show{
  left:0;
}

.main-content{
  padding:20px;
}
.bill-box{
  width:350px;
  margin:40px auto;
  background:#fff;
  padding:20px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  text-align:center;
}

.bill-box table{
  width:100%;
  border-collapse:collapse;
  margin-top:15px;
}

.bill-box th,
.bill-box td{
  border-bottom:1px solid #ddd;
  padding:8px;
  font-size:14px;
}

.bill-box button{
  margin-top:15px;
  padding:10px;
  width:100%;
  background:#6f4e37;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
}
/* ===============================
   COMMON PAGE BACKGROUND
================================ */
.order-page,
.payment-page,
.success-page{
  min-height:100vh;
  background:linear-gradient(135deg,#f4f6f8,#e2e8f0);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:Segoe UI, Arial;
}

/* ===============================
   ORDER SUMMARY
================================ */
.order-box{
  width:380px;
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.order-box h2{
  text-align:center;
  margin-bottom:15px;
}

.order-box table{
  width:100%;
  border-collapse:collapse;
}

.order-box th,
.order-box td{
  padding:8px;
  border-bottom:1px solid #ddd;
  font-size:14px;
}

.order-total{
  margin-top:15px;
  font-size:18px;
  font-weight:bold;
  text-align:right;
}

.order-box button{
  width:100%;
  margin-top:15px;
  padding:12px;
  background:#6f4e37;
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:15px;
  cursor:pointer;
}

/* ===============================
   PAYMENT PAGE
================================ */
.payment-box{
  width:360px;
  background:#fff;
  padding:25px;
  border-radius:14px;
  box-shadow:0 8px 22px rgba(0,0,0,0.18);
  text-align:center;
}

.payment-box h2{
  margin-bottom:20px;
}

.pay-btn{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:none;
  border-radius:10px;
  font-size:16px;
  cursor:pointer;
  color:#fff;
}

.gpay{ background:#4285F4; }
.phonepe{ background:#5f259f; }
.upi{ background:#16a34a; }
.card{ background:#111827; }

/* ===============================
   SUCCESS PAGE
================================ */
.success-box{
  width:360px;
  background:#fff;
  padding:30px;
  border-radius:16px;
  box-shadow:0 8px 25px rgba(0,0,0,0.2);
  text-align:center;
}

.success-box h2{
  color:#16a34a;
  margin-bottom:10px;
}

.success-box p{
  font-size:15px;
  color:#555;
}

.success-box button{
  margin-top:20px;
  padding:12px 20px;
  background:#6f4e37;
  color:#fff;
  border:none;
  border-radius:10px;
  cursor:pointer;
}
/* ===== PAGE BACKGROUNDS ===== */
.payment-page,
.success-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#6f4e37,#c9a27e);
}
.payment-page,
.success-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#f8fafc,#e2e8f0);
}

.qr-img{
  width:180px;
  margin:15px auto;
  display:block;
}
