/* V63 modul: Roštilj panel i radni prikaz porudžbina. */
/* =========================================================
   V26 FIX CUSTOMER MENU AFTER DONE - JAK KONTRAST
   Izolovano samo na #grill. Ne dira meni, začine, korpu ni admin.
   ========================================================= */

#grill {
  background: #0b1220 !important;
  color: #ffffff !important;
  padding: 24px !important;
  min-height: calc(100vh - 130px) !important;
  border-radius: 0 !important;
}

#grill * {
  text-shadow: none !important;
}

#grill .panel {
  background: #0f172a !important;
  border: 3px solid #334155 !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.35) !important;
  border-radius: 30px !important;
}

#grill .panel-head {
  background: linear-gradient(135deg,#020617,#111827) !important;
  border-bottom: 3px solid #334155 !important;
  padding: 26px !important;
}

#grill .panel-head h3 {
  color: #ffffff !important;
  font-size: 38px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: -1px !important;
}

#grill .panel-head p {
  color: #dbe4f0 !important;
  font-size: 21px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
}

#grill .panel-body {
  background: #0f172a !important;
  padding: 24px !important;
}

#grill .toolbar {
  background: #020617 !important;
  border: 3px solid #334155 !important;
  border-radius: 24px !important;
  padding: 18px !important;
  margin-bottom: 24px !important;
  gap: 14px !important;
}

#grill .toolbar-left,
#grill .toolbar-right {
  gap: 12px !important;
}

#grill select,
#grill .select-sm,
#grill .search {
  background: #ffffff !important;
  color: #111827 !important;
  border: 3px solid #94a3b8 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
  min-height: 62px !important;
  border-radius: 20px !important;
  padding: 14px 18px !important;
}

#grill button,
#grill .btn,
#grill .chip,
#grill .minute-btn {
  min-height: 62px !important;
  padding: 16px 24px !important;
  border-radius: 20px !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  font-weight: 1000 !important;
  border: 3px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
  filter: none !important;
}

#grill .btn,
#grill .chip,
#grill .minute-btn {
  background: #1e293b !important;
  color: #ffffff !important;
}

#grill .chip.active,
#grill .minute-btn.active {
  background: #facc15 !important;
  color: #111827 !important;
  border-color: #fde68a !important;
}

#grill #seedDemo {
  background: #2563eb !important;
  color: #ffffff !important;
}

#grill #clearOrders,
#grill .btn.danger {
  background: #dc2626 !important;
  color: #ffffff !important;
}

#grill .orders {
  display: grid !important;
  gap: 24px !important;
}

#grill .cart-empty {
  background: #111827 !important;
  color: #ffffff !important;
  border: 3px dashed #64748b !important;
  font-size: 28px !important;
  font-weight: 1000 !important;
  padding: 36px !important;
  border-radius: 24px !important;
}

#grill .order-card {
  background: #ffffff !important;
  color: #111827 !important;
  border: 6px solid #64748b !important;
  border-radius: 30px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.38) !important;
  overflow: hidden !important;
}

#grill .order-head {
  background: #f8fafc !important;
  border-bottom: 4px solid #cbd5e1 !important;
  padding: 26px !important;
}

#grill .order-head h4 {
  color: #111827 !important;
  font-size: 44px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: -1.2px !important;
  margin: 0 !important;
}

#grill .order-meta {
  gap: 12px !important;
  margin-top: 16px !important;
}

#grill .tag {
  font-size: 19px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(0,0,0,.20) !important;
  background: #e2e8f0 !important;
  color: #111827 !important;
}

#grill .order-meta .tag:first-child {
  color: #ffffff !important;
}

#grill .order-body {
  background: #ffffff !important;
  padding: 26px !important;
}

#grill .order-items {
  display: grid !important;
  gap: 14px !important;
}

#grill .order-item {
  background: #f1f5f9 !important;
  border: 3px solid #cbd5e1 !important;
  border-radius: 22px !important;
  padding: 20px !important;
  font-size: 26px !important;
}

#grill .order-item b,
#grill .order-item strong {
  color: #111827 !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
}

#grill .order-item small {
  color: #334155 !important;
  font-size: 23px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
}

