body.rdn-account-modal-open {
  overflow: hidden;
}

.rdn-account-modal[hidden] {
  display: none;
}

.rdn-account-modal {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.rdn-account-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.rdn-account-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(8px);
  cursor: default;
}

.rdn-account-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.34);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rdn-account-modal.is-open .rdn-account-modal__dialog {
  transform: translateY(0) scale(1);
}

.rdn-account-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 22px;
  border-bottom: 1px solid #e5eaf0;
  background:
    radial-gradient(circle at 96% 0%, rgba(3, 169, 244, 0.13), transparent 42%),
    #fff;
}

.rdn-account-modal__eyebrow,
.rdn-account-page__intro > span {
  display: block;
  margin-bottom: 4px;
  color: #087fba;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rdn-account-modal__header h2,
.rdn-account-page__intro h1 {
  margin: 0;
  color: #172033;
  font-family: var(--rdn-heading-font);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.rdn-account-modal__header h2 {
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.1;
}

.rdn-account-modal__header p,
.rdn-account-page__intro p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.65;
}

.rdn-account-modal__close {
  flex: 0 0 44px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce3eb;
  border-radius: 50%;
  color: #172033;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.rdn-account-modal__close:hover,
.rdn-account-modal__close:focus-visible {
  color: #fff;
  background: #172033;
  transform: rotate(4deg);
}

.rdn-account-modal__close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.rdn-account-modal__body {
  padding: 24px 32px 28px;
}

.rdn-account-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  border-top: 1px solid #e5eaf0;
  color: #7b8798;
  background: #f8fafc;
  font-size: 11px;
  line-height: 1.5;
}

.rdn-account-modal__footer a {
  flex: 0 0 auto;
  color: #087fba;
  font-weight: 700;
  text-decoration: none;
}

.rdn-account-auth__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #f1f5f9;
}

.rdn-account-auth__tabs button {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  color: #64748b;
  background: transparent;
  font: 700 13px/1.2 var(--rdn-font);
  cursor: pointer;
}

.rdn-account-auth__tabs button[aria-selected="true"] {
  color: #172033;
  background: #fff;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
}

.rdn-account-auth__social {
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.rdn-account-auth__social .nsl-container,
.rdn-account-auth__social .nsl-container-buttons,
.rdn-account-auth__social .nsl-button {
  width: 100% !important;
  max-width: none !important;
}

.rdn-account-auth__social .nsl-button {
  min-height: 52px !important;
  border: 1px solid #0b57d0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #0b57d0 !important;
  box-shadow: none !important;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease !important;
}

.rdn-account-auth__social .nsl-button:hover,
.rdn-account-auth__social .nsl-button:focus-visible {
  border-color: #0842a0 !important;
  background: #0842a0 !important;
  box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.2) !important;
  transform: translateY(-1px);
}

.rdn-account-auth__social .nsl-button-label-container {
  color: #fff !important;
  font-family: "Google Sans", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.rdn-account-auth__social .nsl-button-svg-container {
  display: grid !important;
  width: 40px !important;
  height: 40px !important;
  margin: 5px !important;
  padding: 9px !important;
  place-items: center;
  border-radius: 5px;
  background: #fff !important;
}

.rdn-account-auth__social .nsl-button-svg-container svg {
  width: 20px !important;
  height: 20px !important;
}

.rdn-account-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
}

.rdn-account-auth__divider::before,
.rdn-account-auth__divider::after {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  content: "";
}

.rdn-account-auth__forms .nsl-container {
  display: none !important;
}

.rdn-account-auth #customer_login,
.rdn-account-auth #customer_login .u-column1,
.rdn-account-auth #customer_login .u-column2 {
  float: none;
  width: 100%;
  margin: 0;
}

.rdn-account-auth #customer_login::before,
.rdn-account-auth #customer_login::after {
  display: none;
}

.rdn-account-auth #customer_login h2 {
  display: none;
}

.rdn-account-auth .woocommerce-form {
  margin: 0;
  padding: 0;
  border: 0;
}

.rdn-account-auth .form-row {
  float: none;
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
}

.rdn-account-auth .form-row label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.rdn-account-auth .required {
  color: var(--rdn-red);
  text-decoration: none;
}

