
.ti {
    font-family: "tabler-icons" !important;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fbf5ea;
    background: #f7f5f3;
    background: #fff;
	height: 100%;
    margin:0px;padding:0px;
}

.container {
    margin:0px; padding:0px;
}

/* Sidebar */
.sidebar {
    width: 55px;
	position:fixed;
    background: #2f6df6;
    background: #740e23;
	background: linear-gradient(180deg, #740e23, #4a0917);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.05);

    color: white;
    
    align-items: center;
	text-align:center;
	  border-right: 1px solid #e8e6e3;
  background:#fff;
  background:#740e23;
  color:#740e23;
  color:#fff;
  padding-top:40px;
}

.sidebar a {
    display: block; /* ✅ fixed */
    text-decoration: none;
    padding:5px;
	margin:10px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
	border:0px solid #fff;
}

/* default icon */
.sidebar i {
    cursor: pointer;
    font-size: 1.6em;
    color: rgba(255,255,255,0.8);
    color: #740e23;
    color: #b8a694;
}

/* hover effect */
/* ✅ ACTIVE STATE */
.sidebar a:hover , .sidebar a.menu-active {
    border:0px dashed #740e23; border-radius:8px;
	/*background:#740e23;
	background:#fff;*/
	color:#fff;
}

.sidebar a.menu-active i, .sidebar i:hover {
   
    color: #740e23; color: #fff;
}

/* Main */
.main {
	left:55px;
    padding: 0px;margin:0px 0px 0px 45px;">
    
}

/* Top Bar */
.topbar {
	position: fixed;
	float:left;
    justify-content: space-between;
    align-items: center;
	z-index:1000;
	margin:20px;
}

#items{
	padding:0px;
}
.search {
    width: 300px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

/* Categories */
.categories {
    
    margin: 10px;
	position:fixed;
	height:80px;
	text-align:center;
}

.category {
    background: white;
	  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 10px;
    margin: 10px;
    text-align: center; font-weight:bold;
    min-width: 130px;
	border:1px solid #eeeeee; border-radius:8px;  cursor:pointer;
	 border-radius: 15px;
    
   /* box-shadow: 0 3px 8px rgba(0,0,0,0.05);*/
	background:#fff;
	border: 1px solid #e8e6e3;
  
}
.category img{
	width:30px;height:30px;
	/*padding:10px;border:2px solid #eeeeee;*/
	
}

.cat-active{
	background:#740e23;color:#fff;
}
.cat-active{
    background-color: #f5e6e9;
	box-shadow: 0 4px 12px rgba(116, 14, 35, 0.12);
    color: #740e23;
    border: 1px dashed #740e23;
	
}

/* Products */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
	text-align: center;
    background: white;
    padding: 15px;
    padding: 0px; margin:0px;
    border-radius: 15px;
    
    /*box-shadow: 0 3px 8px rgba(0,0,0,0.05);*/
	cursor:pointer;

}

.card img {
    width: 120px; height:120px;
	width:120px;height:120px;padding:10px;border:1px solid #e8e6e3;
}
.card img:hover, .card img:active {
    border:2px solid #740e23;
}
.card h4{text-align:center;height:40px;margin:0px 20px 0px 20px;color: #2b2b2b;font-size:1.1em;
	}
.card p{text-align:center;color:#740e23;font-weight:bold;}
.card button {
    /*margin-top: 10px;
    background: #2f6df6;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;*/
}

/* Order Panel */
.order-panel {
   /* width: 350px;*/
	height:100%;
	/*overflow:scroll;*/
	position: fixed;
    top: 0;
    right: 0;
    background: white;
    padding: 0px;
    border-left: 1px solid #e8e6e3;
 

	 /* border-left: 1px solid #ddd;
	  box-shadow: -2px 0 5px rgba(0,0,0,0.2);*/
	  overflow-y: auto;
	  transition: right 0.4s ease;
	 /* z-index: 999;*/
}

.parent {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    /* takes remaining space */
    padding: 20px;
    overflow-y: auto;
	flex: 1;
}

.bottom-box {
    margin-top: auto;
    background:#fff;
    padding: 20px;
	border-top: 1px solid #e8e6e3;
}
.order-item {
    justify-content: space-between;
    margin: 10px 0;
}

.total {
    margin-top: auto;
}

.btns {
    gap: 10px;
    margin-top: 15px;
}

.btn{
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.print {
    background: #27ae60;
    color: white;
}

.order {
    background: #2f6df6;
    color: white;
}

/*   */

.ordertype{
	width:130px;padding:5px; margin:5px; border:1px solid #eeeeee; border-radius:8px; float:left;background:#fff;cursor:pointer;
}
.ordertype-active{
	background:#740e23;color:#fff;
}


    /* Right-side panel */
   
	#detailsPanel, #filtersPanel {
	  position: fixed;
	  top: 0;
	  right: -350px;         /* hide panel initially */
	  width: 350px;          /* desktop width */
	  height: 100%;
	  background: #fff;
	  border-left: 1px solid #ddd;
	  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
	  overflow-y: auto;
	  padding: 20px;
	  transition: right 0.4s ease;
	  z-index: 999;
	}
    #detailsPanel.open, #filtersPanel.open {
      right: 0;
    }
    .closePanel {
      float: right;
      cursor: pointer;
      font-size: 18px;
      color: #888;
    }
    .closePanel:hover {
      color: #000;
    }
	
	
	