#grill .notice {
  background: #fff7ed !important;
  border: 3px solid #fb923c !important;
  color: #111827 !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  padding: 20px !important;
  border-radius: 22px !important;
  margin-top: 18px !important;
}

#grill .order-body b[style] {
  color: #111827 !important;
  font-size: 26px !important;
  font-weight: 1000 !important;
}

#grill .minute-buttons {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 14px !important;
  margin-top: 14px !important;
}

#grill .minute-btn {
  background: #e2e8f0 !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}

#grill .minute-btn.active {
  background: #facc15 !important;
  color: #111827 !important;
  border-color: #ca8a04 !important;
}

#grill .order-actions {
  gap: 16px !important;
  margin-top: 24px !important;
}

#grill .order-actions .btn {
  flex: 1 1 220px !important;
  font-size: 25px !important;
  min-height: 70px !important;
}

#grill .order-actions .btn.primary,
#grill .order-actions .btn[data-accept] {
  background: #facc15 !important;
  color: #111827 !important;
}

#grill .order-actions .btn.danger,
#grill .order-actions .btn[data-status$=':cancelled'] {
  background: #dc2626 !important;
  color: #ffffff !important;
}

#grill .order-actions .btn.amber,
#grill .order-actions .btn[data-status$=':grilling'] {
  background: #2563eb !important;
  color: #ffffff !important;
}

#grill .order-actions .btn.green,
#grill .order-actions .btn[data-status$=':ready'] {
  background: #16a34a !important;
  color: #ffffff !important;
}

#grill .order-actions .btn[data-status$=':done'] {
  background: #111827 !important;
  color: #ffffff !important;
}

/* Status kartice */
#grill .order-card.status-new {
  border-color: #ef4444 !important;
}
#grill .order-card.status-new .order-head {
  background: #fee2e2 !important;
}
#grill .order-card.status-new .order-meta .tag:first-child {
  background: #ef4444 !important;
  color: #ffffff !important;
}

#grill .order-card.status-accepted {
  border-color: #facc15 !important;
}
#grill .order-card.status-accepted .order-head {
  background: #fef3c7 !important;
}
#grill .order-card.status-accepted .order-head h4 {
  color: #111827 !important;
}
#grill .order-card.status-accepted .order-meta .tag:first-child {
  background: #facc15 !important;
  color: #111827 !important;
}

#grill .order-card.status-grilling {
  border-color: #3b82f6 !important;
}
#grill .order-card.status-grilling .order-head {
  background: #dbeafe !important;
}
#grill .order-card.status-grilling .order-meta .tag:first-child {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

#grill .order-card.status-ready {
  border-color: #22c55e !important;
}
#grill .order-card.status-ready .order-head {
  background: #dcfce7 !important;
}
#grill .order-card.status-ready .order-meta .tag:first-child {
  background: #22c55e !important;
  color: #052e16 !important;
}

#grill .order-card.status-done {
  border-color: #94a3b8 !important;
  opacity: .82 !important;
}
#grill .order-card.status-done .order-head {
  background: #e2e8f0 !important;
}

@media (max-width: 900px) {
  #grill { padding: 14px !important; }
  #grill .panel-head h3 { font-size: 31px !important; }
  #grill .panel-head p { font-size: 18px !important; }
  #grill .order-head h4 { font-size: 34px !important; }
  #grill .order-item b,
  #grill .order-item strong { font-size: 27px !important; }
  #grill .order-item small { font-size: 20px !important; }
  #grill .minute-buttons { grid-template-columns: repeat(3, 1fr) !important; }
  #grill .order-actions .btn { flex-basis: 100% !important; }
}

  

/* =========================================================
   V21 ROSTILJ PANEL - KOMPAKTAN RADNI EKRAN
   Samo roštilj režim. Cilj: više porudžbina na ekranu, jači kontrast.
   ========================================================= */
