* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.header {
  background-color: #06c755;
  color: white;
  padding: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #555;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  -webkit-appearance: none;
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group select:focus {
  outline: none;
  border-color: #06c755;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: #06c755;
  color: white;
}

.btn-primary:disabled {
  background-color: #b0d9c0;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn + .btn {
  margin-top: 12px;
}

.menu-list {
  list-style: none;
}

.menu-item {
  display: block;
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  cursor: pointer;
}

.menu-item:first-child {
  border-radius: 8px 8px 0 0;
}

.menu-item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.menu-item::after {
  content: '>';
  float: right;
  color: #ccc;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

.member-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.member-card .name {
  font-size: 16px;
  font-weight: bold;
}

.member-card .info {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.status-active { background: #d4edda; color: #155724; }
.status-inactive { background: #fff3cd; color: #856404; }
.status-withdrawn { background: #f8d7da; color: #721c24; }

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: white;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn.active {
  background: #06c755;
  color: white;
  border-color: #06c755;
}

.invite-code-display {
  text-align: center;
  padding: 24px;
}

.invite-code-display .code {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 8px;
  color: #06c755;
  margin: 16px 0;
}

.invite-code-display .expires {
  font-size: 13px;
  color: #999;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-group label {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  cursor: pointer;
  font-weight: normal;
}

.radio-group input[type="radio"] {
  width: auto;
  margin-right: 10px;
}

.hidden {
  display: none !important;
}
