
/* MENUPILOT - QR MENU DESIGN */

:root {
  --primary: #176b4d;
  --background: #f5f7f6;
  --text: #17251e;
  --muted: #718078;
  --border: #e2e9e4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
}

.topbar {
  background: #ffffff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 35px auto;
  padding: 20px;
  min-height: 70vh;
}

h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

h2 {
  font-size: 23px;
}

p {
  line-height: 1.6;
}

.card,
.panel {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

button,
.btn {
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
}

button:hover,
.btn:hover {
  opacity: 0.9;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px;
  border: 1px solid #d7dfd9;
  border-radius: 8px;
  font-size: 15px;
}

label {
  font-weight: bold;
  font-size: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.menu-item {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-content {
  padding: 18px;
}

.price {
  color: var(--primary);
  font-size: 20px;
  font-weight: bold;
}

.allergen {
  font-size: 12px;
  color: #8a4c27;
  background: #fff3e7;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

footer {
  text-align: center;
  padding: 25px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .container {
    margin: 10px auto;
    padding: 12px;
  }

  .topbar {
    padding: 15px;
  }

  .menu-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 25px;
  }

  .menu-item img {
    height: 180px;
  }
}

/* Yönetim paneli ürün küçük resimleri */
#view .card img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Ürün kartlarının düzeni */
#view .card {
  align-items: center;
}