body.screen-grill{
  background:#07111f !important;
}
body.screen-grill .app{
  max-width:none !important;
  padding:10px 12px 14px !important;
}
body.screen-grill .topbar{
  margin:0 -12px 10px !important;
  padding:8px 16px !important;
  background:linear-gradient(135deg,#07111f,#0f172a) !important;
  border-bottom:1px solid #1e293b !important;
  box-shadow:0 10px 30px rgba(0,0,0,.25) !important;
}
body.screen-grill .topbar-inner{
  max-width:none !important;
}
body.screen-grill .brand{
  width:auto !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:14px !important;
}
body.screen-grill .brand-logo{
  width:246px !important;
  height:66px !important;
  padding:8px 16px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#fffaf3,#fff1df) !important;
  border:2px solid rgba(255,255,255,.75) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.28) !important;
}
body.screen-grill .brand-logo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  filter:contrast(1.08) saturate(1.05) drop-shadow(0 3px 7px rgba(0,0,0,.10)) !important;
}
body.screen-grill .brand-copy{
  width:auto !important;
  text-align:left !important;
}
body.screen-grill .brand-copy h1{
  color:#ffffff !important;
  font-size:23px !important;
  letter-spacing:-.2px !important;
  font-weight:1000 !important;
}
body.screen-grill .call-wrap{
  display:none !important;
}

body.screen-grill #grill{
  background:#07111f !important;
  color:#ffffff !important;
  padding:0 !important;
  min-height:calc(100vh - 96px) !important;
  border-radius:0 !important;
}
body.screen-grill #grill .panel{
  background:#0b1220 !important;
  border:2px solid #1e293b !important;
  border-radius:22px !important;
  box-shadow:0 16px 50px rgba(0,0,0,.32) !important;
  overflow:hidden !important;
}
body.screen-grill #grill .panel-head{
  background:linear-gradient(135deg,#101827,#172235) !important;
  border-bottom:2px solid #263247 !important;
  padding:14px 18px !important;
  align-items:center !important;
}
body.screen-grill #grill .panel-head h3{
  color:#ffffff !important;
  font-size:30px !important;
  line-height:1 !important;
  font-weight:1000 !important;
  letter-spacing:-.7px !important;
  margin:0 !important;
}
body.screen-grill #grill .panel-head p,
body.screen-grill #grill #liveLabel{
  display:none !important;
}
body.screen-grill #grill .panel-body{
  background:#0b1220 !important;
  padding:14px !important;
}
body.screen-grill #grill .toolbar{
  background:#0f172a !important;
  border:2px solid #263247 !important;
  border-radius:18px !important;
  padding:10px !important;
  margin-bottom:12px !important;
  gap:8px !important;
}
body.screen-grill #grill .toolbar-left,
body.screen-grill #grill .grill-toolbar-main{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}
body.screen-grill #grill .toolbar-right{
  display:none !important;
}
body.screen-grill #grill select,
body.screen-grill #grill .select-sm{
  background:#ffffff !important;
  color:#0f172a !important;
  border:2px solid #94a3b8 !important;
  font-size:18px !important;
  line-height:1.05 !important;
  font-weight:1000 !important;
  min-height:48px !important;
  border-radius:14px !important;
  padding:10px 14px !important;
  width:238px !important;
}
body.screen-grill #grill .chip{
  min-height:48px !important;
  padding:11px 15px !important;
  border-radius:14px !important;
  font-size:15px !important;
  line-height:1 !important;
  letter-spacing:.2px !important;
  font-weight:1000 !important;
  border:2px solid #334155 !important;
  background:#182235 !important;
  color:#e5e7eb !important;
  box-shadow:none !important;
}
body.screen-grill #grill .chip.active{
  background:#facc15 !important;
  color:#111827 !important;
  border-color:#fde68a !important;
  box-shadow:0 0 0 2px rgba(250,204,21,.18) !important;
}
body.screen-grill #grill .orders{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr)) !important;
  gap:12px !important;
  align-items:start !important;
}
body.screen-grill #grill .cart-empty{
  grid-column:1 / -1 !important;
  background:#111827 !important;
  color:#ffffff !important;
  border:2px dashed #64748b !important;
  font-size:22px !important;
  font-weight:1000 !important;
  padding:24px !important;
  border-radius:18px !important;
  text-align:center !important;
}
body.screen-grill #grill .order-card{
  background:#ffffff !important;
  color:#111827 !important;
  border:4px solid #64748b !important;
  border-radius:18px !important;
  box-shadow:0 14px 34px rgba(0,0,0,.30) !important;
  overflow:hidden !important;
}
body.screen-grill #grill .order-head{
  background:#f8fafc !important;
  border-bottom:2px solid #cbd5e1 !important;
  padding:12px 14px !important;
}
body.screen-grill #grill .order-head h4{
  color:#0f172a !important;
  font-size:26px !important;
  line-height:1.02 !important;
  font-weight:1000 !important;
  letter-spacing:-.5px !important;
  margin:0 !important;
}
body.screen-grill #grill .order-meta{
  gap:6px !important;
  margin-top:9px !important;
}
body.screen-grill #grill .tag{
  font-size:13px !important;
  line-height:1 !important;
  font-weight:1000 !important;
  padding:7px 9px !important;
  border-radius:999px !important;
  border:1px solid rgba(15,23,42,.16) !important;
  background:#e2e8f0 !important;
  color:#111827 !important;
}
body.screen-grill #grill .order-meta .tag:first-child{
  color:#ffffff !important;
}
body.screen-grill #grill .order-body{
  background:#ffffff !important;
  padding:12px !important;
}
body.screen-grill #grill .order-items{
  display:grid !important;
  gap:8px !important;
}
body.screen-grill #grill .order-item{
  background:#f1f5f9 !important;
  border:2px solid #cbd5e1 !important;
  border-radius:12px !important;
  padding:10px !important;
  font-size:16px !important;
}
body.screen-grill #grill .order-item b,
body.screen-grill #grill .order-item strong{
  color:#0f172a !important;
  font-size:19px !important;
  line-height:1.12 !important;
  font-weight:1000 !important;
}
body.screen-grill #grill .order-item small{
  color:#334155 !important;
  font-size:15px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}
