:root {
  --scc-auth-yellow: #ffb400;
  --scc-auth-yellow-dark: #d89300;
  --scc-auth-black: #111111;
  --scc-auth-text: #202124;
  --scc-auth-muted: #70747d;
  --scc-auth-border: #e6e7eb;
}

body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) .page-header,
body.woocommerce-account:not(.logged-in) h1.entry-title {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) .entry-content {
  overflow: visible;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce-info {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 22px auto 0 !important;
  padding: 15px 54px 15px 20px !important;
  border: 1px solid #f0d0d3 !important;
  border-radius: 14px;
  background: #fff7f7 !important;
  color: #5e2328 !important;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  line-height: 1.9;
}

/* Partner registration confirmation: prominent on desktop and mobile. */
body.woocommerce-account .scc-partner-registration-banner {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  width: 100%;
  margin: 0 0 24px;
  padding: 20px 24px;
  gap: 16px;
  border: 2px solid var(--scc-auth-yellow);
  border-radius: 16px;
  background: linear-gradient(110deg, #fff8df 0%, #fff 72%);
  color: var(--scc-auth-black);
  box-shadow: 0 12px 30px rgba(216, 143, 0, 0.16);
  direction: rtl;
}

body.woocommerce-account .scc-partner-registration-banner__icon {
  display: inline-grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--scc-auth-yellow);
  color: var(--scc-auth-black);
  font-family: Arial, sans-serif !important;
  font-size: 29px;
  place-items: center;
  line-height: 1;
}

body.woocommerce-account .scc-partner-registration-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
}

body.woocommerce-account .scc-partner-registration-banner__copy strong,
body.woocommerce-account .scc-partner-registration-banner__copy p {
  display: block;
  margin: 0;
}

body.woocommerce-account .scc-partner-registration-banner__copy strong {
  color: var(--scc-auth-black);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
}

body.woocommerce-account .scc-partner-registration-banner__copy p {
  margin-top: 3px;
  color: #5a430d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

body.woocommerce-account .scc-partner-registration-banner__call {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--scc-auth-black);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-account .scc-partner-registration-banner__call > span:first-child {
  font-family: Arial, sans-serif !important;
  font-size: 20px;
  line-height: 1;
}

body.woocommerce-account .scc-partner-registration-banner__call:hover,
body.woocommerce-account .scc-partner-registration-banner__call:focus-visible {
  background: var(--scc-auth-yellow-dark);
  color: var(--scc-auth-black) !important;
  transform: translateY(-1px);
}

.scc-auth-shell,
.scc-auth-shell * {
  box-sizing: border-box;
}

.scc-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 28px auto 56px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.12);
  color: var(--scc-auth-text);
  font-family: "Sahel", "Sahel FD", Tahoma, sans-serif !important;
}

.scc-auth-shell input,
.scc-auth-shell button,
.scc-auth-shell textarea,
.scc-auth-shell select,
.scc-auth-shell label,
.scc-auth-shell a,
.scc-auth-shell p,
.scc-auth-shell span,
.scc-auth-shell h1,
.scc-auth-shell h2,
.scc-auth-shell li,
.scc-auth-shell small,
.scc-auth-shell strong {
  font-family: "Sahel", "Sahel FD", Tahoma, sans-serif !important;
}

.scc-auth-story {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  padding: 40px 42px 34px;
  overflow: hidden;
  flex-direction: column;
  background:
    linear-gradient(155deg, rgba(255, 180, 0, 0.07), transparent 38%),
    #111;
  color: #fff;
}

.scc-auth-story::before {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -72px;
  content: "KATOONI";
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(70px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -8px;
  line-height: 1;
  transform: rotate(-90deg) translateX(24%);
  transform-origin: right bottom;
  white-space: nowrap;
}

.scc-auth-story__glow {
  position: absolute;
  z-index: -2;
  top: 110px;
  left: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 180, 0, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.16), transparent 68%);
}

.scc-auth-story__glow::after {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px solid rgba(255, 180, 0, 0.12);
  border-radius: inherit;
}

.scc-auth-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  color: #fff !important;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.scc-auth-brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--scc-auth-yellow);
  color: #111;
  font-size: 26px;
  font-weight: 900;
  place-items: center;
  transform: skew(-7deg);
}

