/* 🌐 Base Reset & Typography */
@media (forced-colors: active) {
  /* High contrast mode adjustments here */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 🔝 Navigation Tabs */
.tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #e0e0e0;
  padding: 12px 0;
  border-bottom: 2px solid #ccc;
}

.tab-nav a {
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  color: #333;
  background: #d6d6d6;
  transition: background 0.3s ease, color 0.3s ease;
}

.tab-nav a:hover {
  background: #9fa8da;
  color: #fff;
}

/* 🧑‍🍳 Panel Headers */
h2 {
  color: #3f51b5;
  margin-bottom: 10px;
  font-size: 1.4em;
}

/* 🔒 Auth Status */
#authStatus {
  margin: 10px;
  font-size: 0.95em;
  color: #4caf50;
}

/* 📁 Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 30px auto;
}

input, textarea, select, button {
  padding: 10px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

/* 🟦 Buttons */
button {
  background: #3f51b5;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #303f9f;
}

button:disabled {
  background-color: #bbb;
  cursor: not-allowed;
}

/* 🧑‍💼 Profile Panel */
#profileImage {
  border-radius: 50%;
  margin: 10px auto;
  display: block;
}

#profileRole {
  font-style: italic;
  color: #616161;
  text-align: center;
}

/* 🗺️ Map Container */
#map {
  height: 500px;
  margin: 20px auto;
  width: 100%;
  max-width: 960px;
  border: 2px solid #ccc;
  border-radius: 8px;
}

/* 🍽️ Menu Panel */
#menuPanel {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#menuList {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#menuList li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

#menuList img {
  border-radius: 6px;
  width: 100px;
  height: auto;
}

/* 🚪 Logout Button */
#logoutBtn {
  margin-top: 10px;
  background: #ef5350;
}

#logoutBtn:hover {
  background: #d32f2f;
}

/* 📱 Responsive Layout */
@media (max-width: 600px) {
  .tab-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
 .tab-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 1em;
    border-radius: 6px;
    background: #d6d6d6;
    color: #333;
  }

  .tab-nav a:hover {
    background: #9fa8da;
    color: #fff;
  }
  form {
    padding: 16px;
    max-width: 100%;
    margin: 20px;
  }

  #map {
    height: 300px;
  }

  #menuPanel {
    padding: 16px;
    margin: 15px;
  }

  #menuList li {
    flex-direction: column;
    text-align: center;
  }

  #menuList img {
    margin-bottom: 10px;
  }

  button {
    width: 100%;
  }
}
