@charset "UTF-8";
/* USGCG Clubhouse — course-owner portal. Customer-facing (warmer than the greenskeeper
   admin chrome) but on the same brand palette. Self-contained; no build step. */
:root {
  --fairway: #006a39;
  --fairway-dark: #004d29;
  --grass: #64a330;
  --sage: #c6d1ba;
  --sage-light: #e8eddf;
  --off-white: #f7f7f4;
  --white: #fff;
  --gray-dark: #1a1a1a;
  --gray-mid: #6b6b6b;
  --gray-line: #e2e2dc;
  --gray-soft: #767676; /* 4.5:1 on white (a11y) */
  --error: #c0392b;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: var(--fairway);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 0.4em;
  line-height: 1.25;
}

/* ── top bar (signed-in chrome) ── */
.ch-topbar {
  background: var(--fairway-dark);
}

.ch-topbar .wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ch-topbar .brand img {
  height: 30px;
  width: auto;
  display: block;
}

.ch-topbar nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.ch-topbar nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
}

.ch-topbar nav a:hover,
.ch-topbar nav a.on {
  color: #fff;
  text-decoration: none;
}

.ch-topbar nav .who {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* hamburger + offcanvas backdrop (hidden until mobile) */
.ch-navtoggle {
  display: none;
  position: relative;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 65;
}

.ch-navtoggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.ch-navtoggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ch-navtoggle.open span:nth-child(2) {
  opacity: 0;
}

.ch-navtoggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ch-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 55;
}

.ch-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.ch-head {
  margin-bottom: 22px;
}

.ch-head h1 {
  font-size: 24px;
  font-weight: 700;
}

.ch-head p {
  margin: 0;
  color: var(--gray-mid);
  font-size: 14px;
}

/* ── cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-line);
}

.card-head h2 {
  font-size: 16px;
  margin: 0;
}

.card-body {
  padding: 20px;
}

.muted {
  color: var(--gray-mid);
  font-size: 13.5px;
}

.help {
  color: var(--gray-soft);
  font-size: 13px;
}

/* ── forms ── */
label.f {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 5px;
}

.input,
select.input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  background: var(--white);
}

.input:focus {
  outline: none;
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(100, 163, 48, 0.15);
}

.field {
  margin-bottom: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--fairway);
  color: #fff;
}

.btn-primary:hover {
  background: var(--fairway-dark);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--gray-line);
  color: var(--gray-dark);
}

.btn-ghost:hover {
  background: var(--off-white);
  text-decoration: none;
}

.btn-danger {
  background: var(--error);
  color: #fff;
}

.btn-danger:hover {
  background: #a93226;
  text-decoration: none;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── alerts ── */
.alert {
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.alert-err {
  background: #fdeeec;
  border: 1px solid #e6b0aa;
  color: var(--error);
}

.alert-ok {
  background: #eaf3de;
  border: 1px solid #a9dfbf;
  color: #3b6d11;
}

.alert-warn {
  background: #fff7e0;
  border: 1px solid #f0dca0;
  color: #8a6d00;
}

/* ── claim/status badges ── */
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.b-pending {
  background: #fff7e0;
  color: #8a6d00;
}

.b-active {
  background: #eaf3de;
  color: #3b6d11;
}

.b-rejected {
  background: #fdeeec;
  color: var(--error);
}

.b-expired,
.b-cancelled {
  background: #eee;
  color: #666;
}

.b-enhanced {
  background: #e6f1fb;
  color: #185fa5;
}

.b-premium {
  background: #faeeda;
  color: #854f0b;
}

.b-comped {
  background: #e8e3f7;
  color: #4b3a8f;
}

.invite-course-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
}

.invite-course-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-line);
  font-size: 14px;
}

/* ── claim list ── */
.claim {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-line);
}

.claim:last-child {
  border-bottom: 0;
}

.claim .meta {
  flex: 1;
  min-width: 0;
}

.claim .meta .name {
  font-weight: 600;
  font-size: 15px;
}

.claim .meta .loc {
  color: var(--gray-mid);
  font-size: 13px;
}

.claim .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── tier picker (claim form) ── */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 6px 0 16px;
}

.tier-opt {
  position: relative;
}

.tier-opt input {
  position: absolute;
  opacity: 0;
}

