body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-family: 'Tajawal', 'Poppins', sans-serif;
  background: #fff;
  background: #FAF8F6;
  margin: 0;
  color: #333;
  overflow-x: hidden;
}
/*
html, body {
    height: 100%;
    overflow: hidden;
}
body {
    display: flex;
}*/
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 55px;
  background: #740e23;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  padding-top: 20px;
  z-index: 100;
  transition: width 0.3s ease;

  overflow-y:auto;
}
#items{
	overflow-y:auto;
	overflow-x:hidden;
	padding:10px;
}
.scroll-container::-webkit-scrollbar,
.sidebar::-webkit-scrollbar , #items::-webkit-scrollbar {
    width:2px;
}

.scroll-container::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb, #items::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}
.sidebar .brand {
  text-align: center;
  font-size: 18px;
  color: #007aff;
  font-weight: 600;
  margin-bottom: 30px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
    text-align:center;
}

.nav-link {
  color: #f9d2da;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
    text-align:center;
	display:block;
	padding:10px 0px 10px 0px;
}

.nav-link i {
  text-align: center;font-size:1.3em;
}

.nav-link:hover,
.nav-link.active {
  background: #440814;
  color: #fff;
  text-decoration:none;
}

/* Main content */
.main-content{
  margin:0px 0px 0px 55px;

  transition: margin-left 0.3s ease;
}
.right-panel {
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	background: #f5f5f5;
	border-left: 1px solid #ddd;
	padding: 15px;
	overflow-y: auto;
}
/* Topbar */
.topbar {
  background: #fff;
  padding: 10px;
  border-bottom: 0px solid #e6e9ed;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

#page-title {
  margin: 0;
  font-size: 18px;
  color: #007aff;
}

/* Content */
.app-content {
  padding: 10px;
}

/* Shadow box */
.shadow-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 40px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}




		



.btn-primary{
	background: #740e23;
	color: #fff;
}
.color-brand{color:#740e23;}
.color-red{color:#ff704d;}
.color-green{color:#79d279;}
.color-blue{color:#4d94ff;}
.color-primary{color:#7B1024;}
.color-accent{color:#D9B88F;}
.color-muted{color:#8A8A8A;}


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

	#orderDetailsPanel, #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;
	}
    #orderDetailsPanel.open, #filtersPanel.open {
      right: 0;
    }
	
.table tbody tr td,
.table thead tr th,
.table tfoot tr th {
    vertical-align: middle;
}




/******************************/
/* Hamburger menu */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    display: none; /* hide on desktop */
    margin-right: 15px;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 90;
}

/* Mobile sidebar */
@media (max-width: 1024px) {
    .menu-icon {
        display: inline-block;
    }

    .sidebar {
        left: -220px;         /* hide offscreen */
        left: -55px;         /* hide offscreen */
        width: 220px;
        width: 55px;
        height: 100%;
        position: fixed;
        top: 0;
        transition: left 0.3s ease;
        z-index: 100;
    }
	.sidebar .brand span,
	  .sidebar .nav-link span {
		display: none;
	  }
    .sidebar.open {
        left: 0;              /* slide in */
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }

    .main-content {
        margin-left: 0;       /* full width */
		margin-right: 0;

        transition: margin-left 0.3s ease;
    }

    .main-content.shifted {
        margin-left: 55px;   /* shift when sidebar open */
    }
	
	.right-panel {
		position: relative;
		width: 100%;
		height: auto;
		border-left: none;
		border-bottom: 1px solid #ddd;
	}
    .overlay.show {
        display: block;
    }
	  

	
	  	#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: 0px;
		  transition: right 0.4s ease;
		  z-index: 999;
		}
		
		 #orderDetailsPanel, #filtersPanel {
			width: 350px;
			right: -350px;      /* fully hide at start */
		  }
}
@media (max-width: 480px) {
    body {
        overflow: auto; /* keep this */
    }
}


/****************************/
.table {
	font-size:0.95em;
}

.new-row {
    background-color: #fff3cd;
    transition: background-color 1.2s ease;
}

   
/* Dashboard cards */
.card {
	text-align:center; cursor:pointer;
	backdrop-filter: blur(8px);
	background:rgba(255,255,255,.82);
border-radius:8px;	padding:10px;
}
.card img {
    width: 120px; height:120px;
	width:120px;height:130px;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;}
/* Buttons */
			
.items-div {
      display: none;
      background: #fff;
      border: 1px solid #ccc;
      padding: 20px;
      border-radius: 8px;
    }
.cat-div{}	
.cat{cursor: pointer;text-align:center;background:#f7f5f3;background:#fff;font-weight:bold;
	min-width:80px;padding:10px; margin:5px; border:1px solid #eeeeee; border-radius:8px; float:left;
}

.cat-active, .cat:hover{
	 background-color: #f5e6e9;
	 background-color: #740e23;
	box-shadow: 0 4px 12px rgba(116, 14, 35, 0.12);
    color: #740e23;
    color: #fff;
    border: 1px dashed #740e23;
}
.ordertype{
	width:130px;padding:5px; margin:5px; border:1px solid #eeeeee; border-radius:8px; float:left;background:#fff;cursor:pointer;
}
.ordertype-active{
	background:#666666;color:#fff;
}

/* Webkit browsers (Chrome, Edge, Safari) */
.scroll-flex {
	padding:10px 10px 10px 30px;
    display: flex;
    overflow-x: auto;
	border-bottom:1px solid #eeeeee;
}

.box {
    min-width: 130px;
    margin-right: 10px;
    padding: 10px;
}
.scroll-container::-webkit-scrollbar,
.scroll-flex::-webkit-scrollbar {
    height:2px;
}

.scroll-container::-webkit-scrollbar-thumb,
.scroll-flex::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}

/* scroll bar */
/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    height: 2px;
    width: 2px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #740e23;
    border-radius: 10px;
}