.scc-auth-brand strong,
.scc-auth-brand small {
  display: block;
}

.scc-auth-brand strong {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
}

.scc-auth-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.scc-auth-story__content {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 56px 0 38px;
}

.scc-auth-eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 180, 0, 0.26);
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  color: #ffd46d;
  font-size: 12px;
  font-weight: 700;
}

.scc-auth-story h1 {
  margin: 20px 0 14px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.25;
}

.scc-auth-story h1 em {
  color: var(--scc-auth-yellow);
  font-style: normal;
}

.scc-auth-story__content > p {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  line-height: 2;
}

.scc-auth-benefits {
  display: grid;
  margin: 26px 0 28px !important;
  padding: 0 !important;
  gap: 12px;
  list-style: none !important;
}

.scc-auth-benefits li {
  display: flex;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  align-items: center;
  gap: 11px;
}

.scc-auth-benefits li > span {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 180, 0, 0.2);
  border-radius: 10px;
  background: rgba(255, 180, 0, 0.08);
  color: var(--scc-auth-yellow);
  flex: 0 0 auto;
  place-items: center;
}

.scc-auth-benefits svg,
.scc-auth-secondary svg,
.scc-auth-safe svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.scc-auth-secondary {
  display: inline-flex !important;
  min-height: 48px;
  padding: 0 20px !important;
  border: 1px solid rgba(255, 180, 0, 0.65) !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--scc-auth-yellow) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: 0.25s ease;
}

.scc-auth-secondary:hover {
  background: var(--scc-auth-yellow) !important;
  color: #111 !important;
  transform: translateY(-2px);
}

.scc-auth-registration-off {
  padding: 12px 14px;
  border-right: 3px solid var(--scc-auth-yellow);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
}

.scc-auth-story__foot {
  display: flex;
  color: rgba(255, 255, 255, 0.43);
  font-size: 11px;
  align-items: center;
  gap: 9px;
}

.scc-auth-story__foot span {
  width: 20px;
  height: 2px;
  background: var(--scc-auth-yellow);
}

.scc-auth-main {
  display: flex;
  min-width: 0;
  padding: 58px clamp(34px, 5vw, 76px) 32px;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 95% 4%, rgba(255, 180, 0, 0.09), transparent 23%),
    #fff;
}

.scc-auth-heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--scc-auth-yellow-dark);
  font-size: 12px;
  font-weight: 800;
}

.scc-auth-heading h2 {
  margin: 0 0 8px;
  color: var(--scc-auth-black);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.3;
}

.scc-auth-heading p {
  margin: 0;
  color: var(--scc-auth-muted);
  font-size: 14px;
  line-height: 1.9;
}

.scc-auth-forms {
  margin-top: 30px;
}

.scc-account-type {
  min-width: 0;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

.scc-account-type legend {
  margin-bottom: 5px;
  color: #2f3135;
  font-size: 14px;
  font-weight: 900;
}

.scc-account-type__hint {
  margin: 0 0 12px !important;
  color: var(--scc-auth-muted);
  font-size: 11px;
  line-height: 1.8;
}

.scc-account-type__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scc-account-type__option {
  position: relative;
  display: block !important;
  margin: 0 !important;
  cursor: pointer;
}

.scc-account-type__option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scc-account-type__card {
  display: grid;
  min-height: 92px;
  padding: 13px;
  border: 1.5px solid var(--scc-auth-border);
  border-radius: 13px;
  background: #fafafa;
  color: var(--scc-auth-text);
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  transition: 0.22s ease;
}

.scc-account-type__option:hover .scc-account-type__card {
  border-color: rgba(255, 180, 0, 0.62);
  background: #fffdf7;
}

.scc-account-type__option > input:checked + .scc-account-type__card {
  border-color: var(--scc-auth-yellow);
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.11);
}

.scc-account-type__option > input:focus-visible + .scc-account-type__card {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.scc-account-type__icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 180, 0, 0.12);
  color: #a56f00;
  place-items: center;
}

.scc-account-type__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scc-account-type__card strong,
.scc-account-type__card small {
  display: block;
}

.scc-account-type__card strong {
  margin-bottom: 4px;
  color: #24262a;
  font-size: 12px;
  font-weight: 900;
}

