* {
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', sans-serif;
  background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #2d3748;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 20px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
  color: #4a5568;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  flex: 1 1 22%;
  min-width: 60px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  background-color: #edf2f7;
  color: #2d3748;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background-color: #cbd5e0;
}

.btn.active {
  background-color: #3182ce;
  color: #fff;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 30px;
  position: sticky;
  bottom: 0;
}

.action-buttons button {
  flex: 1;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background-color: #2d3748;
  color: white;
  transition: background 0.2s ease;
  cursor: pointer;
}

.action-buttons button:hover {
  background-color: #1a202c;
}

#savedLocation {
  margin-top: 25px;
  margin-bottom: 16px;
  padding: 16px;
  background-color: #f7fafc;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #2b6cb0;
  border: 2px solid #3182ce;
  position: sticky;
  top: 61px;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .btn {
    flex: 1 1 30%;
  }

  .action-buttons {
    gap: 5px;
  }

  .action-buttons button {
    margin: 0;
  }
}
