.restobar-wrapper .content { padding-bottom: 35px; }
.restobar-header h1 { font-weight: 700; color: #233142; }
.restobar-header h1 i { color: #00a65a; margin-right: 8px; }
.restobar-alert { border-radius: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.restobar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.restobar-toolbar .btn { border-radius: 10px; font-weight: 600; }
.restobar-resumen { margin-bottom: 18px; }
.restobar-metric { min-height: 112px; border-radius: 18px; color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; margin-bottom: 15px; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.restobar-metric i { position: absolute; right: 18px; bottom: 12px; font-size: 50px; opacity: .18; }
.restobar-metric span { font-size: 13px; text-transform: uppercase; letter-spacing: .7px; opacity: .92; }
.restobar-metric strong { font-size: 28px; line-height: 1.2; }
.metric-blue { background: linear-gradient(135deg,#1e88e5,#0d47a1); }
.metric-green { background: linear-gradient(135deg,#00a65a,#00733e); }
.metric-red { background: linear-gradient(135deg,#dd4b39,#b71c1c); }
.metric-orange { background: linear-gradient(135deg,#f39c12,#e65100); }
.restobar-shortcuts { margin-top: 10px; }
.restobar-shortcut { display: block; min-height: 135px; background: #fff; border-radius: 18px; padding: 22px; margin-bottom: 18px; color: #263238; box-shadow: 0 8px 22px rgba(0,0,0,.08); border: 1px solid #edf1f5; transition: transform .2s ease, box-shadow .2s ease; }
.restobar-shortcut:hover, .restobar-shortcut:focus { color: #111; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.13); text-decoration: none; }
.restobar-shortcut i { font-size: 32px; color: #00a65a; margin-bottom: 12px; display: block; }
.restobar-shortcut strong { display: block; font-size: 19px; margin-bottom: 6px; }
.restobar-shortcut span { color: #6d7780; }
.restobar-box-info { border-radius: 16px; border-top: 0; box-shadow: 0 8px 22px rgba(0,0,0,.08); overflow: hidden; }
.restobar-flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.restobar-flow span { background: #f4f7fb; padding: 12px 16px; border-radius: 999px; font-weight: 700; color: #263238; }
.restobar-flow span i { color: #00a65a; margin-right: 6px; }
.restobar-flow > i { color: #90a4ae; }
.restobar-mesas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.restobar-mesa-card { background: #fff; border-radius: 20px; padding: 18px; position: relative; min-height: 235px; box-shadow: 0 8px 22px rgba(0,0,0,.08); border: 1px solid #eef1f4; transition: transform .2s ease, box-shadow .2s ease; }
.restobar-mesa-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.mesa-libre { border-left: 6px solid #00a65a; }
.mesa-ocupada { border-left: 6px solid #dd4b39; }
.mesa-reservada { border-left: 6px solid #f39c12; }
.mesa-limpieza { border-left: 6px solid #607d8b; }
.mesa-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mesa-zona { color: #6d7780; font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .5px; }
.mesa-icon { width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: #eefaf3; color: #00a65a; font-size: 28px; margin: 16px 0 12px; }
.restobar-mesa-card h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #233142; }
.restobar-mesa-card p { color: #72808e; margin-bottom: 10px; }
.mesa-total { display: block; font-size: 24px; color: #dd4b39; margin-bottom: 12px; }
.restobar-status { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .4px; }
.status-libre, .status-cerrado, .status-entregado { background: #e8f7ef; color: #008d4c; }
.status-ocupada, .status-anulado { background: #fdecea; color: #c62828; }
.status-reservada, .status-enviado, .status-pendiente { background: #fff5df; color: #c77700; }
.status-limpieza, .status-abierto { background: #eef3f7; color: #455a64; }
.status-preparando { background: #ffe9dc; color: #e65100; }
.status-listo, .status-atendido { background: #e3f2fd; color: #0d47a1; }
.restobar-area { display: inline-block; padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 800; }
.area-cocina { background: #fff0e6; color: #d35400; }
.area-bar { background: #e9f5ff; color: #0277bd; }
.area-general { background: #f1f3f4; color: #455a64; }
.restobar-empty { background: #fff; border: 1px dashed #cfd8dc; border-radius: 18px; padding: 35px 20px; text-align: center; color: #607d8b; box-shadow: 0 8px 22px rgba(0,0,0,.05); }
.restobar-empty i { display: block; font-size: 46px; color: #b0bec5; margin-bottom: 10px; }
.restobar-empty p { margin: 0; font-size: 16px; }
.restobar-modal-header { background: linear-gradient(135deg,#263238,#111); color: #fff; border-radius: 5px 5px 0 0; }
.restobar-modal-header .close { color: #fff; opacity: .85; }
.restobar-modal-lg { width: 94%; max-width: 1100px; }
.restobar-form-add { background: #f8fafc; border-radius: 16px; padding: 15px 10px; border: 1px solid #edf1f5; }
.restobar-form-add label { font-size: 12px; text-transform: uppercase; color: #607d8b; letter-spacing: .5px; }
.restobar-form-add .form-control, .restobar-form-add .select2-container .select2-selection--single { border-radius: 10px !important; min-height: 38px; }
.table-restobar-detalle td { vertical-align: middle !important; }
.restobar-total-box { display: flex; justify-content: flex-end; align-items: center; gap: 15px; padding: 14px; background: #f4f7fb; border-radius: 12px; font-size: 16px; }
.restobar-total-box strong { font-size: 26px; color: #00a65a; }
.restobar-modal-actions .btn { border-radius: 10px; font-weight: 700; }
.restobar-comandas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.restobar-comanda-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.08); border: 1px solid #edf1f5; }
.restobar-comanda-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px; background: #263238; color: #fff; }
.restobar-comanda-head strong { display: block; font-size: 18px; }
.restobar-comanda-head small { display: block; color: #cfd8dc; margin-top: 4px; }
.restobar-comanda-body { padding: 16px; }
.restobar-comanda-item { padding: 10px 0; border-bottom: 1px dashed #e0e0e0; font-size: 15px; }
.restobar-comanda-item:last-child { border-bottom: 0; }
.restobar-comanda-item small { display: block; color: #777; margin-left: 24px; margin-top: 3px; }
.restobar-comanda-actions { padding: 14px 16px 16px; background: #f8fafc; display: flex; gap: 8px; flex-wrap: wrap; }
.restobar-comanda-actions .btn { border-radius: 10px; font-weight: 700; }

@media (max-width: 767px) {
  .restobar-toolbar { align-items: stretch; }
  .restobar-toolbar > div, .restobar-toolbar .btn { width: 100%; margin-bottom: 6px; }
  .restobar-mesas-grid, .restobar-comandas-grid { grid-template-columns: 1fr; }
  .restobar-modal-lg { width: 98%; margin: 8px auto; }
  .restobar-modal-actions .btn { width: 100%; margin-bottom: 6px; }
  .restobar-total-box { justify-content: space-between; }
  .restobar-flow { justify-content: flex-start; }
}