body.screen-grill #grill .notice{
  background:#fff7ed !important;
  border:2px solid #fb923c !important;
  color:#111827 !important;
  font-size:15px !important;
  font-weight:900 !important;
  padding:10px !important;
  border-radius:12px !important;
  margin-top:10px !important;
}
body.screen-grill #grill .order-body b[style]{
  color:#e5e7eb !important;
  display:block !important;
  background:#0f172a !important;
  border-radius:12px !important;
  padding:9px 10px !important;
  font-size:15px !important;
  margin-bottom:8px !important;
}
body.screen-grill #grill .minute-buttons{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:6px !important;
  margin-top:8px !important;
}
body.screen-grill #grill .minute-btn,
body.screen-grill #grill .btn{
  min-height:42px !important;
  padding:9px 11px !important;
  border-radius:12px !important;
  font-size:15px !important;
  line-height:1.05 !important;
  font-weight:1000 !important;
  border:2px solid rgba(255,255,255,.18) !important;
  box-shadow:none !important;
  filter:none !important;
}
body.screen-grill #grill .minute-btn{
  background:#e2e8f0 !important;
  color:#111827 !important;
  border-color:#cbd5e1 !important;
}
body.screen-grill #grill .minute-btn.active{
  background:#facc15 !important;
  color:#111827 !important;
  border-color:#ca8a04 !important;
}
body.screen-grill #grill .order-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-top:10px !important;
}
body.screen-grill #grill .btn.primary,
body.screen-grill #grill [data-accept]{
  background:#facc15 !important;
  color:#111827 !important;
  border-color:#ca8a04 !important;
}
body.screen-grill #grill .btn.danger{
  background:#dc2626 !important;
  color:#ffffff !important;
  border-color:#991b1b !important;
}
body.screen-grill #grill .btn.amber{
  background:#2563eb !important;
  color:#ffffff !important;
  border-color:#1d4ed8 !important;
}
body.screen-grill #grill .btn.green{
  background:#16a34a !important;
  color:#ffffff !important;
  border-color:#15803d !important;
}
body.screen-grill #grill .btn.ghost{
  background:#334155 !important;
  color:#ffffff !important;
  border-color:#475569 !important;
}
body.screen-grill #grill .order-card.status-new{
  border-color:#ef4444 !important;
}
body.screen-grill #grill .order-card.status-new .order-head{
  background:#fee2e2 !important;
}
body.screen-grill #grill .order-card.status-new .order-meta .tag:first-child{
  background:#ef4444 !important;
  color:#ffffff !important;
}
body.screen-grill #grill .order-card.status-accepted{
  border-color:#facc15 !important;
}
body.screen-grill #grill .order-card.status-accepted .order-head{
  background:#fef3c7 !important;
}
body.screen-grill #grill .order-card.status-accepted .order-meta .tag:first-child{
  background:#facc15 !important;
  color:#111827 !important;
}
body.screen-grill #grill .order-card.status-grilling{
  border-color:#3b82f6 !important;
}
body.screen-grill #grill .order-card.status-grilling .order-head{
  background:#dbeafe !important;
}
body.screen-grill #grill .order-card.status-grilling .order-meta .tag:first-child{
  background:#3b82f6 !important;
  color:#ffffff !important;
}
body.screen-grill #grill .order-card.status-ready{
  border-color:#22c55e !important;
}
body.screen-grill #grill .order-card.status-ready .order-head{
  background:#dcfce7 !important;
}
body.screen-grill #grill .order-card.status-ready .order-meta .tag:first-child{
  background:#22c55e !important;
  color:#052e16 !important;
}
@media (max-width:900px){
  body.screen-grill .brand-logo{width:210px !important;height:58px !important;}
  body.screen-grill .brand-copy h1{font-size:18px !important;}
  body.screen-grill #grill .orders{grid-template-columns:1fr !important;}
  body.screen-grill #grill .chip{font-size:13px !important;padding:10px 11px !important;}
  body.screen-grill #grill select{width:100% !important;}
}

  

