.members-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #d18814;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.members-section {
  margin-bottom: 1.5rem;
  text-align: center;
}
.members-group {
  font-size: 1.2rem;
  font-weight: 600;
  color: #c85b22;
  margin-bottom: 0.5rem;
}
.members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
  justify-content: space-evenly;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.members-list li {
  background: #fdfcf8;
  border-radius: 0.75rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  color: #222;
  box-shadow: 0 2px 8px #f9c97c;
  transition: background 0.2s;
  flex: 1 1 160px;
  max-width: 14rem;
  min-width: 14rem;
  box-sizing: border-box;
}
.members-list li:hover {
  background: #fdedcb;
}

/* ── Quick-add dialog ───────────────────────────────────────── */
.quick-dialog {
  border: none;
  border-radius: 1.25rem;
  padding: 0;
  width: min(96vw, 1080px);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.quick-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
}

/* × close button – direct child of <dialog> */
.quick-dialog > button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  z-index: 10;
}

.quick-dialog > button:hover {
  background: #f0f0f0;
  color: #333;
}

/* Content wrapper: turbo-frame > div */
.quick-dialog turbo-frame > div {
  position: relative;
  padding: 2rem 2rem 1.75rem;
}

.quick-dialog h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 1.5rem;
}

/* Validation errors list */
.quick-dialog ul.errors {
  background: #fff0ef;
  color: #c0392b;
  border-radius: 0.6rem;
  padding: 0.6rem 1rem 0.6rem 1.8rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

/* Login error paragraph */
.quick-dialog p.error {
  background: #fff0ef;
  color: #c0392b;
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

/* Steps */
.quick-dialog ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-dialog ol > li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

/* Step number badge */
.quick-dialog ol > li > span {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: #f9c97c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #222;
  margin-top: 0.15rem;
}

/* Step body */
.quick-dialog ol > li > div {
  flex: 1;
}

/* Step title label (first label in step body) */
.quick-dialog ol > li > div > label:first-child {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.4rem;
}

/* All text-like inputs and textarea */
.quick-dialog input:not([type="checkbox"]):not([type="file"]):not([type="submit"]),
.quick-dialog textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
  display: block;
}

.quick-dialog input:not([type="checkbox"]):not([type="file"]):not([type="submit"]):focus,
.quick-dialog textarea:focus {
  outline: none;
  border-color: #f9c97c;
  box-shadow: 0 0 0 3px rgba(249, 201, 124, 0.3);
}

.quick-dialog textarea {
  resize: vertical;
}

/* File upload label */
.quick-dialog label:has(> input[type="file"]) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #fdfcf8;
  border: 1.5px dashed #ccc;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: #555;
  margin-top: 0.1rem;
}

.quick-dialog label:has(> input[type="file"]):hover {
  border-color: #f9c97c;
  background: #fffbf0;
}

.quick-dialog input[type="file"] {
  display: none;
}

/* Checkbox toggle (featured) */
.quick-dialog label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
  margin-top: 0.25rem;
}

/* Submit */
.quick-dialog [type="submit"] {
  margin-top: 1.5rem;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: #f9c97c;
  color: #222;
  display: block;
}

.quick-dialog [type="submit"]:hover {
  background: #f7b84e;
}

/* Success close button (inside content div) */
.quick-dialog turbo-frame > div > button {
  margin-top: 0.75rem;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid #ddd;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
}

/* Toast notification */
.quick-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: rgba(34, 34, 34, 0.95);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  z-index: 9000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quick-toast--hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(0.75rem);
}

  border: none;
  border-radius: 1.25rem;
  padding: 0;
  width: min(96vw, 1080px);
