body {
  font-family: "Kanit", sans-serif;
  margin: 0;
  background: #f5f7fb;
}

.header {
  background: linear-gradient(135deg, #4facfe, #00c6ff);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.container {
  padding: 15px;
  padding-bottom: 160px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.name {
  font-weight: 600;
  margin: 6px 0;
  font-size: 15px;
}

.counter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

button {
  cursor: pointer;
}

.btn-round {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
}

.plus {
  background: #2ecc71;
  color: white;
}
.minus {
  background: #e74c3c;
  color: white;
}

input[type="number"] {
  width: 55px;
  text-align: center;
  font-size: 18px;
  border: none;
  background: #eef2f7;
  border-radius: 10px;
  padding: 5px;
}

.footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 10px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.total {
  font-size: 18px;
  font-weight: bold;
}

.btn-main {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  margin-top: 8px;
  background: #3498db;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-around;
  background: white;
  border-top: 1px solid #ddd;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.nav a {
  padding: 10px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 12px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.footer {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.btn-main {
  font-size: 20px;
  padding: 16px;
}
.footer {
  background: linear-gradient(to right, #ffffff, #f8fbff);
}
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  padding: 60px;
  z-index: 1000;
}

.summary {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.nav {
  display: flex;
  justify-content: space-around;
  margin-top: 5px;
}

.nav a {
  text-decoration: none;
  font-size: 18px;
}
input[type="text"],
input[type="number"],
input[type="file"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.price {
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 8px;
}

.btn-edit {
  display: block;
  background: #f39c12;
  color: white;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}

.success {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
}
.order-card {
  padding: 15px;
  text-align: center;
}

.order-code {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
}

.order-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.btn-view {
  display: block;
  background: #3498db;
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
}
.btn-share {
    display: block;
    margin-top: 8px;
    background: #2ecc71;
    color: white;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
}
.order-card.urgent {
    border-left: 6px solid #e74c3c;
    background: #fff5f5;
}

.order-card.normal {
    border-left: 6px solid #f1c40f;
    background: #fffdf3;
}

.order-card.done {
    border-left: 6px solid #2ecc71;
    background: #f0fff5;
}