/* =========================================================
   V22 ROSTILJ PANEL - 4x4 GRID PORUDZBINA
   Cilj: 4 kolone x 4 reda na desktop ekranu, bez diranja menija.
   ========================================================= */
body.screen-grill #grill .orders{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-rows:minmax(142px,auto) !important;
  gap:10px !important;
  align-items:start !important;
}
body.screen-grill #grill .order-card{
  border-radius:14px !important;
  border-width:3px !important;
  box-shadow:0 10px 22px rgba(0,0,0,.26) !important;
  min-width:0 !important;
}
body.screen-grill #grill .order-head{
  padding:9px 10px !important;
  min-height:unset !important;
}
body.screen-grill #grill .order-head h4{
  font-size:21px !important;
  line-height:1.02 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
}
body.screen-grill #grill .order-meta{
  gap:4px !important;
  margin-top:7px !important;
}
body.screen-grill #grill .tag{
  font-size:11px !important;
  padding:5px 7px !important;
  line-height:1 !important;
  max-width:100% !important;
}
body.screen-grill #grill .order-body{
  padding:9px !important;
}
body.screen-grill #grill .order-items{
  gap:6px !important;
  max-height:88px !important;
  overflow:auto !important;
  padding-right:2px !important;
}
body.screen-grill #grill .order-item{
  padding:7px 8px !important;
  border-radius:10px !important;
  border-width:1px !important;
  font-size:13px !important;
}
body.screen-grill #grill .order-item b,
body.screen-grill #grill .order-item strong{
  font-size:15px !important;
  line-height:1.08 !important;
}
body.screen-grill #grill .order-item small{
  font-size:12px !important;
  line-height:1.15 !important;
}
body.screen-grill #grill .notice{
  font-size:12px !important;
  padding:7px 8px !important;
  margin-top:7px !important;
  border-radius:10px !important;
}
body.screen-grill #grill .order-body b[style]{
  font-size:12px !important;
  padding:6px 7px !important;
  margin:7px 0 6px !important;
  border-radius:9px !important;
}
body.screen-grill #grill .minute-buttons{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:4px !important;
  margin-top:6px !important;
}
body.screen-grill #grill .minute-btn,
body.screen-grill #grill .btn{
  min-height:34px !important;
  padding:7px 8px !important;
  border-radius:9px !important;
  font-size:13px !important;
  border-width:1px !important;
}
body.screen-grill #grill .order-actions{
  gap:6px !important;
  margin-top:7px !important;
}
body.screen-grill #grill .toolbar{
  margin-bottom:10px !important;
  padding:8px !important;
}
body.screen-grill #grill .panel-body{
  padding:12px !important;
}
body.screen-grill #grill .panel-head{
  padding:12px 16px !important;
}
body.screen-grill #grill .panel-head h3{
  font-size:27px !important;
}
body.screen-grill #grill select,
body.screen-grill #grill .select-sm{
  min-height:44px !important;
  font-size:16px !important;
}
body.screen-grill #grill .chip{
  min-height:44px !important;
  padding:10px 12px !important;
  font-size:14px !important;
}
@media (max-width:1500px){
  body.screen-grill #grill .orders{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:1100px){
  body.screen-grill #grill .orders{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:760px){
  body.screen-grill #grill .orders{grid-template-columns:1fr !important;}
}

  