/* Firefox */
* {
    scrollbar-color: #740e23 #f1f1f1;
    scrollbar-width: thin;
}

 

.parent {
 
}

.content {
   
}

.bottom-box {
     
}

.notes{color:#d32f2f;}

/*   form css */
/* ===== FORM CONTAINER ===== */
.form-box {
  
}

/* ===== LABEL ===== */
.form-box label {
    color: #666666;
    font-weight: 600;
    margin-bottom: 5px;
}

/* ===== INPUT ===== */
.form-box .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: all 0.2s ease;
}

/* ===== INPUT FOCUS ===== */
.form-box .form-control:focus {
    border-color: #740e23;
    box-shadow: 0 0 5px rgba(116, 14, 35, 0.2);
}

/* ===== PLACEHOLDER ===== */
.form-box .form-control::placeholder {
    color: #aaa;
}

/* ===== BUTTON PRIMARY ===== */
.btn-brand {
    background: #740e23;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    transition: 0.2s;
}

.btn-brand:hover {
    background: #8f132c;
    color: #fff;
}

/* ===== BUTTON SECONDARY ===== */
.btn-brand-outline {
    background: transparent;
    color: #740e23;
    border: 1px solid #740e23;
    border-radius: 8px;
}

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

/* ===== INPUT GROUP / BADGE STYLE ===== */
.form-tag {
    display: inline-block;
    padding: 5px 10px;
    background: #f8e9ec;
    color: #740e23;
    border-radius: 20px;
    font-size: 12px;
}

/* ===== SECTION TITLE ===== */
.form-title {
    font-size: 18px;
    font-weight: bold;
    color: #740e23;
    margin-bottom: 15px;
}

/* ===== DIVIDER ===== */
.form-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

/* ===== ERROR STATE ===== */
.form-control.error {
    border-color: #e74c3c;
}

/* ===== SUCCESS STATE ===== */
.form-control.success {
    border-color: #2ecc71;
}

.radio-btn {
    display: inline-block;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 3px;
    transition: 0.2s;
}

.radio-btn input {
    display: none;
}

.radio-btn.active {
    border:1px solid #740e23;
    background:#740e23;
    color: #fff;
    border-color: #740e23;
}
table {
  width: 100%;
}

td, th {
  overflow-wrap: break-word;
  word-break: break-word;
}
.price-badge{background:#f8efed;padding:5px;border-radius:50px;font-weight:bold; color:#740e23;}
.total-badge{background:#f8efed;padding:10px;border:1px solid #f1deda; border-radius:50px;font-weight:bold; color:#740e23;}


