/* Affiliate Choice Membership v0.43: Join and Log in page.
   Scoped to .ac-account-shell so nothing leaks into the rest of the site, and
   specific enough to sit above the Newspaper theme's WooCommerce styling. */

.ac-account-shell{
  --ac-ink:#0F2A33;--ac-ink-2:#163844;--ac-petrol:#0A7A8E;--ac-teal:#10c0df;--ac-teal-dark:#0DAAC6;
  --ac-teal-soft:#C4EFF7;--ac-mist:#EEF5F4;--ac-line:#D7E3E2;--ac-muted:#52696F;--ac-white:#fff;--ac-error:#B42318;
  --ac-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --ac-sans:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  display:block;background:var(--ac-mist);color:var(--ac-ink);font-family:var(--ac-sans);font-size:16px;line-height:1.55;
  padding:clamp(28px,5vw,64px) 0 clamp(48px,7vw,96px);-webkit-font-smoothing:antialiased
}
.ac-account-shell:focus{outline:none}
.ac-account-shell *,.ac-account-shell *::before,.ac-account-shell *::after{box-sizing:border-box}
.ac-account-shell .ac-account-inner{width:min(1080px,calc(100% - 40px));margin:0 auto}
.ac-account-shell .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ac-account-shell a{color:var(--ac-petrol);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:var(--ac-teal-soft)}
.ac-account-shell a:hover{color:var(--ac-ink);text-decoration-color:var(--ac-teal)}
.ac-account-shell :focus-visible{outline:2px solid var(--ac-teal);outline-offset:3px}