.rdn-account-auth .input-text,
.rdn-account-auth input[type="text"],
.rdn-account-auth input[type="email"],
.rdn-account-auth input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  outline: 0;
  color: #172033;
  background: #fff;
  font: 500 14px/1.4 var(--rdn-font);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.rdn-account-auth .input-text:focus,
.rdn-account-auth input:focus {
  border-color: #159ee4;
  box-shadow: 0 0 0 4px rgba(3, 169, 244, 0.12);
}

.rdn-account-auth .show-password-input {
  top: 50% !important;
  transform: translateY(-50%);
}

.rdn-account-auth .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 14px;
  color: #526176;
}

.rdn-account-auth .woocommerce-form-login__rememberme input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0b8dd0;
}

.rdn-account-auth .woocommerce-button,
.rdn-account-auth button[type="submit"] {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #078bd0, #03a9f4);
  box-shadow: 0 10px 24px rgba(3, 169, 244, 0.22);
  font: 800 13px/1.2 var(--rdn-font);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.rdn-account-auth .woocommerce-button:hover,
.rdn-account-auth .woocommerce-button:focus-visible,
.rdn-account-auth button[type="submit"]:hover,
.rdn-account-auth button[type="submit"]:focus-visible {
  color: #fff;
  background: #087fba;
  box-shadow: 0 12px 28px rgba(3, 169, 244, 0.28);
  transform: translateY(-1px);
}

.rdn-account-auth .woocommerce-LostPassword {
  margin: 13px 0 0;
  text-align: center;
}

.rdn-account-auth .woocommerce-LostPassword a {
  color: #087fba;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.rdn-account-auth .woocommerce-privacy-policy-text {
  margin: 8px 0 15px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.rdn-account-auth .woocommerce-privacy-policy-text p {
  margin: 0;
}

.rdn-account-page {
  min-height: 62vh;
  padding: clamp(54px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(3, 169, 244, 0.09), transparent 30%),
    linear-gradient(180deg, #f7fafc, #eef5fa);
}

.rdn-account-page__inner {
  max-width: 1080px;
}

.rdn-account-page__panel {
  width: min(680px, 100%);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid #dfe7ef;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rdn-shadow);
}

.rdn-account-page__guest-features {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  color: #425168;
  font-size: 13px;
  font-weight: 650;
}

.rdn-account-page__guest-features span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rdn-account-page__guest-features span::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #087fba;
  background: #dff3fc;
  font-size: 11px;
  content: "✓";
}

.rdn-account-page__open {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 22px;
  border-radius: 11px;
  color: #fff;
  background: #087fba;
  box-shadow: 0 10px 24px rgba(8, 127, 186, 0.2);
  font-weight: 800;
  text-decoration: none;
}

.rdn-account-page__intro {
  margin-bottom: 28px;
}

.rdn-account-page__intro h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.04;
}

.rdn-account-page__dashboard {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #dfe7ef;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--rdn-shadow);
}

.rdn-account-page__dashboard .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 36px;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-navigation,
.rdn-account-page__dashboard .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start;
  padding: 12px;
  border: 1px solid #e1e8ef;
  border-radius: 17px;
  background: #f8fafc;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #526176;
  font-weight: 700;
  text-decoration: none;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-navigation .is-active a,
.rdn-account-page__dashboard .woocommerce-MyAccount-navigation a:hover {
  color: #087fba;
  background: #eaf7fd;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-content {
  min-width: 0;
  padding: 4px 8px 8px;
  color: #526176;
  font-size: 14px;
  line-height: 1.75;
}

.rdn-account-dashboard-view .woocommerce-MyAccount-content > p {
  display: none;
}

.rdn-account-dashboard-welcome {
  padding: 26px 28px;
  border: 1px solid #d8eaf4;
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0%, rgba(3, 169, 244, 0.14), transparent 45%),
    #f4fbfe;
}