/* =========================================================
   V23 ROSTILJ PANEL - BROJACI NA TABOVIMA
   ========================================================= */
body.screen-grill #grill [data-grill-filter]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}
body.screen-grill #grill .tab-count{
  min-width:28px !important;
  height:28px !important;
  padding:0 8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:#ffffff !important;
  color:#111827 !important;
  border:2px solid rgba(255,255,255,.35) !important;
  font-size:16px !important;
  line-height:1 !important;
  font-weight:1000 !important;
  box-shadow:0 5px 14px rgba(0,0,0,.25) !important;
}
body.screen-grill #grill .chip.active .tab-count{
  background:#111827 !important;
  color:#ffffff !important;
  border-color:#111827 !important;
}
body.screen-grill #grill .chip:not(.active) .tab-count{
  background:#f8fafc !important;
  color:#0f172a !important;
}
@media (max-width:1200px){
  body.screen-grill #grill .tab-count{
    min-width:24px !important;
    height:24px !important;
    font-size:14px !important;
    padding:0 7px !important;
  }
}

  
/* V25: tab PREUZETE cuva sve preuzete/zavrsene porudzbine tog dana */
body.screen-grill #grill .order-card.status-done{
  opacity:1 !important;
  border-color:#22c55e !important;
}
body.screen-grill #grill .order-card.status-done .order-head{
  background:#dcfce7 !important;
}
body.screen-grill #grill .order-card.status-done .tag.green{
  background:#22c55e !important;
  color:#052e16 !important;
}

/* V25 ROSTILJ PREUZETE TAB */
  

/* =========================================================
   V27 ROSTILJ PANEL - ARTIKLI BEZ INTERNOG SKROLA
   Cilj: svi artikli jedne porudžbine se vide odmah u kartici.
   Ne dira korisnički meni; važi samo za roštilj panel.
   ========================================================= */
body.screen-grill #grill .order-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
}
body.screen-grill #grill .order-body{
  padding:7px !important;
}
body.screen-grill #grill .order-items{
  max-height:none !important;
  height:auto !important;
  overflow:visible !important;
  padding-right:0 !important;
  margin-bottom:6px !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:4px !important;
}
body.screen-grill #grill .order-item{
  display:block !important;
  padding:5px 6px !important;
  border-radius:8px !important;
  line-height:1.05 !important;
  min-height:0 !important;
}
body.screen-grill #grill .order-item b,
body.screen-grill #grill .order-item strong{
  display:block !important;
  font-size:13px !important;
  line-height:1.05 !important;
  letter-spacing:-.1px !important;
  white-space:normal !important;
}
body.screen-grill #grill .order-item small{
  display:block !important;
  margin-top:2px !important;
  font-size:10px !important;
  line-height:1.08 !important;
  white-space:normal !important;
}
body.screen-grill #grill .notice{
  font-size:10px !important;
  line-height:1.12 !important;
  padding:5px 6px !important;
  margin-top:5px !important;
  border-radius:8px !important;
}
body.screen-grill #grill .order-actions{
  gap:5px !important;
  margin-top:7px !important;
}
body.screen-grill #grill .order-actions .btn{
  min-height:34px !important;
  padding:7px 8px !important;
  font-size:12px !important;
  border-radius:9px !important;
}
body.screen-grill #grill .minute-buttons{
  gap:3px !important;
  margin-top:5px !important;
}
body.screen-grill #grill .minute-btn{
  min-height:30px !important;
  padding:5px 3px !important;
  font-size:11px !important;
  border-radius:8px !important;
}
body.screen-grill #grill .order-body b[style]{
  font-size:10px !important;
  padding:4px 5px !important;
  margin:5px 0 4px !important;
  border-radius:7px !important;
}
/* Porudžbine sa mnogo artikala dodatno zbijamo, bez skrivanja sadržaja. */
body.screen-grill #grill .order-card.order-many-items .order-head{
  padding:7px 8px !important;
}
body.screen-grill #grill .order-card.order-many-items .order-head h4{
  font-size:18px !important;
}
body.screen-grill #grill .order-card.order-many-items .tag{
  font-size:9px !important;
  padding:4px 5px !important;
}
body.screen-grill #grill .order-card.order-many-items .order-item{
  padding:4px 5px !important;
}
body.screen-grill #grill .order-card.order-many-items .order-item b,
body.screen-grill #grill .order-card.order-many-items .order-item strong{
  font-size:12px !important;
}
body.screen-grill #grill .order-card.order-many-items .order-item small{
  font-size:9px !important;
}
/* V27 FINAL ROSTILJ ARTIKLI BEZ SKROLA */