.btn-primary {
    background-color: #740e23;
    border-color: #740e23;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5c0b1c; /* darker shade */
    border-color: #5c0b1c;
}

.btn-primary:active {
    background-color: #430816; /* even darker */
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid #740e23;
    color: #740e23;
}

.btn-secondary:hover {
    background-color: #740e23;
    color: #fff;
}

.headline {
    color: #2b0a0f;
}
/*
* {
    outline: 1px solid red;
}
*/
/*  Form Controls */
/* ===== Global Fix ===== */
* {
    box-sizing: border-box;
}

/* ===== Form Group ===== */
.form-group {
    margin-bottom: 15px;
}

/* ===== Label ===== */
.form-label {
    display: block;
    margin-bottom: 5px;
    color: #3a0d14;
    font-weight: 600;
    font-size: 13px;
}

/* ===== Input Base ===== */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #2b2b2b;
    background-color: #fff;
    transition: all 0.2s ease;
}

/* ===== Placeholder ===== */
.form-control::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* ===== Hover ===== */
.form-control:hover {
    border-color: #bbb;
}

/* ===== Focus ===== */
.form-control:focus {
    border-color: #740e23;
    box-shadow: 0 0 0 2px rgba(116, 14, 35, 0.1);
    outline: none;
}

/* ===== Disabled ===== */
.form-control:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* ===== Error State ===== */
.form-control.error {
    border-color: #d9534f;
    background-color: #fff5f5;
}

/* ===== Success State ===== */
.form-control.success {
    border-color: #28a745;
}

/* ===== Input Group (with icon) ===== */
.input-group {
    position: relative;
}

.input-group-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-group .form-control {
    padding-left: 35px;
}

/* ===== Select Styling ===== */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #740e23 50%),
                      linear-gradient(135deg, #740e23 50%, transparent 50%);
    background-position: calc(100% - 15px) calc(50% - 3px),
                         calc(100% - 10px) calc(50% - 3px);
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

/* ===== Textarea ===== */
textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* ===== Checkbox & Radio ===== */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #740e23;
    cursor: pointer;
}

/* ===== Small Help Text ===== */
.form-text {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

/* ===== Button Primary ===== */
.btn-primary {
    background-color: #740e23;
    border: 1px solid #740e23;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background-color: #5c0b1c;
}

.btn-primary:active {
    background-color: #430816;
    transform: scale(0.97);
}

/* ===== Button Secondary (outline) ===== */
.btn-secondary {
    background: transparent;
    border: 1px solid #740e23;
    color: #740e23;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary:hover {
    background-color: #740e23;
    color: #fff;
}

.placeholder {
  background: linear-gradient(135deg, #740e23, #a3162f);
  color: #fff;
}

/* Card */
.order-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;

  box-shadow: 0 4px 12px rgba(116, 14, 35, 0.08);
  transition: 0.2s;
}

.order-card:hover {
  transform: translateY(-2px);
}

/* Header */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Order Type */
.order-type {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* Different types */
.dine-in {
  background: #f5e6e9;
  color: #740e23;
}

.takeaway {
  background: #e6f4ea;
  color: #2e7d32;
}
.drive-through {
  background: #e6f0ff;
  color: #1e5bb8;
}
/* Time */
.order-time {
  font-size: 13px;
  color: #777;
}

/* Items */
.order-items {
  margin: 10px 0;
}

.item {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.qty {
  font-weight: bold;
  color: #740e23;
  min-width: 30px;
}

/* Actions */
.order-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Buttons */
.btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

/* Print */
.btn.print {
  background: #f5f5f5;
  color: #333;
}

.btn.print:hover {
  background: #e0e0e0;
}

/* Prepare */
.btn.prepare {
  background: #740e23;
  color: #fff;
  background: #f5f5f5;
  color: #740e23;
}

.btn.prepare:hover {
  background: #5c0b1c;
}
.notes{color:#d32f2f;}

.color-red{color:#d32f2f;}
.color-black{color:#666666}

/*     ** order print **/
.invoice-data{border-bottom:1px dotted #666666 !important;}
.invoice-row{margin:0px; padding:0px;}
.invoice-cell{margin:0px; padding:8px;text-align:center;}
.border-top{border-top:1px solid #666666 !important;}
.border-bottom{border-bottom:1px solid #666666 !important;}
.border-left{border-left:1px solid #666666 !important;}
.border-right{border-right:1px solid #666666 !important;}
.invoice-col{margin:0px; padding:0px;}
.invoice-logo{margin-top:0px;}
.small_text{font-size:0.9em;}
.sep-line{border-top:1px solid #666666 !important;border-bottom:2px solid #666666 !important; height:4px;}

