.cz-member-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.cz-member-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cz-member-kicker {
  color: #F47B20;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.cz-member-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.cz-member-sub {
  color: #6b7280;
  max-width: 36rem;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cz-member-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .cz-member-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.cz-member-plans {
  display: grid;
  gap: 1rem;
}
.cz-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cz-plan-card:hover {
  border-color: #fdba74;
}
.cz-plan-card.is-selected {
  border-color: #F47B20;
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.15);
}
.cz-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cz-plan-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
}
.cz-plan-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #F47B20;
  letter-spacing: -0.02em;
}
.cz-plan-price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 0.15rem;
}
.cz-plan-period {
  font-size: 0.8rem;
  color: #9ca3af;
}
.cz-member-forms {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.cz-member-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.cz-member-tab {
  flex: 1;
  border: 0;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem;
  border-radius: 0.65rem;
  cursor: pointer;
}
.cz-member-tab.is-on {
  background: #111;
  color: #fff;
}
.cz-member-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}
.cz-member-form input,
.cz-ad-input {
  border: 1px solid #d1d5db;
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  width: 100%;
  background: #fff;
  font-family: inherit;
}
.cz-member-form input:focus,
.cz-ad-input:focus {
  outline: 2px solid rgba(244, 123, 32, 0.35);
  border-color: #F47B20;
}
.cz-member-form-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 0.9rem;
}
.cz-forgot-link {
  border: 0;
  background: none;
  color: #F47B20;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.cz-forgot-link:hover {
  text-decoration: underline;
}
.cz-forgot-help {
  margin: 0 0 1rem;
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.45;
}
.cz-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: #F47B20;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.cz-member-btn:hover {
  background: #d86612;
  color: #fff;
}
.cz-member-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.cz-member-btn-ghost {
  background: #f3f4f6;
  color: #111;
}
.cz-member-btn-ghost:hover {
  background: #e5e7eb;
  color: #111;
}
.cz-member-btn-inline {
  width: auto;
  min-width: 140px;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.cz-member-msg {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: #b91c1c;
}
.cz-member-msg.is-ok {
  color: #15803d;
}
.cz-member-empty {
  text-align: center;
  color: #6b7280;
}

/* —— Member account dashboard —— */
.cz-account-dash-body {
  background: #f3f4f6;
}
.cz-account-dash {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 120px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.cz-ad-side {
  background: #0b3d1e;
  color: #fff;
  border-radius: 18px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 520px;
  box-shadow: 0 16px 40px rgba(11, 61, 30, 0.22);
}
.cz-ad-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cz-ad-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #F47B20, #c8973a);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cz-ad-profile strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}
.cz-ad-profile span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  word-break: break-all;
}
.cz-ad-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.cz-ad-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.cz-ad-nav a:hover,
.cz-ad-nav a.is-on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.cz-ad-nav a.is-on {
  background: #0f8b3a;
}
.cz-ad-side-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cz-ad-side-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.cz-ad-side-foot a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.cz-ad-side-foot a.is-danger:hover {
  background: rgba(185, 28, 28, 0.25);
  color: #fecaca;
}
.cz-ad-main {
  padding: 0 0 0 1.5rem;
  min-width: 0;
}
.cz-ad-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}
.cz-ad-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F47B20;
  font-weight: 700;
}
.cz-ad-top h1 {
  margin: 4px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.1;
  color: #111;
}
.cz-ad-plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.45rem 0.75rem 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 24, 40, 0.04);
}
.cz-ad-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.cz-ad-stat {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(15, 24, 40, 0.04);
}
.cz-ad-stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}
.cz-ad-stat strong {
  font-size: 1.15rem;
  color: #111;
}
.cz-ad-price {
  color: #F47B20 !important;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800 !important;
}
.cz-ad-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(15, 24, 40, 0.04);
}
.cz-ad-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.cz-ad-card-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.cz-ad-card-head p {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}
.cz-ad-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ecfdf3;
  color: #0f8b3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cz-ad-badge-orange {
  background: #fff7ed;
  color: #F47B20;
}
.cz-ad-sub-box {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #ecfdf3 0%, #fff7ed 100%);
  border: 1px solid #d1fae5;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.cz-ad-sub-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.cz-ad-sub-name {
  margin: 0.25rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}
.cz-ad-sub-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
}
.cz-ad-sub-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.cz-ad-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cz-ad-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cz-ad-plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  min-height: 170px;
}
.cz-ad-plan.is-current {
  border-color: #0f8b3a;
  background: linear-gradient(180deg, #ecfdf3, #fff);
}
.cz-ad-plan h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}
.cz-ad-plan-price {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #F47B20;
  letter-spacing: -0.02em;
}
.cz-ad-plan-price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 0.15rem;
}
.cz-ad-plan-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}
.cz-ad-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.15s, background 0.15s;
}
.cz-ad-quick a:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #9a3412;
}
.cz-ad-form {
  max-width: 420px;
}
.cz-ad-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cz-ad-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #6b7280;
}
.cz-ad-empty h2 {
  margin: 0.75rem 0 0.35rem;
  color: #111;
  font-size: 1.25rem;
}
.cz-ad-empty p {
  margin: 0 0 1.25rem;
}
.cz-ad-empty svg {
  margin: 0 auto;
  color: #F47B20;
}
.cz-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cz-status-pill-past_due {
  background: #fff7ed;
  color: #c2410c;
}
.cz-status-pill-active {
  background: #dcfce7;
  color: #166534;
}
.cz-status-pill-inactive,
.cz-status-pill-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 900px) {
  .cz-account-dash {
    grid-template-columns: 1fr;
    padding: 1rem 1rem 2.5rem;
  }
  .cz-ad-side {
    position: static;
    min-height: 0;
    border-radius: 14px;
  }
  .cz-ad-main {
    padding: 1.15rem 0 0;
  }
  .cz-ad-stats {
    grid-template-columns: 1fr 1fr;
  }
  .cz-ad-quick {
    grid-template-columns: 1fr;
  }
  .cz-ad-plans {
    grid-template-columns: 1fr;
  }
  .cz-ad-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cz-ad-nav a {
    flex: 1 1 auto;
  }
  .cz-ad-side-foot {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .cz-ad-stats {
    grid-template-columns: 1fr;
  }
}

/* Clover iframe card form on membership signup */
.cz-clover-box {
  margin: 0 0 1.1rem;
  padding: 1rem 1rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #fafafa;
}
.cz-clover-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}
.cz-clover-hint {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.4;
}
.cz-clover-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cz-clover-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 0.55rem;
}
.cz-clover-field span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
}
.cz-clover-element {
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 0.65rem;
  background: #fff;
}
.cz-clover-errors {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
  font-weight: 600;
}
.cz-ad-past-due {
  border-color: #fdba74;
  background: #fff7ed;
}
.cz-ad-past-due h2 {
  margin: 0 0 0.4rem;
  color: #c2410c;
  font-size: 1.1rem;
}
.cz-ad-past-due p {
  margin: 0 0 0.9rem;
  color: #9a3412;
  font-size: 0.9rem;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .cz-clover-row {
    grid-template-columns: 1fr;
  }
}