/* =========================================================
   V29 ROSTILJ PANEL - MIRNO UVEĆANJE PORUDŽBINE
   Klik na karticu (osim dugmadi i kontrola) otvara je skoro preko celog ekrana.
   Ponovni klik na karticu, klik na tamnu pozadinu ili Escape vraća je u 4x4 mrežu.
   ========================================================= */
body.grill-order-open{
  overflow:hidden !important;
}
.grill-order-backdrop{
  position:fixed !important;
  inset:0 !important;
  z-index:980 !important;
  background:rgba(2,6,23,.82) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
  cursor:zoom-out !important;
}
.grill-order-backdrop[hidden]{
  display:none !important;
}
body.screen-grill #grill .order-card[data-grill-order-id]{
  cursor:zoom-in !important;
  transition:transform .16s ease, box-shadow .16s ease !important;
}
body.screen-grill #grill .order-card[data-grill-order-id]:not(.grill-expanded):hover{
  transform:translateY(-2px) !important;
  box-shadow:0 15px 30px rgba(0,0,0,.38) !important;
}
body.screen-grill #grill .order-card.grill-expanded{
  position:fixed !important;
  inset:12px !important;
  z-index:990 !important;
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  max-height:calc(100vh - 24px) !important;
  margin:0 !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  border-width:5px !important;
  border-radius:24px !important;
  box-shadow:0 32px 100px rgba(0,0,0,.66) !important;
  cursor:zoom-out !important;
  animation:none !important;
  transition:none !important;
  transform:none !important;
  will-change:auto !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-head{
  position:sticky !important;
  top:0 !important;
  z-index:3 !important;
  padding:22px 26px !important;
  border-bottom-width:3px !important;
  box-shadow:0 8px 22px rgba(15,23,42,.12) !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-head h4{
  max-width:none !important;
  font-size:42px !important;
  line-height:1.04 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  letter-spacing:-1px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-meta{
  gap:10px !important;
  margin-top:14px !important;
}
body.screen-grill #grill .order-card.grill-expanded .tag{
  max-width:none !important;
  padding:10px 14px !important;
  font-size:17px !important;
  line-height:1.05 !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-body{
  padding:24px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-items{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(330px,1fr)) !important;
  gap:14px !important;
  max-height:none !important;
  overflow:visible !important;
  margin-bottom:18px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-item,
body.screen-grill #grill .order-card.grill-expanded.order-many-items .order-item{
  display:block !important;
  padding:16px 18px !important;
  border-width:2px !important;
  border-radius:16px !important;
  min-height:92px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-item b,
body.screen-grill #grill .order-card.grill-expanded .order-item strong,
body.screen-grill #grill .order-card.grill-expanded.order-many-items .order-item b,
body.screen-grill #grill .order-card.grill-expanded.order-many-items .order-item strong{
  font-size:25px !important;
  line-height:1.12 !important;
  letter-spacing:-.35px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-item small,
body.screen-grill #grill .order-card.grill-expanded.order-many-items .order-item small{
  margin-top:7px !important;
  font-size:19px !important;
  line-height:1.28 !important;
}
body.screen-grill #grill .order-card.grill-expanded .notice{
  padding:16px 18px !important;
  margin-top:14px !important;
  border-radius:16px !important;
  font-size:20px !important;
  line-height:1.3 !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-body b[style]{
  padding:13px 15px !important;
  margin:14px 0 10px !important;
  border-radius:14px !important;
  font-size:19px !important;
}
body.screen-grill #grill .order-card.grill-expanded .minute-buttons{
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:8px !important;
  margin-top:10px !important;
}
body.screen-grill #grill .order-card.grill-expanded .minute-btn{
  min-height:52px !important;
  padding:10px 7px !important;
  border-width:2px !important;
  border-radius:12px !important;
  font-size:17px !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-actions{
  position:sticky !important;
  bottom:0 !important;
  z-index:3 !important;
  gap:12px !important;
  margin:20px -24px -24px !important;
  padding:16px 24px !important;
  background:rgba(255,255,255,.96) !important;
  border-top:2px solid #cbd5e1 !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-actions .btn{
  min-height:58px !important;
  padding:14px 22px !important;
  border-width:2px !important;
  border-radius:14px !important;
  font-size:20px !important;
}
@media (max-width:900px){
  body.screen-grill #grill .order-card.grill-expanded{
    inset:6px !important;
    max-height:calc(100vh - 12px) !important;
    border-radius:18px !important;
  }
  body.screen-grill #grill .order-card.grill-expanded .order-head h4{
    font-size:30px !important;
  }
  body.screen-grill #grill .order-card.grill-expanded .order-items{
    grid-template-columns:1fr !important;
  }
  body.screen-grill #grill .order-card.grill-expanded .minute-buttons{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  }
}
/* V29 FINAL ROSTILJ KLIK ZA UVEĆANJE BEZ IGRANJA */

  
/* =========================================================
   V32 ROSTILJ PANEL
   PRISTIGLE / PRIHVAĆENE / NA ROŠTILJU / GOTOVE:
   četiri kartice u jednom redu; svaka sledeća grupa od četiri
   prelazi u novi red ispod. Pregled se skroluje vertikalno mišem.
   PREUZETE zadržava postojeći raspored.
   ========================================================= */
