:root {
  --primary-color: #3178c6;
  --bg-color: #f0f2f5;
  --card-bg: #ffffff;
  --text-color: #333;
  --accent-color: #f39c12;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

#app {
  width: 100%;
  max-width: 500px;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

#status {
  font-size: 0.9rem;
  font-weight: bold;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* 天気エリア専用スタイル */
.weather-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

#temperature {
  font-size: 3.5rem;
  font-weight: bold;
}

.unit {
  font-size: 1.5rem;
  vertical-align: top;
}

#weather-icon {
  width: 100px;
  height: 100px;
  background-color: #eee;
  border-radius: 50%;
}

#increment,
#decrement {
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  transition: opacity 0.2s;
}

#increment:hover,
#decrement:hover {
  opacity: 0.8;
}

#refresh-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  transition: opacity 0.2s;
}

#refresh-btn:hover {
  opacity: 0.8;
}

#log-list {
  list-style: none;
  padding: 0;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  margin-top: 1rem;
  text-align: left;
}

#log-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}
