:root {
  --primary-color: #06c755;
  --bg-color: #f7f9fb;
  --card-bg: #ffffff;
  --text-color: #333333;
  --gray-color: #888888;
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  padding: 20px;
}

#app-container {
  width: 100%;
  max-width: 480px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 24px;
}

header {
  text-align: center;
  margin-bottom: 24px;
}

h1 {
  color: var(--primary-color);
  font-size: 24px;
}

h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.hidden {
  display: none !important;
}

.desc {
  font-size: 13px;
  color: var(--gray-color);
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s;
}

input[type="text"]:focus {
  border-color: var(--primary-color);
}

.action-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.primary-btn, .secondary-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity 0.2s;
}

.primary-btn {
  background-color: var(--primary-color);
  color: #fff;
}

.secondary-btn {
  background-color: #e4e6eb;
  color: #333;
}

.primary-btn:hover, .secondary-btn:hover {
  opacity: 0.9;
}

.room-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f2f5;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: bold;
}

.invite-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-color);
  margin-bottom: 20px;
  padding: 0 4px;
}

.small-btn {
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.check-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.check-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
}

.toggle-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  background-color: #ff3b30;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-btn.checked {
  background-color: var(--primary-color);
}

.last-action-info {
  text-align: center;
  font-size: 12px;
  color: var(--gray-color);
  margin-bottom: 24px;
}

.shitakke-container {
  text-align: center;
}

#shitakke-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #06c755, #00b900);
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
}

#alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.alert-box {
  background: white;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.alert-box h2 {
  margin-bottom: 12px;
}

.alert-box p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

#alert-close-btn {
  padding: 10px 24px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}