* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: #1a1a1a;
  background: #f7f7f5;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: #1f2a24;
  color: white;
  flex-wrap: wrap;
}

.topbar .brand {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.topbar nav a {
  color: #cfd8d2;
  text-decoration: none;
  margin-right: 16px;
}

.topbar .user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cfd8d2;
}

.topbar .user button {
  background: none;
  border: 1px solid #4a5a51;
  color: #cfd8d2;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: #2f6b46;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
}

.btn-google {
  background: #4285f4;
}

.list-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.list-table th, .list-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.list-table tbody tr {
  cursor: pointer;
}

.list-table tbody tr:hover {
  background: #f0f4f1;
}

.badge {
  display: inline-block;
  background: #e4efe8;
  color: #2f6b46;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.form-inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: white;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #444;
}

input, textarea, select {
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-error {
  color: #b3261e;
}

.detail-list {
  background: white;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.detail-list dt {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

.detail-list dd {
  margin: 2px 0 0;
  font-size: 16px;
}

.empty {
  color: #777;
}

.muted {
  color: #888;
  font-size: 13px;
}

.hint {
  color: #666;
  font-size: 14px;
  background: #eef3ef;
  padding: 8px 12px;
  border-radius: 6px;
}

.icon-btn {
  text-decoration: none;
  font-size: 18px;
  margin-left: 8px;
  cursor: pointer;
  background: none;
  border: none;
  color: #b3261e;
}

fieldset {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  margin: 0 0 16px;
  padding: 12px 16px;
}

legend {
  font-weight: 600;
  padding: 0 6px;
}

.form fieldset label {
  margin-bottom: 10px;
}

.center-box {
  max-width: 360px;
  margin: 100px auto;
  text-align: center;
  background: white;
  padding: 32px;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .list-table thead { display: none; }
  .list-table tr { display: block; margin-bottom: 8px; border-bottom: 1px solid #eee; }
  .list-table td { display: block; border: none; padding: 4px 12px; }
}
