/* ATC 3.5.56 — large legible membership cards + accessible status messages.
   Deliberately limited to visual layout and the existing club-portal form.
   No change to prices, approval, consent, eligibility or payment processing. */

/* Status notices: the legacy CSS set WHITE text on pale-red / pale-green panels. */
body .atc-approved-design .atc-portal-shell .atc-save-message {
  display:flex!important; align-items:center!important; flex-wrap:wrap!important;
  gap:12px!important; margin:0 0 20px!important;
  padding:15px 18px!important; min-height:58px;
  background:#e9f7ef!important; border:1px solid #9bd8b6!important;
  border-left:4px solid #228259!important; border-radius:12px!important;
  color:#17563e!important; font-size:14px!important; font-weight:650!important;
  line-height:1.5!important; box-shadow:none!important;
}
body .atc-approved-design .atc-portal-shell .atc-save-message>span:not(.dashicons) {
  color:inherit!important; flex:1 1 280px!important; min-width:0!important;
}
body .atc-approved-design .atc-portal-shell .atc-save-message .dashicons{
  display:grid!important;place-items:center!important;flex:0 0 30px!important;
  width:30px!important;height:30px!important;border-radius:50%!important;
  background:#237958!important;color:white!important;font-size:18px!important;
}
body .atc-approved-design .atc-portal-shell .atc-save-message.is-error {
  background:#fff0ef!important;border:1px solid #ebb7b3!important;
  border-left:4px solid #b94038!important;color:#872a27!important;
}
body .atc-approved-design .atc-portal-shell .atc-save-message.is-error .dashicons{
  background:#bd423b!important;color:#fff!important;
}
body .atc-approved-design .atc-portal-shell .atc-notice-edit-link{
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  gap:8px!important; flex:0 0 auto!important; min-height:37px!important;
  padding:8px 13px!important;border:1px solid #b94038!important;
  background:#fff!important;color:#8c302b!important;font-size:12px!important;
  font-weight:800!important;line-height:1.3!important;text-decoration:none!important;
  border-radius:8px!important;
}
body .atc-approved-design .atc-portal-shell .atc-notice-edit-link:hover,
body .atc-approved-design .atc-portal-shell .atc-notice-edit-link:focus-visible{
  background:#fce3e1!important;outline-offset:3px!important;
}