.scc-account-type__card small {
  color: #7d8189;
  font-size: 9px;
  line-height: 1.7;
}

.scc-account-type__card i {
  display: grid;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c7c9cf;
  border-radius: 50%;
  background: #fff;
  place-items: center;
}

.scc-account-type__option > input:checked + .scc-account-type__card i {
  border: 5px solid var(--scc-auth-yellow);
}

.scc-account-type__partner-note {
  display: none;
  margin: 11px 0 0 !important;
  padding: 10px 12px;
  border-right: 3px solid var(--scc-auth-yellow);
  border-radius: 8px;
  background: #fffaf0;
  color: #765711;
  font-size: 10px;
  line-height: 1.9;
}

.scc-account-type__partner-note.is-visible,
.scc-account-type:has(#scc_account_type_partner:checked) .scc-account-type__partner-note {
  display: block;
}

.scc-auth-tabs {
  display: grid;
  margin-bottom: 26px;
  padding: 5px;
  border-radius: 13px;
  background: #f1f2f4;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.scc-auth-tabs button {
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #777b83 !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: 0.22s ease;
}

.scc-auth-tabs button.is-active {
  background: #fff !important;
  box-shadow: 0 5px 15px rgba(17, 17, 17, 0.08) !important;
  color: var(--scc-auth-black) !important;
}

.scc-auth-forms #customer_login,
.scc-auth-forms #customer_login .u-column1,
.scc-auth-forms #customer_login .u-column2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.scc-auth-forms #customer_login:not(.scc-auth-tabs-ready) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.scc-auth-forms #customer_login.scc-auth-tabs-ready .u-column1,
.scc-auth-forms #customer_login.scc-auth-tabs-ready .u-column2 {
  display: none;
}

.scc-auth-forms #customer_login.scc-auth-show-login .u-column1,
.scc-auth-forms #customer_login.scc-auth-show-register .u-column2 {
  display: block;
  animation: sccAuthFormIn 0.3s ease both;
}

@keyframes sccAuthFormIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.scc-auth-forms #customer_login h2,
.scc-auth-forms > h2 {
  margin: 0 0 22px;
  color: var(--scc-auth-black);
  font-size: 23px;
  font-weight: 900;
}

.scc-auth-forms form.login,
.scc-auth-forms form.register,
.scc-auth-forms > form.woocommerce-form-login {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.scc-auth-forms .form-row {
  margin: 0 0 20px !important;
  padding: 0 !important;
}

.scc-auth-forms label {
  display: block;
  margin: 0 0 7px;
  color: #37393e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.scc-auth-forms .required {
  color: #da3030;
}

.scc-auth-forms input.input-text {
  width: 100%;
  min-height: 58px !important;
  height: 58px !important;
  padding: 0 18px !important;
  border: 1px solid var(--scc-auth-border) !important;
  border-radius: 11px !important;
  outline: none;
  background: #fafafa !important;
  box-shadow: none !important;
  color: var(--scc-auth-text) !important;
  font-size: 15px !important;
  line-height: 58px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.scc-auth-forms input.input-text:focus {
  border-color: var(--scc-auth-yellow) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.13) !important;
}

.scc-auth-forms .password-input {
  width: 100%;
}

.scc-auth-forms .password-input input.input-text {
  padding-left: 48px !important;
}

.scc-auth-forms .show-password-input {
  top: 50% !important;
  right: auto !important;
  left: 14px !important;
  transform: translateY(-50%);
}

.scc-auth-forms .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 !important;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  order: 1;
}

.scc-auth-forms input[type="checkbox"] {
  width: 19px;
  min-width: 19px;
  height: 19px;
  margin: 0 !important;
  accent-color: var(--scc-auth-yellow);
}

.scc-auth-forms .woocommerce-form-login > .form-row:not(.form-row-wide) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 13px;
}

.scc-auth-forms button[type="submit"] {
  display: inline-flex !important;
  min-width: 132px;
  width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 1px solid var(--scc-auth-yellow) !important;
  border-radius: 11px !important;
  background: var(--scc-auth-yellow) !important;
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.24) !important;
  color: #111 !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.22s ease;
  order: 2;
}

