:root {
  --bg: #FFFFFF;
  --main-color:#0b383b;
  --main-text: #17777e;
  --text-dark: #1A202C;
  --text-light: #215d62;
  --main-text-light: #00D394;
  --border: #E2E8F0;
  --inactive: #A0AEC0;
  --bg-light:#17777e2e;
  --border-light:#17777e14;
  --button-bg:#155f63;
}

body {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  margin-bottom: 80px;
}

/* ===== Radio & Checkbox ===== */
input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

input[type="checkbox"] {
  border-radius: 6px;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
  border-color: var(--main-text);
  background: var(--main-text);
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Align list-group items properly */
.list-group-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
}

.list-group-item input {
  margin-right: 10px;
  vertical-align: middle;
}

.list-group-item span {
  color: var(--text-light);
  font-weight: 500;
}


/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.navbar-brand {
  font-weight: 600;
  color: var(--text-dark);
  margin: auto;
}
.navbar i {
  color: var(--text-dark);
}

/* Header */
.section-header {
  margin-top: 1rem;
}
.section-header small {
  color: var(--text-light);
  display: block;
  font-weight: 500;
}
.section-header h5 {
  color: var(--main-text);
  font-weight: 700;
}

/* Search */
.search-box {
  position: relative;
  margin-top: 1rem;
}
.search-box input {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 42px;
  width: 100%;
  font-size: 15px;
  color: var(--text-dark);
}
.search-box i {
  position: absolute;
  top: 11px;
  left: 14px;
  color: var(--inactive);
  font-size: 20px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 2px;
  white-space: nowrap;         /* ✅ Prevent text wrapping */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  flex: 0 0 auto;              /* ✅ Prevent line wrapping or shrinking */
  border: none;
  background: none;
  color: var(--inactive);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  position: relative;
  transition: 0.2s;
}

.tabs button.active {
  color: var(--text-dark);
  font-weight: 600;
}

.tabs button.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  margin: auto;
  width: 30%;
  height: 2px;
  background: var(--main-text);
  border-radius: 2px;
}


/* Food cards */
.food-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.25s;
}
.food-card:hover {
  transform: translateY(-3px);
}
.food-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.food-card-body {
  padding: 10px 12px;
}
.food-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.food-price {
  color: var(--main-text);
  font-weight: 600;
  font-size: 15px;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 65px;
}
.bottom-nav a {
  color: var(--inactive);
  text-decoration: none;
  text-align: center;
  font-size: 13px;
}
.bottom-nav a.active {
  color: var(--main-text);
}
.bottom-nav i {
  display: block;
  font-size: 22px;
  margin-bottom: 3px;
}

@media (min-width: 768px) {
  .food-card img { height: 180px; }
}