body.screen-grill #grill #grillOrders.grill-four-column-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:start !important;
  gap:10px !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  max-height:calc(100vh - 330px) !important;
  padding:0 8px 12px 0 !important;
  overscroll-behavior:contain !important;
  scrollbar-gutter:stable !important;
  scroll-behavior:smooth !important;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid > .order-card{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid > .cart-empty{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid::-webkit-scrollbar{
  width:14px;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid::-webkit-scrollbar-track{
  background:#0f172a;
  border-radius:999px;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid::-webkit-scrollbar-thumb{
  background:#64748b;
  border:3px solid #0f172a;
  border-radius:999px;
}
body.screen-grill #grill #grillOrders.grill-four-column-grid::-webkit-scrollbar-thumb:hover{
  background:#94a3b8;
}
@media (max-width:1100px){
  body.screen-grill #grill #grillOrders.grill-four-column-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:760px){
  body.screen-grill #grill #grillOrders.grill-four-column-grid{
    grid-template-columns:1fr !important;
    max-height:none !important;
    overflow-y:visible !important;
    padding-right:0 !important;
  }
}
/* V32 END */


/* =========================================================
   V35 ROSTILJ PANEL — zbirni prikaz pakovanja i pljeskavica bez priloga
   Artikli u lepinji ostaju pojedinačni zbog različitih priloga.
   Artikli za poneti grupišu se po pakovanju i vrsti artikla.
   ========================================================= */
body.screen-grill #grill .order-item.grill-packaging-summary{
  display:block !important;
  background:#fff7ed !important;
  border:4px solid #fb923c !important;
  padding:18px 20px !important;
}
body.screen-grill #grill .order-item.grill-packaging-summary.grill-packaging-folija{
  background:#eff6ff !important;
  border-color:#60a5fa !important;
}
body.screen-grill #grill .order-item.grill-packaging-summary b{
  display:block !important;
  color:#111827 !important;
  font-size:29px !important;
  line-height:1.3 !important;
  font-weight:1000 !important;
}
body.screen-grill #grill .order-card.grill-expanded .order-item.grill-packaging-summary b{
  font-size:34px !important;
}
body.screen-grill #grill .order-item.grill-plain-burgers{
  background:#fefce8 !important;
  border-color:#facc15 !important;
}
/* V35 END */