.rdn-account-dashboard-welcome > span {
  color: #087fba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rdn-account-dashboard-welcome h2 {
  margin: 5px 0 7px;
  color: #172033;
  font-family: var(--rdn-heading-font);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rdn-account-dashboard-welcome p {
  max-width: 620px;
  margin: 0;
  color: #526176;
  line-height: 1.65;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
  color: #172033;
  font-size: 17px;
  line-height: 1.65;
}

.rdn-account-page__dashboard .woocommerce-MyAccount-content a {
  color: #087fba;
  font-weight: 700;
}

.rdn-account-dashboard-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.rdn-account-dashboard-links > a {
  position: relative;
  display: grid;
  min-height: 164px;
  grid-template-columns: 44px 1fr auto;
  align-content: start;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dfe7ef;
  border-radius: 17px;
  color: #172033 !important;
  background: #fff;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.rdn-account-dashboard-links > a:hover,
.rdn-account-dashboard-links > a:focus-visible {
  border-color: #83cffa;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.rdn-account-dashboard-links__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #087fba;
  background: #eaf7fd;
}

.rdn-account-dashboard-links__icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.rdn-account-dashboard-links strong,
.rdn-account-dashboard-links small {
  display: block;
}

.rdn-account-dashboard-links strong {
  color: #172033;
  font-family: var(--rdn-heading-font);
  font-size: 14px;
}

.rdn-account-dashboard-links small {
  margin-top: 5px;
  color: #718096;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.rdn-header-account {
  position: relative;
  flex: 0 0 auto;
}

.rdn-header-account .rdn-account-button__chevron {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  transition: transform 160ms ease;
}

.rdn-header-account.is-open .rdn-account-button__chevron {
  transform: rotate(180deg);
}

.rdn-header-account__menu[hidden] {
  display: none;
}

.rdn-header-account__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1400;
  width: 250px;
  padding: 9px;
  border: 1px solid #dfe7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.rdn-header-account__menu::before {
  position: absolute;
  top: -6px;
  right: 26px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #dfe7ef;
  border-left: 1px solid #dfe7ef;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.rdn-header-account__welcome {
  display: grid;
  gap: 2px;
  margin: -1px -1px 7px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #f1f8fc;
}

.rdn-header-account__welcome span {
  color: #718096;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rdn-header-account__welcome strong {
  overflow: hidden;
  color: #172033;
  font-family: var(--rdn-heading-font);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rdn-header-account__menu > a {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #425168;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.rdn-header-account__menu > a:hover,
.rdn-header-account__menu > a:focus-visible {
  color: #087fba;
  background: #eaf7fd;
}

.rdn-header-account__menu > a.is-logout {
  margin-top: 5px;
  border-top: 1px solid #e5eaf0;
  border-radius: 0 0 9px 9px;
  color: #b53c3c;
}

.rdn-account-page .woocommerce-error,
.rdn-account-page .woocommerce-info,
.rdn-account-page .woocommerce-message,
.rdn-account-modal .woocommerce-error,
.rdn-account-modal .woocommerce-info,
.rdn-account-modal .woocommerce-message {
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  color: #334155;
  background: #f0f9ff;
  list-style: none;
}

@media (max-width: 767px) {
  .rdn-account-modal {
    align-items: end;
    padding: 0;
  }

  .rdn-account-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 10px);
    border-radius: 24px 24px 0 0;
    transform: translateY(24px);
  }

  .rdn-account-modal__header {
    padding: 22px 20px 17px;
  }

  .rdn-account-modal__header p {
    max-width: 270px;
    font-size: 12px;
    line-height: 1.5;
  }

  .rdn-account-modal__body {
    padding: 20px;
  }

  .rdn-account-modal__footer {
    align-items: flex-start;
    padding: 13px 20px;
  }

  .rdn-account-modal__footer span {
    display: none;
  }

  .rdn-account-page {
    padding: 34px 0 90px;
  }

  .rdn-account-page__panel,
  .rdn-account-page__dashboard {
    border-radius: 20px;
  }

  .rdn-account-page__dashboard .woocommerce {
    display: block !important;
  }

  .rdn-account-page__dashboard .woocommerce-MyAccount-navigation {
    margin-bottom: 26px;
  }

  .rdn-account-dashboard-links {
    grid-template-columns: 1fr;
  }

  .rdn-account-dashboard-links > a {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rdn-account-modal,
  .rdn-account-modal__dialog,
  .rdn-account-modal__close,
  .rdn-account-auth button {
    transition: none !important;
  }
}