/* More substantial cards but NOT banner-sized: two rows of balanced pricing choices. */
body .atc-approved-design .atc-portal-shell .atc-membership-step:has(.atc-membership-options){
  padding:clamp(19px,2.5vw,30px)!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-step:has(.atc-membership-options)>header{
  margin-bottom:20px!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options{
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important; align-items:stretch!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label{
  position:relative!important; box-sizing:border-box!important;
  display:grid!important; grid-template-columns:24px minmax(0,1fr)!important;
  gap:14px!important; align-items:start!important;
  min-width:0!important; min-height:143px!important;
  padding:21px!important;
  border:1.5px solid #cbdde9!important;border-radius:15px!important;
  background:#f6fafc!important;box-shadow:none!important;
  color:#193e5a!important; cursor:pointer!important;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label:hover{
  background:#eff8fd!important; border-color:#6aa8cd!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label:has(input:checked){
  background:#e8f5fc!important;border:2px solid #176eae!important;
  box-shadow:0 0 0 2px rgba(23,110,174,.09)!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label:has(input:focus-visible){
  outline:3px solid #1f79ba!important;outline-offset:3px!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options>label>input[type="radio"]{
  flex:none!important;width:19px!important;height:19px!important;min-width:19px!important;
  margin:5px 0 0!important;accent-color:#176eae!important;cursor:pointer!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option{
  display:grid!important; grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto minmax(28px,1fr)!important;gap:12px 10px!important;
  width:100%!important;min-width:0!important;align-items:start!important;
  background:transparent!important;padding:0!important;margin:0!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option>span{
  display:flex!important;flex-direction:column!important;gap:6px!important;
  min-width:0!important;grid-column:1!important;grid-row:1 / span 2!important;
  background:transparent!important;padding:0!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option strong{
  font-size:clamp(16px,1.3vw,19px)!important;line-height:1.26!important;
  font-weight:850!important;letter-spacing:-.015em!important;color:#143b58!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option small{
  font-size:clamp(12px,1vw,13px)!important;line-height:1.5!important;
  color:#4e6d83!important;margin:0!important;white-space:normal!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option b{
  display:block!important;grid-column:2!important;grid-row:1!important;
  font-size:clamp(24px,2.15vw,31px)!important;font-weight:850!important;
  line-height:1!important;color:#086aad!important;text-align:right!important;
  white-space:nowrap!important;margin:0!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option em{
  display:block!important;grid-column:2!important;grid-row:2!important;
  font-size:11px!important;line-height:1.35!important;color:#53768a!important;
  font-style:normal!important;text-align:right!important;white-space:nowrap!important;
  margin-top:0!important;
}
body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-club-approval{
  align-self:start!important;display:inline-block!important; width:max-content!important;
  max-width:100%!important;padding:4px 8px!important;border-radius:7px!important;
  background:#fff2d7!important;color:#815312!important;
  font-weight:800!important;font-size:11px!important;
}
/* Wider final card forms a deliberate full-width row instead of an orphan tile. */
@media(min-width:1000px){
  body .atc-approved-design .atc-portal-shell .atc-membership-options>label:last-child:nth-child(odd){
    grid-column:1 / -1!important;min-height:115px!important;
  }
}
@media(max-width:1050px){
  body .atc-approved-design .atc-portal-shell .atc-membership-options{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;
  }
  body .atc-approved-design .atc-portal-shell .atc-membership-options>label{
    padding:16px!important;min-height:138px!important;gap:10px!important;
  }
}
@media(max-width:750px){
  body .atc-approved-design .atc-portal-shell .atc-membership-options{grid-template-columns:1fr!important;gap:11px!important}
  body .atc-approved-design .atc-portal-shell .atc-membership-options>label{
    min-height:118px!important;padding:17px!important;grid-column:auto!important;
  }
  body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option strong{font-size:17px!important}
  body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option b{font-size:26px!important}
  body .atc-approved-design .atc-portal-shell .atc-save-message{padding:12px 13px!important}
  body .atc-approved-design .atc-portal-shell .atc-notice-edit-link{width:100%!important}
}
@media(max-width:380px){
  body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option{
    grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;
  }
  body .atc-approved-design .atc-portal-shell .atc-membership-options>label{gap:9px!important;padding:12px!important}
  body .atc-approved-design .atc-portal-shell .atc-membership-options .atc-membership-option b{font-size:23px!important}
}

.atc-portal-shell .atc-membership-tariff-list {
 display:grid;
 gap:8px;
 margin:0!important;
 padding:0!important;
 list-style:none!important;
}
.atc-portal-shell .atc-membership-tariff-list li {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 justify-content:space-between;
 gap:8px 16px;
 margin:0!important;
 padding:13px 16px!important;
 border:1px solid #dce9f2;
 border-radius:10px;
 background:#f4f8fb;
}
.atc-portal-shell .atc-membership-tariff-list strong {
 display:block;
 color:#173b59;
 font-size:16px;
 line-height:1.3;
}
.atc-portal-shell .atc-membership-tariff-list small {
 display:block;
 margin-top:3px;
 color:#45677d;
 font-size:13px;
}
.atc-portal-shell .atc-membership-tariff-price {margin-left:auto;text-align:right}
.atc-portal-shell .atc-membership-tariff-note {margin:14px 0!important;color:#45677d}
.atc-portal-shell .atc-membership-tariff-actions {display:flex;flex-wrap:wrap;gap:8px 20px}
html body .atc-portal-shell .atc-membership-tariff-actions a {
 display:inline-flex;
 align-items:center;
 gap:6px;
 min-height:44px;
 color:#175783!important;
 font-weight:700;
}

.atc-portal-shell .atc-membership-tariff-list li {padding:0!important}
html body .atc-portal-shell .atc-membership-tariff-list li > a {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 align-items:center;
 gap:8px 14px;
 width:100%;
 min-height:56px;
 padding:13px 16px!important;
 border-radius:9px;
 box-sizing:border-box;
 text-decoration:none!important;
}
.atc-portal-shell .atc-membership-tariff-list li > a:hover {background:#e8f3fa}
.atc-portal-shell .atc-membership-tariff-list li > a:focus-visible {outline:2px solid #146498;outline-offset:2px}
.atc-portal-shell .atc-membership-tariff-arrow {color:#175783}