/* Layout: one object in two halves, pitch on the left, form on the right */
.ac-account-shell .ac-join{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-areas:"pitch card";border-radius:16px;overflow:hidden;background:var(--ac-white);box-shadow:0 1px 0 var(--ac-line),0 30px 60px -34px rgba(15,42,51,.35)}
.ac-account-shell .ac-join-card{grid-area:card;padding:clamp(28px,4.2vw,52px);min-width:0}
.ac-account-shell .ac-join-pitch{grid-area:pitch;background:var(--ac-ink);color:#E6EFF1;padding:clamp(28px,4.2vw,52px);display:flex;flex-direction:column;gap:30px;min-width:0}

/* Pitch */
.ac-account-shell .ac-pitch-title{margin:0;font-family:var(--ac-serif);font-weight:600;font-size:clamp(28px,3.1vw,38px);line-height:1.1;letter-spacing:-.015em;color:var(--ac-white)}
.ac-account-shell .ac-price-tag{margin:0;display:grid;grid-template-columns:1fr auto;grid-template-areas:"item was" "now now" "label label";align-items:baseline;gap:2px 16px;padding:22px 24px 20px;border:1px solid rgba(255,255,255,.14);border-left:4px solid var(--ac-teal);border-radius:10px;background:rgba(255,255,255,.035)}
.ac-account-shell .ac-price-item{grid-area:item;font-size:14px;font-weight:600;color:#E6EFF1}
.ac-account-shell .ac-price-was{grid-area:was;font-size:15px;color:#8FA3A9}
.ac-account-shell .ac-price-was del{text-decoration-thickness:1.5px;color:inherit}
.ac-account-shell .ac-price-now{grid-area:now;margin-top:6px;font-family:var(--ac-serif);font-weight:600;font-size:clamp(46px,5vw,60px);line-height:1;letter-spacing:-.02em;color:var(--ac-teal)}
.ac-account-shell .ac-price-now .woocommerce-Price-amount,.ac-account-shell .ac-price-was .woocommerce-Price-amount{color:inherit;font:inherit}
.ac-account-shell .ac-price-label{grid-area:label;margin-top:6px;font-size:13px;color:#A9BCC1}
.ac-account-shell .ac-benefits{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.ac-account-shell .ac-benefits li{margin:0;padding:0 0 0 26px;position:relative;display:grid;gap:2px}
.ac-account-shell .ac-benefits li::before{content:"";position:absolute;left:0;top:.72em;width:14px;height:2px;background:var(--ac-teal)}
.ac-account-shell .ac-benefits strong{font-size:16px;font-weight:600;color:var(--ac-white)}
.ac-account-shell .ac-benefits span{font-size:14.5px;line-height:1.5;color:#B8C8CC}
.ac-account-shell .ac-pitch-foot{margin:auto 0 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:13.5px;color:#8FA3A9}

/* Tabs */
.ac-account-shell .ac-join-tabs{display:grid;grid-template-columns:1fr 1fr;margin:0 0 30px;border-bottom:1px solid var(--ac-line)}
.ac-account-shell .ac-join-tabs[hidden]{display:none}
.ac-account-shell .ac-join-tabs button{appearance:none;background:none!important;border:0;border-bottom:3px solid transparent;margin:0 0 -1px;padding:0 4px 14px;font:600 15.5px/1.2 var(--ac-sans);color:var(--ac-muted);cursor:pointer;text-transform:none;letter-spacing:0;box-shadow:none;border-radius:0}
.ac-account-shell .ac-join-tabs button:hover{color:var(--ac-ink)}
.ac-account-shell .ac-join-tabs button[aria-selected="true"]{color:var(--ac-ink);border-bottom-color:var(--ac-teal)}
.ac-account-shell .ac-join-panel[hidden]{display:none}
.ac-account-shell .ac-join:not(.is-tabbed) .ac-join-panel+.ac-join-panel{margin-top:44px;padding-top:36px;border-top:1px solid var(--ac-line)}

.ac-account-shell .ac-join-title{margin:0;font-family:var(--ac-serif);font-weight:600;font-size:clamp(28px,3vw,34px);line-height:1.12;letter-spacing:-.015em;color:var(--ac-ink)}
.ac-account-shell .ac-join-lead{margin:8px 0 26px;color:var(--ac-muted);font-size:15.5px}

/* Fields */
.ac-account-shell .ac-form{margin:0;padding:0;border:0;display:grid;gap:18px}
.ac-account-shell .ac-form .form-row,.ac-account-shell .ac-form .ac-field{margin:0!important;padding:0!important;width:auto!important;float:none!important;display:grid;gap:7px}
.ac-account-shell .ac-form label{display:block;margin:0;font-size:14px;font-weight:600;line-height:1.3;color:var(--ac-ink)}
.ac-account-shell .ac-form label .required{display:none}
.ac-account-shell .ac-optional{font-weight:400;color:var(--ac-muted)}
.ac-account-shell .ac-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ac-account-shell .ac-forgot{font-size:13.5px;font-weight:500}
.ac-account-shell .ac-form input.input-text,
.ac-account-shell .ac-form input[type="text"],
.ac-account-shell .ac-form input[type="email"],
.ac-account-shell .ac-form input[type="password"],
.ac-account-shell .ac-form input[type="date"],
.ac-account-shell .woocommerce-ResetPassword input.input-text{
  width:100%!important;height:48px!important;min-height:48px;margin:0!important;padding:0 14px!important;border:1.5px solid var(--ac-line)!important;border-radius:8px!important;
  background:var(--ac-white)!important;color:var(--ac-ink)!important;font:400 16px/1.2 var(--ac-sans)!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s
}
.ac-account-shell .ac-form input.input-text:hover{border-color:#B9CCCB!important}
.ac-account-shell .ac-form input.input-text:focus,.ac-account-shell .woocommerce-ResetPassword input.input-text:focus{outline:none;border-color:var(--ac-teal)!important;box-shadow:0 0 0 3px var(--ac-teal-soft)!important}
.ac-account-shell .password-input{display:block;position:relative;width:100%}
.ac-account-shell .password-input input.input-text{padding-right:48px!important}
.ac-account-shell .show-password-input{position:absolute;top:0;right:0;width:46px;height:48px;margin:0;padding:0;border:0;background-color:transparent!important;color:var(--ac-muted);cursor:pointer;display:grid;place-items:center}
.ac-account-shell .show-password-input::after{color:var(--ac-muted)}
.ac-account-shell .woocommerce-password-strength{margin-top:8px;padding:6px 10px;border-radius:6px;font-size:13px;font-weight:600;text-align:left}
.ac-account-shell .woocommerce-password-hint{display:block;margin-top:6px;font-size:13px;line-height:1.45;color:var(--ac-muted)}
.ac-account-shell .ac-note{margin:0;font-size:14px;color:var(--ac-muted)}

/* Checkboxes */
.ac-account-shell .ac-checks{display:grid;gap:10px;margin-top:2px}
.ac-account-shell .ac-form label.ac-check{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;font-weight:400;line-height:1.4;cursor:pointer}
.ac-account-shell .ac-check input[type="checkbox"]{flex:none;width:18px;height:18px;margin:1px 0 0!important;accent-color:var(--ac-petrol);cursor:pointer}
.ac-account-shell .ac-remember{margin-top:-4px}

/* Privacy text, reCAPTCHA and anything else plugins add */
.ac-account-shell .woocommerce-privacy-policy-text,.ac-account-shell .woocommerce-privacy-policy-text p{margin:0;font-size:13px;line-height:1.5;color:var(--ac-muted)}
.ac-account-shell .ac-form .g-recaptcha,.ac-account-shell .ac-form iframe{max-width:100%}

/* Button */
.ac-account-shell .ac-actions{margin-top:4px!important}
.ac-account-shell .ac-form button.ac-button,.ac-account-shell .woocommerce-ResetPassword button.button{
  appearance:none;width:100%;height:52px;margin:0;padding:0 20px;border:0!important;border-radius:8px!important;
  background:var(--ac-teal)!important;color:var(--ac-ink)!important;font:600 16px/1 var(--ac-sans)!important;letter-spacing:0;text-transform:none;
  box-shadow:none!important;cursor:pointer;transition:background-color .15s
}
.ac-account-shell .ac-form button.ac-button:hover,.ac-account-shell .woocommerce-ResetPassword button.button:hover{background:var(--ac-teal-dark)!important}
.ac-account-shell .ac-form button.ac-button:disabled{opacity:.55;cursor:not-allowed}
.ac-account-shell .ac-switch{margin:22px 0 0;text-align:center;font-size:14.5px;color:var(--ac-muted)}

/* WooCommerce notices above the card */
.ac-account-shell .woocommerce-notices-wrapper:empty{display:none}
.ac-account-shell .woocommerce-error,.ac-account-shell .woocommerce-message,.ac-account-shell .woocommerce-info{
  list-style:none;margin:0 0 18px!important;padding:14px 18px 14px 20px!important;border:1px solid var(--ac-line);border-left:4px solid var(--ac-teal);border-radius:10px;background:var(--ac-white);color:var(--ac-ink);font-size:15px;line-height:1.5
}
.ac-account-shell .woocommerce-error{border-left-color:var(--ac-error)}
.ac-account-shell .woocommerce-error li{margin:0;padding:0}
.ac-account-shell .woocommerce-error::before,.ac-account-shell .woocommerce-message::before,.ac-account-shell .woocommerce-info::before{display:none}

/* Lost and reset password pages share the shell */
.ac-account-shell .woocommerce-ResetPassword,.ac-account-shell .woocommerce-account-lost-password-confirmation{
  max-width:520px;margin:0 auto;padding:clamp(28px,4vw,44px);background:var(--ac-white);border-radius:16px;box-shadow:0 1px 0 var(--ac-line),0 30px 60px -34px rgba(15,42,51,.35);display:grid;gap:18px
}
.ac-account-shell .woocommerce-ResetPassword>p:first-child{margin:0;font-size:15.5px;color:var(--ac-muted)}
.ac-account-shell .woocommerce-ResetPassword .form-row{margin:0!important;padding:0!important;width:auto!important;float:none!important;display:grid;gap:7px}
.ac-account-shell .woocommerce-ResetPassword label{font-size:14px;font-weight:600}
.ac-account-shell .woocommerce-ResetPassword .clear{display:none}

/* Tablet and phone: form first, then the reasons to join */
@media (max-width:900px){
  .ac-account-shell .ac-join{grid-template-columns:1fr;grid-template-areas:"card" "pitch"}
  .ac-account-shell .ac-join-pitch{gap:24px}
  .ac-account-shell .ac-pitch-foot{margin-top:0}
}
@media (max-width:520px){
  .ac-account-shell{padding-top:16px}
  .ac-account-shell .ac-account-inner{width:calc(100% - 24px)}
  .ac-account-shell .ac-join{border-radius:12px}
  .ac-account-shell .ac-join-card,.ac-account-shell .ac-join-pitch{padding:24px 20px}
  .ac-account-shell .ac-join-tabs{margin-bottom:24px}
}
@media (prefers-reduced-motion:reduce){
  .ac-account-shell *{transition:none!important}
}

/* v0.44: date of birth */
.ac-account-shell .ac-form input[type="date"]{appearance:none;-webkit-appearance:none;line-height:48px!important}
.ac-account-shell .ac-form input[type="date"]::-webkit-calendar-picker-indicator{opacity:.6;cursor:pointer}
.ac-account-shell .ac-hint{font-size:13px;line-height:1.4;color:var(--ac-muted)}