.tier-opt label {
  display: block;
  border: 1.5px solid var(--gray-line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
}

.tier-opt input:checked + label {
  border-color: var(--grass);
  background: var(--sage-light);
}

.tier-opt .t-name {
  font-weight: 700;
}

.tier-opt .t-price {
  color: var(--fairway);
  font-weight: 700;
  font-size: 18px;
}

.tier-opt .t-price span {
  color: var(--gray-mid);
  font-weight: 500;
  font-size: 12px;
}

/* ── autocomplete ── */
.ac-wrap {
  position: relative;
}

.ac-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.ac-list.on {
  display: block;
}

.ac-item {
  padding: 10px 13px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-line);
}

.ac-item:last-child {
  border-bottom: 0;
}

.ac-item:hover,
.ac-item.sel {
  background: var(--sage-light);
}

.ac-item .ac-loc {
  color: var(--gray-mid);
  font-size: 12.5px;
}

.ac-chosen {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--grass);
  background: var(--sage-light);
  border-radius: 8px;
}

.ac-chosen.on {
  display: flex;
}

.ac-chosen .x {
  margin-left: auto;
  cursor: pointer;
  color: var(--gray-mid);
  font-weight: 700;
}

/* ── claim edit form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1/-1;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.amenity input {
  width: 16px;
  height: 16px;
}

.scorecard-wrap {
  overflow-x: auto;
}

.scorecard-edit {
  width: auto;
  border-collapse: collapse;
  font-size: 13px;
}

.scorecard-edit th {
  background: var(--off-white);
  color: var(--gray-mid);
  font-weight: 600;
  padding: 6px 8px;
  border: 1px solid var(--gray-line);
  text-align: center;
}

.scorecard-edit td {
  padding: 2px;
  border: 1px solid var(--gray-line);
}

.scorecard-edit td input {
  width: 42px;
  border: 0;
  padding: 6px 4px;
  text-align: center;
  font: inherit;
  font-size: 13px;
}

.scorecard-edit td input:focus {
  outline: 2px solid var(--grass);
}

/* ── photo upload slots (manage listing) ── */
.photo-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.photo-slots .slot {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .photo-slots {
    grid-template-columns: 1fr;
  }
}
/* ── gallery manager (owner + admin reuse the same classes) ── */
.gallery-manage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.gallery-manage--item {
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.gallery-manage--item[data-photo-id] {
  cursor: grab;
}

.gallery-manage--item.is-dragging {
  opacity: 0.45;
}

.gallery-manage--item img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.gallery-manage--meta {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-manage--actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.gallery-manage--actions form {
  display: inline;
}

.gallery-manage--actions .btn {
  padding: 4px 9px;
  font-size: 12px;
}

/* ── Stripe stub ── */
.card-stub {
  border: 1.5px dashed var(--gray-line);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
  color: var(--gray-mid);
  background: #fbfbf9;
}

/* ── auth screens ── */
body.auth {
  background: var(--fairway-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-wrap {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  display: block;
  margin: 0 auto 24px;
  height: 42px;
  width: auto;
}

.auth-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  padding: 30px 32px 28px;
}

.auth-card h1 {
  font-size: 20px;
  margin-bottom: 4px;
}

.auth-card .sub {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.auth-card .btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
}

.auth-foot {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.auth-foot a {
  color: #fff;
  text-decoration: underline;
}

/* the signed-in name is variable width, so keep it inline only where there's real room — it still shows in the drawer */
@media (max-width: 991px) {
  .ch-topbar nav .who {
    display: none;
  }
}
@media (max-width: 768px) {
  /* topbar links collapse into a right-side offcanvas drawer */
  .ch-navtoggle {
    display: flex;
  }
  .ch-topbar nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 300px);
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--fairway-dark);
    padding: 70px 22px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
    z-index: 60;
    overflow-y: auto;
  }
  .ch-topbar nav.open {
    transform: translateX(0);
  }
  .ch-topbar nav a {
    font-size: 16px;
    padding: 10px 0;
  }
  .ch-topbar nav .who {
    display: block;
    font-size: 13px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}
@media (max-width: 640px) {
  .tiers {
    grid-template-columns: 1fr;
  }
  .claim {
    flex-wrap: wrap;
  }
}

/*# sourceMappingURL=clubhouse.css.map */
