/* assets/style.css */

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

h1 {
  margin: 0;
  font-size: 2rem;
}

section {
  max-width: 640px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.question-block label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

select, textarea, button {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

button {
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #45a049;
}

#menu-result {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1rem 0;
  white-space: pre-wrap;
}

#review-list li {
  border-bottom: 1px solid #eee;
  padding: 0.5rem 0;
  list-style: none;
}

#map-popup {
  position: fixed;
  top: 10vh;
  left: 5vw;
  width: 90vw;
  height: 80vh;
  background: white;
  border: 2px solid #4caf50;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

#map-popup iframe {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
}

#map-popup button {
  width: 100%;
  border: none;
  padding: 0.75rem;
  background: #f44336;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  #map-popup {
    top: 5vh;
    left: 0;
    width: 100vw;
    height: 90vh;
  }
}