.scc-auth-forms button[type="submit"]:hover {
  border-color: var(--scc-auth-black) !important;
  background: var(--scc-auth-black) !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.scc-auth-forms .lost_password {
  margin: 15px 0 0 !important;
  text-align: center;
}

.scc-auth-forms .lost_password a,
.scc-auth-forms .woocommerce-privacy-policy-link {
  color: #9b6a00 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.scc-auth-forms .lost_password a:hover,
.scc-auth-forms .woocommerce-privacy-policy-link:hover {
  color: var(--scc-auth-black) !important;
}

.scc-auth-forms .woocommerce-privacy-policy-text,
.scc-auth-forms .woocommerce-privacy-policy-text p,
.scc-auth-forms form.register > p:not(.form-row) {
  color: var(--scc-auth-muted);
  font-size: 11px;
  line-height: 1.9;
}

.scc-auth-forms .woocommerce-password-strength {
  margin-top: 7px;
  border-radius: 8px;
  font-size: 11px;
}

.scc-auth-safe {
  display: flex;
  margin-top: auto;
  padding-top: 28px;
  color: #9a9da4;
  font-size: 10px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.scc-auth-safe svg {
  width: 15px;
  height: 15px;
  color: #aa7800;
}

@media (max-width: 900px) {
  .scc-auth-shell {
    grid-template-columns: 1fr;
  }

  .scc-auth-story {
    min-height: auto;
    padding: 30px;
  }

  .scc-auth-story__content {
    padding: 42px 0 22px;
  }

  .scc-auth-story h1 {
    max-width: 520px;
  }

  .scc-auth-story__content > p {
    max-width: 620px;
  }

  .scc-auth-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scc-auth-benefits li {
    align-items: flex-start;
  }

  .scc-auth-story__foot {
    margin-top: 14px;
  }

  .scc-auth-main {
    min-height: 590px;
    padding: 44px clamp(24px, 7vw, 64px) 28px;
  }
}

@media (max-width: 620px) {
  body.woocommerce-account:not(.logged-in) .woocommerce-error,
  body.woocommerce-account:not(.logged-in) .woocommerce-message,
  body.woocommerce-account:not(.logged-in) .woocommerce-info {
    width: calc(100% - 24px);
    margin-top: 14px !important;
    padding: 13px 42px 13px 14px !important;
    border-radius: 11px;
    font-size: 12px;
  }

  body.woocommerce-account .scc-partner-registration-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 18px;
    padding: 17px 15px;
    gap: 11px 12px;
    border-radius: 13px;
  }

  body.woocommerce-account .scc-partner-registration-banner__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  body.woocommerce-account .scc-partner-registration-banner__copy {
    flex: 1 1 calc(100% - 56px);
  }

  body.woocommerce-account .scc-partner-registration-banner__copy strong {
    font-size: 15px;
  }

  body.woocommerce-account .scc-partner-registration-banner__copy p {
    font-size: 12.5px;
  }

  body.woocommerce-account .scc-partner-registration-banner__call {
    flex: 1 1 100%;
    width: 100%;
    min-height: 43px;
    font-size: 12.5px;
  }

  .scc-auth-shell {
    width: calc(100% - 20px);
    margin: 14px auto 34px;
    border-radius: 21px;
  }

  .scc-auth-story {
    padding: 24px 21px;
  }

  .scc-auth-story__content {
    padding: 34px 0 15px;
  }

  .scc-auth-story h1 {
    margin-top: 16px;
    font-size: 36px;
  }

  .scc-auth-story__content > p {
    font-size: 12px;
  }

  .scc-auth-benefits {
    grid-template-columns: 1fr;
    margin: 20px 0 22px !important;
  }

  .scc-auth-story__foot {
    display: none;
  }

  .scc-auth-main {
    min-height: 560px;
    padding: 34px 20px 22px;
  }

  .scc-auth-heading h2 {
    font-size: 30px;
  }

  .scc-auth-forms {
    margin-top: 24px;
  }

  .scc-account-type__options {
    grid-template-columns: 1fr;
  }

  .scc-auth-forms #customer_login:not(.scc-auth-tabs-ready) {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scc-auth-shell *,
  .scc-auth-shell *::before,
  .scc-auth-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
