body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.sidebar {
  width: 220px;
  color: #fff;
  height: 100vh; /* Full height */
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
}


.sidebar h2 {
  font-size: 22px;
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 20px;
}

.sidebar ul li a {
  color: #fff;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: block;
  transition: background 0.3s ease;
  font-size: 23px;
  font-weight: 500;
}

.sidebar ul li a:hover {
  background: #e96c1c;
}

.sidebar ul li.active a {
  background: #0f2236;
}

.main-content {
  margin-left: 220px; /* To match sidebar width */
  background: #FFEEA9;
  padding: 30px;
  width: calc(100% - 220px);
  min-height: 100vh;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  margin: 0;
}

.admin-info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.admin-email-btn {
  background-color: #1f3b57;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-email-btn:hover {
  background-color: #2980b9;
  color: #f0f0f0;
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  margin: 15% auto;
}

.modal-content h3 {
  margin-bottom: 20px;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
}

.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-buttons .yes {
  background-color: #e74c3c;
  color: white;
}

.modal-buttons .no {
  background-color: #2ecc71;
  color: white;
}

.cards,
.stats-cards {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.card,
.stat-card {
  background: #fff;
  flex: 1;
  min-width: 200px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.stat-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: white;
}

.card p,
.stat-card p {
  font-size: 22px;
  font-weight: bold;
  margin: 6px 0;
  color: #1f3b57;
}

.btn-add {
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background-color: #3498db;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-right: 5px;
  font-weight: bold;
}

.btn-delete,
.btn-toggle {
  padding: 6px 12px;
  font-size: 20px;
}


.btn-delete {
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
  margin-right: 5px;
}

.btn-toggle {
  background: #f39c12;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
}

.form-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin-top: 20px;
}

.form-box input[type="text"],
.form-box input[type="number"],
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.main-content .content-body .menu-table {
  background-color: #FFBF78;
}

.menu-table,
.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.menu-table th,
.menu-table td,
.order-table th,
.order-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.thead tr{
   background-color: #7B4019;
}

.menu-table .thead,
.order-table thead {
  color:  #7B4019;
}


.status-pending {
  color: #e67e22;
  font-weight: bold;
}

.status-completed {
  color: #2ecc71;
  font-weight: bold;
}

.status-dispatch {
  color: #3498db;
  font-weight: bold;
}

.status-default {
  color: gray;
  font-weight: bold;
}

.menu-table img {
  width: 60px;
  height: auto;
  border-radius: 5px;
}

