/* RidgeNote Auth Surface
   Scoped auth-only classes. Keep this file isolated from the main app shell. */

body.rn-auth-page{
  background: var(--rn-page-bg-flat);
  color: var(--rn-text);
  overflow: hidden;
}

.rn-auth-page .rn-auth-nav,
.rn-auth-page .rn-auth-nav *,
.rn-auth-page .rn-auth-stage,
.rn-auth-page .rn-auth-stage *,
.rn-auth-page .rn-auth-stage *::before,
.rn-auth-page .rn-auth-stage *::after{
  box-sizing: border-box;
}

.rn-auth-nav{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10000;
  height: 64px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(250, 249, 243, 0.74), rgba(250, 249, 243, 0.26));
  border-bottom: 1px solid rgba(21, 30, 45, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rn-auth-nav__inner{
  width: min(100% - 32px, 1380px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

.rn-auth-nav__brand{
  display: inline-flex;
  align-items: center;
  color: #101820;
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.rn-auth-nav__brand span,
.rn-auth-accent{
  color: #78942a;
}

.rn-auth-nav__links{
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(21, 30, 45, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.rn-auth-nav__links a{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(24, 34, 49, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.rn-auth-nav__links a:hover,
.rn-auth-nav__links a:focus-visible{
  background: rgba(120, 148, 42, 0.14);
  color: #101820;
}

.rn-auth-nav__cta{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: auto;
  color: rgba(24, 34, 49, 0.72);
  font-size: 0.9rem;
  white-space: nowrap;
}

.rn-auth-nav__cta span{
  display: none;
}

.rn-auth-nav__cta a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(120, 148, 42, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  color: #627b18;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.rn-auth-nav__cta a:hover,
.rn-auth-nav__cta a:focus-visible{
  background: rgba(120, 148, 42, 0.13);
  border-color: rgba(120, 148, 42, 0.72);
}

.rn-auth-stage{
  position: relative;
  height: 100dvh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 86px 16px 28px;
  background-color: #f4f2ea;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 252, 0.16), rgba(255, 255, 252, 0.38) 46%, rgba(255, 255, 252, 0.72)),
    url("../../image/auth/auth_page_mobile_light.c0ce1912459d.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.rn-auth-stage::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px 360px at 50% 24%, rgba(255, 255, 255, 0.58), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 44%, rgba(244, 242, 234, 0.2) 100%);
}

.rn-auth-stage::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 34%),
    radial-gradient(740px 540px at 50% 58%, transparent 42%, rgba(255, 255, 255, 0.2) 100%);
}

.rn-auth-shell{
  position: relative;
  z-index: 1;
  width: min(100%, 31rem);
  display: grid;
  gap: 1.15rem;
}

.rn-auth-shell--split{
  width: min(100%, 32.5rem);
}

.rn-auth-brand{
  display: grid;
  gap: 0.9rem;
  text-align: center;
  color: #101820;
}

.rn-auth-brand__logo{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  color: #101820;
  font-size: 1.05rem;
  font-weight: 820;
  letter-spacing: -0.035em;
}

.rn-auth-brand__logo svg{
  width: 40px;
  height: 40px;
  color: #78942a;
  filter: drop-shadow(0 10px 20px rgba(120, 148, 42, 0.18));
}

.rn-auth-brand__eyebrow{
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px 11px;
  border: 1px solid rgba(120, 148, 42, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: #627b18;
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rn-auth-title{
  margin: 0;
  color: #101820;
  font-size: clamp(2.15rem, 8.8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.rn-auth-title span{
  color: inherit;
}

.rn-auth-title .rn-auth-accent{
  color: #78942a;
}

.rn-auth-title--stacked{
  display: grid;
  gap: 0.04em;
}

.rn-auth-subtitle{
  max-width: 31rem;
  margin: 0.68rem auto 0;
  color: rgba(24, 34, 49, 0.72);
  font-size: 1rem;
  line-height: 1.58;
}



.rn-auth-card{
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 30px 80px rgba(17, 24, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  padding: clamp(1.18rem, 4.8vw, 1.75rem);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.rn-auth-card--register{
  padding: clamp(1.05rem, 4.4vw, 1.55rem);
}

.rn-auth-card__header{
  margin-bottom: 1.18rem;
  text-align: center;
}

.rn-auth-card__title{
  margin: 0;
  color: #101820;
  font-size: clamp(1.38rem, 4vw, 1.85rem);
  font-weight: 880;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.rn-auth-card__subtitle{
  margin: 0.38rem 0 0;
  color: rgba(24, 34, 49, 0.67);
  font-size: 0.9rem;
  line-height: 1.42;
}

.rn-auth-google-btn{
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.82rem;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: #101820;
  font-size: 0.98rem;
  font-weight: 780;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transition:
    transform var(--rn-fast) var(--rn-ease),
    border-color var(--rn-fast) var(--rn-ease),
    background var(--rn-fast) var(--rn-ease),
    box-shadow var(--rn-fast) var(--rn-ease);
}

.rn-auth-google-btn:hover,
.rn-auth-google-btn:focus-visible{
  background: #fff;
  border-color: rgba(120, 148, 42, 0.38);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
}

.rn-auth-google-btn:active,
.rn-auth-submit:active{
  transform: translateY(1px);
}

.rn-auth-divider{
  position: relative;
  text-align: center;
  margin: 1.25rem 0 1rem;
}

.rn-auth-divider::before{
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
}

.rn-auth-divider span{
  position: relative;
  display: inline-flex;
  padding: 0 0.84rem;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(24, 34, 49, 0.56);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rn-auth-form{
  display: grid;
  gap: 0.95rem;
}

.rn-auth-card--register .rn-auth-form{
  gap: 0.82rem;
}

.rn-auth-fields{
  display: grid;
  gap: 0.95rem;
}

.rn-auth-card--register .rn-auth-fields{
  gap: 0.72rem;
}

.rn-auth-field{
  display: grid;
  gap: 0.4rem;
}

.rn-auth-field .rn-form-label,
.rn-auth-stage .rn-form-label{
  margin: 0;
  color: #101820;
  font-size: 0.88rem;
  font-weight: 760;
}

.rn-auth-input-wrap{
  position: relative;
}

.rn-auth-input-icon{
  position: absolute;
  left: 15px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: rgba(24, 34, 49, 0.48);
  pointer-events: none;
}

.rn-auth-input{
  width: 100%;
  min-height: 53px;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.48);
  color: #101820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  outline: none;
  transition:
    border-color var(--rn-fast) var(--rn-ease),
    box-shadow var(--rn-fast) var(--rn-ease),
    background var(--rn-fast) var(--rn-ease);
}

.rn-auth-card--register .rn-auth-input{
  min-height: 49px;
}

.rn-auth-input--with-icon{
  padding-left: 2.9rem;
}

.rn-auth-input--password {
  padding-right: 2.9rem;
}

.rn-auth-password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(24, 34, 49, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--rn-fast) var(--rn-ease);
}

.rn-auth-password-toggle:hover {
  color: rgba(120, 148, 42, 0.9);
}

.rn-auth-password-toggle svg {
  width: 19px;
  height: 19px;
}

.rn-auth-input::placeholder{
  color: rgba(24, 34, 49, 0.46);
}

.rn-auth-input:hover{
  border-color: rgba(120, 148, 42, 0.32);
  background: rgba(255, 255, 255, 0.66);
}

.rn-auth-input:focus{
  border-color: rgba(120, 148, 42, 0.72);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(120, 148, 42, 0.18);
}

.rn-auth-field-error,
.rn-auth-stage .text-red-400{
  color: #b42318 !important;
}

.rn-auth-error{
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 13px !important;
  background: rgba(254, 243, 242, 0.92);
  color: #b42318;
}

.rn-auth-actions-row{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 22px;
  margin-top: -0.16rem;
}

.rn-auth-muted-line{
  margin: 0;
  color: rgba(24, 34, 49, 0.65);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rn-auth-link{
  color: #6f8927;
  font-weight: 780;
  text-decoration: none;
}

.rn-auth-link:hover,
.rn-auth-link:focus-visible{
  color: #506512;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.rn-auth-submit{
  width: 100%;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #9dbc36 0%, #708d22 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 860;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 34px rgba(86, 112, 25, 0.24);
  transition:
    transform var(--rn-fast) var(--rn-ease),
    filter var(--rn-fast) var(--rn-ease),
    box-shadow var(--rn-fast) var(--rn-ease);
}

.rn-auth-card--register .rn-auth-submit{
  min-height: 51px;
}

.rn-auth-submit:hover,
.rn-auth-submit:focus-visible{
  filter: brightness(1.035);
  box-shadow: 0 20px 40px rgba(86, 112, 25, 0.31);
}

.rn-auth-submit svg{
  width: 19px;
  height: 19px;
}

.rn-auth-secondary-copy{
  margin: 0.05rem 0 0;
  text-align: center;
}

.rn-auth-stage .rn-text-secondary,
.rn-auth-stage .rn-text-muted{
  color: rgba(24, 34, 49, 0.66);
}

.rn-auth-stage .rn-btn-surface{
  border: 1px solid rgba(16, 24, 32, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: rgba(24, 34, 49, 0.78);
}

.rn-auth-stage .rn-btn-surface:hover,
.rn-auth-stage .rn-btn-surface:focus-visible{
  border-color: rgba(120, 148, 42, 0.3);
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] body.rn-auth-page{
  background: var(--rn-page-bg-flat);
  color: var(--rn-text);
}

html[data-theme="dark"] .rn-auth-nav{
  background: linear-gradient(180deg, rgba(2, 6, 5, 0.72), rgba(2, 6, 5, 0.22));
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .rn-auth-nav__brand,
html[data-theme="dark"] .rn-auth-brand,
html[data-theme="dark"] .rn-auth-brand__logo,
html[data-theme="dark"] .rn-auth-title,
html[data-theme="dark"] .rn-auth-card__title,
html[data-theme="dark"] .rn-auth-field .rn-form-label,
html[data-theme="dark"] .rn-auth-stage .rn-form-label{
  color: #f7faf7;
}

html[data-theme="dark"] .rn-auth-accent,
html[data-theme="dark"] .rn-auth-brand__logo svg{
  color: #9fbe44;
}

html[data-theme="dark"] .rn-auth-nav__links{
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 8, 0.48);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .rn-auth-nav__links a,
html[data-theme="dark"] .rn-auth-nav__cta,
html[data-theme="dark"] .rn-auth-subtitle,
html[data-theme="dark"] .rn-auth-muted-line,
html[data-theme="dark"] .rn-auth-card__subtitle{
  color: rgba(247, 250, 247, 0.7);
}

html[data-theme="dark"] .rn-auth-nav__links a:hover,
html[data-theme="dark"] .rn-auth-nav__links a:focus-visible{
  background: rgba(159, 190, 68, 0.14);
  color: #fff;
}

html[data-theme="dark"] .rn-auth-nav__cta a{
  border-color: rgba(159, 190, 68, 0.54);
  background: rgba(3, 9, 8, 0.36);
  color: #a9ca45;
}

html[data-theme="dark"] .rn-auth-stage{
  background-color: #020605;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 5, 0.18), rgba(2, 6, 5, 0.06) 40%, rgba(2, 6, 5, 0.42) 100%),
    url("../../image/auth/auth_page_mobile_dark.bb1b98167260.png");
}

html[data-theme="dark"] .rn-auth-stage::before{
  background:
    radial-gradient(620px 360px at 50% 20%, rgba(7, 16, 15, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(2, 6, 5, 0.34), transparent 46%, rgba(2, 6, 5, 0.58));
}

html[data-theme="dark"] .rn-auth-stage::after{
  background:
    linear-gradient(180deg, rgba(2, 6, 5, 0.54), transparent 36%),
    radial-gradient(760px 540px at 50% 56%, transparent 42%, rgba(2, 6, 5, 0.44) 100%);
}

html[data-theme="dark"] .rn-auth-brand__eyebrow{
  border-color: rgba(159, 190, 68, 0.24);
  background: rgba(2, 6, 5, 0.34);
  color: #a9ca45;
}

html[data-theme="dark"] .rn-auth-card{
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(5, 12, 12, 0.7);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .rn-auth-google-btn{
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: #101820;
}

html[data-theme="dark"] .rn-auth-divider::before{
  border-top-color: rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .rn-auth-divider span{
  background: rgba(5, 12, 12, 0.82);
  color: rgba(247, 250, 247, 0.62);
}

html[data-theme="dark"] .rn-auth-input{
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 5, 0.34);
  color: #f7faf7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .rn-auth-input-icon,
html[data-theme="dark"] .rn-auth-password-toggle,
html[data-theme="dark"] .rn-auth-input::placeholder{
  color: rgba(247, 250, 247, 0.42);
}

html[data-theme="dark"] .rn-auth-password-toggle:hover {
  color: #9fbe44;
}

html[data-theme="dark"] .rn-auth-input:hover{
  border-color: rgba(159, 190, 68, 0.32);
  background: rgba(2, 6, 5, 0.46);
}

html[data-theme="dark"] .rn-auth-input:focus{
  border-color: rgba(159, 190, 68, 0.72);
  background: rgba(2, 6, 5, 0.62);
  box-shadow: 0 0 0 4px rgba(159, 190, 68, 0.18);
}

html[data-theme="dark"] .rn-auth-error{
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(69, 10, 10, 0.76);
  color: #fecaca;
}

html[data-theme="dark"] .rn-auth-link{
  color: #9fbe44;
}

html[data-theme="dark"] .rn-auth-link:hover,
html[data-theme="dark"] .rn-auth-link:focus-visible{
  color: #c4df61;
}

@media (prefers-color-scheme: dark){
  html[data-theme="auto"] body.rn-auth-page{
    background: var(--rn-page-bg-flat);
    color: var(--rn-text);
  }

  html[data-theme="auto"] .rn-auth-nav{
    background: linear-gradient(180deg, rgba(2, 6, 5, 0.72), rgba(2, 6, 5, 0.22));
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  html[data-theme="auto"] .rn-auth-nav__brand,
  html[data-theme="auto"] .rn-auth-brand,
  html[data-theme="auto"] .rn-auth-brand__logo,
  html[data-theme="auto"] .rn-auth-title,
  html[data-theme="auto"] .rn-auth-card__title,
  html[data-theme="auto"] .rn-auth-field .rn-form-label,
  html[data-theme="auto"] .rn-auth-stage .rn-form-label{
    color: #f7faf7;
  }

  html[data-theme="auto"] .rn-auth-accent,
  html[data-theme="auto"] .rn-auth-brand__logo svg{
    color: #9fbe44;
  }

  html[data-theme="auto"] .rn-auth-nav__links{
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(3, 9, 8, 0.48);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  }

  html[data-theme="auto"] .rn-auth-nav__links a,
  html[data-theme="auto"] .rn-auth-nav__cta,
  html[data-theme="auto"] .rn-auth-subtitle,
  html[data-theme="auto"] .rn-auth-muted-line,
  html[data-theme="auto"] .rn-auth-card__subtitle{
    color: rgba(247, 250, 247, 0.7);
  }

  html[data-theme="auto"] .rn-auth-nav__links a:hover,
  html[data-theme="auto"] .rn-auth-nav__links a:focus-visible{
    background: rgba(159, 190, 68, 0.14);
    color: #fff;
  }

  html[data-theme="auto"] .rn-auth-nav__cta a{
    border-color: rgba(159, 190, 68, 0.54);
    background: rgba(3, 9, 8, 0.36);
    color: #a9ca45;
  }

  html[data-theme="auto"] .rn-auth-stage{
    background-color: #020605;
    background-image:
      linear-gradient(180deg, rgba(2, 6, 5, 0.18), rgba(2, 6, 5, 0.06) 40%, rgba(2, 6, 5, 0.42) 100%),
      url("../../image/auth/auth_page_mobile_dark.bb1b98167260.png");
  }

  html[data-theme="auto"] .rn-auth-stage::before{
    background:
      radial-gradient(620px 360px at 50% 20%, rgba(7, 16, 15, 0.16), transparent 70%),
      linear-gradient(180deg, rgba(2, 6, 5, 0.34), transparent 46%, rgba(2, 6, 5, 0.58));
  }

  html[data-theme="auto"] .rn-auth-stage::after{
    background:
      linear-gradient(180deg, rgba(2, 6, 5, 0.54), transparent 36%),
      radial-gradient(760px 540px at 50% 56%, transparent 42%, rgba(2, 6, 5, 0.44) 100%);
  }

  html[data-theme="auto"] .rn-auth-brand__eyebrow{
    border-color: rgba(159, 190, 68, 0.24);
    background: rgba(2, 6, 5, 0.34);
    color: #a9ca45;
  }

  html[data-theme="auto"] .rn-auth-card{
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(5, 12, 12, 0.7);
    box-shadow:
      0 34px 90px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  html[data-theme="auto"] .rn-auth-google-btn{
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: #101820;
  }

  html[data-theme="auto"] .rn-auth-divider::before{
    border-top-color: rgba(255, 255, 255, 0.13);
  }

  html[data-theme="auto"] .rn-auth-divider span{
    background: rgba(5, 12, 12, 0.82);
    color: rgba(247, 250, 247, 0.62);
  }

  html[data-theme="auto"] .rn-auth-input{
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(2, 6, 5, 0.34);
    color: #f7faf7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  html[data-theme="auto"] .rn-auth-input-icon,
  html[data-theme="auto"] .rn-auth-password-toggle,
  html[data-theme="auto"] .rn-auth-input::placeholder{
    color: rgba(247, 250, 247, 0.42);
  }

  html[data-theme="auto"] .rn-auth-password-toggle:hover {
    color: #9fbe44;
  }

  html[data-theme="auto"] .rn-auth-input:hover{
    border-color: rgba(159, 190, 68, 0.32);
    background: rgba(2, 6, 5, 0.46);
  }

  html[data-theme="auto"] .rn-auth-input:focus{
    border-color: rgba(159, 190, 68, 0.72);
    background: rgba(2, 6, 5, 0.62);
    box-shadow: 0 0 0 4px rgba(159, 190, 68, 0.18);
  }

  html[data-theme="auto"] .rn-auth-error{
    border-color: rgba(248, 113, 113, 0.34);
    background: rgba(69, 10, 10, 0.76);
    color: #fecaca;
  }

  html[data-theme="auto"] .rn-auth-link{
    color: #9fbe44;
  }

  html[data-theme="auto"] .rn-auth-link:hover,
  html[data-theme="auto"] .rn-auth-link:focus-visible{
    color: #c4df61;
  }
}

@media (min-width: 520px){
  .rn-auth-nav__cta span{
    display: inline;
  }
}

@media (min-width: 900px){
  .rn-auth-nav{
    height: 72px;
  }

  .rn-auth-nav__inner{
    width: min(100% - 72px, 1400px);
  }

  .rn-auth-nav__links{
    display: inline-flex;
  }

  .rn-auth-stage{
    padding: 96px 42px 46px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 252, 0.28) 0%, rgba(255, 255, 252, 0.13) 43%, rgba(255, 255, 252, 0.3) 100%),
      url("../../image/auth/auth_page_dekstop_light.ef44e3c87068.png");
    background-position: center center;
  }

  .rn-auth-stage::before{
    background:
      radial-gradient(680px 460px at 24% 48%, rgba(255, 255, 255, 0.32), transparent 72%),
      radial-gradient(580px 440px at 80% 48%, rgba(255, 255, 255, 0.34), transparent 72%);
  }

  .rn-auth-stage::after{
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 40%, rgba(255, 255, 255, 0.22)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%, rgba(255, 255, 255, 0.18));
  }

  .rn-auth-shell--split{
    width: min(100%, 1100px);
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    align-items: center;
    gap: clamp(40px, 5vw, 76px);
  }

  .rn-auth-brand{
    text-align: left;
    justify-items: start;
    gap: 1.08rem;
    padding: 0.75rem 0 1rem;
    transform: translateY(-1.5rem);
  }

  .rn-auth-brand__logo{
    margin-inline: 0;
    justify-content: flex-start;
    transform: translateY(0.6rem);
  }

  .rn-auth-brand__eyebrow{
    margin-inline: 0;
    justify-content: flex-start;
  }

  .rn-auth-title{
    max-width: 33rem;
    font-size: clamp(3rem, 4.6vw, 4.35rem);
  }

  .rn-auth-subtitle{
    margin-inline: 0;
    max-width: 29rem;
    font-size: 1.02rem;
  }



  .rn-auth-card{
    border-radius: 22px;
    padding: 2.25rem;
  }

  .rn-auth-card--register{
    padding: 1.35rem;
  }

  .rn-auth-card__header{
    margin-bottom: 1.25rem;
  }

  .rn-auth-card--register .rn-auth-card__header{
    margin-bottom: 0.95rem;
  }

  .rn-auth-card--register .rn-auth-google-btn{
    min-height: 50px;
  }

  .rn-auth-card--register .rn-auth-divider{
    margin: 0.9rem 0 0.72rem;
  }

  .rn-auth-card--register .rn-auth-fields{
    gap: 0.62rem;
  }

  .rn-auth-card--register .rn-auth-form{
    gap: 0.7rem;
  }

  html[data-theme="dark"] .rn-auth-stage{
    background-image:
      linear-gradient(90deg, rgba(2, 6, 5, 0.42) 0%, rgba(2, 6, 5, 0.18) 43%, rgba(2, 6, 5, 0.46) 100%),
      url("../../image/auth/auth_page_dekstop_dark.6e4efa01e349.png");
  }

  html[data-theme="dark"] .rn-auth-stage::before{
    background:
      radial-gradient(680px 460px at 24% 48%, rgba(2, 6, 5, 0.18), transparent 72%),
      radial-gradient(580px 440px at 80% 48%, rgba(2, 6, 5, 0.28), transparent 72%);
  }

  html[data-theme="dark"] .rn-auth-stage::after{
    background:
      linear-gradient(90deg, rgba(2, 6, 5, 0.22), transparent 40%, rgba(2, 6, 5, 0.28)),
      linear-gradient(180deg, rgba(2, 6, 5, 0.46), transparent 44%, rgba(2, 6, 5, 0.48));
  }

}

@media (min-width: 900px) and (prefers-color-scheme: dark){
  html[data-theme="auto"] .rn-auth-stage{
    background-image:
      linear-gradient(90deg, rgba(2, 6, 5, 0.42) 0%, rgba(2, 6, 5, 0.18) 43%, rgba(2, 6, 5, 0.46) 100%),
      url("../../image/auth/auth_page_dekstop_dark.6e4efa01e349.png");
  }

  html[data-theme="auto"] .rn-auth-stage::before{
    background:
      radial-gradient(680px 460px at 24% 48%, rgba(2, 6, 5, 0.18), transparent 72%),
      radial-gradient(580px 440px at 80% 48%, rgba(2, 6, 5, 0.28), transparent 72%);
  }

  html[data-theme="auto"] .rn-auth-stage::after{
    background:
      linear-gradient(90deg, rgba(2, 6, 5, 0.22), transparent 40%, rgba(2, 6, 5, 0.28)),
      linear-gradient(180deg, rgba(2, 6, 5, 0.46), transparent 44%, rgba(2, 6, 5, 0.48));
  }
}

@media (min-width: 1280px){
  .rn-auth-shell--split{
    width: min(100%, 1140px);
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
  }
}

@media (max-width: 899px){
  .rn-auth-nav__links{
    display: none;
  }

  .rn-auth-shell--split .rn-auth-brand__eyebrow{
    display: none;
  }

  .rn-auth-shell--split .rn-auth-title{
    font-size: clamp(2.35rem, 9.7vw, 3.8rem);
  }

  .rn-auth-shell--split .rn-auth-brand{
    margin-bottom: 0.18rem;
  }

  .rn-auth-card__header{
    display: none;
  }

  .rn-auth-shell--signup .rn-auth-brand{
    gap: 0.6rem;
  }

  .rn-auth-shell--signup .rn-auth-subtitle{
    display: none;
  }
}

@media (max-width: 599px){
  .rn-auth-stage{
    align-items: flex-start;
    padding: 70px 14px 14px;
  }

  .rn-auth-shell,
  .rn-auth-shell--split{
    width: min(100%, 28.5rem);
    gap: 0.62rem;
  }

  .rn-auth-brand{
    gap: 0.48rem;
  }

  .rn-auth-brand__logo{
    gap: 0.5rem;
    font-size: 0.98rem;
  }

  .rn-auth-brand__logo svg{
    width: 31px;
    height: 31px;
  }

  .rn-auth-shell--split .rn-auth-title{
    font-size: clamp(2rem, 7.2vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .rn-auth-subtitle{
    max-width: 24rem;
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .rn-auth-card{
    border-radius: 18px;
    padding: 0.76rem;
  }

  .rn-auth-google-btn{
    min-height: 48px;
    gap: 0.7rem;
    font-size: 0.92rem;
  }

  .rn-auth-divider{
    margin: 1rem 0 0.78rem;
  }

  .rn-auth-divider span{
    padding-inline: 0.68rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .rn-auth-form,
  .rn-auth-fields{
    gap: 0.68rem;
  }

  .rn-auth-field{
    gap: 0.34rem;
  }

  .rn-auth-field .rn-form-label,
  .rn-auth-stage .rn-form-label{
    font-size: 0.82rem;
  }

  .rn-auth-input-icon{
    left: 13px;
    width: 18px;
    height: 18px;
  }

  .rn-auth-input{
    min-height: 48px;
    padding-block: 0.7rem;
    font-size: 0.92rem;
  }

  .rn-auth-input--with-icon{
    padding-left: 2.55rem;
  }

  .rn-auth-actions-row{
    min-height: 18px;
    margin-top: -0.12rem;
  }

  .rn-auth-muted-line{
    font-size: 0.84rem;
  }

  .rn-auth-secondary-copy{
    margin-top: 0;
  }

  .rn-auth-submit{
    min-height: 48px;
    font-size: 0.95rem;
  }

  .rn-auth-card--register{
    padding: 0.72rem;
  }

  .rn-auth-card--register .rn-auth-google-btn{
    min-height: 44px;
  }

  .rn-auth-card--register .rn-auth-divider{
    margin: 0.7rem 0 0.52rem;
  }

  .rn-auth-card--register .rn-auth-form,
  .rn-auth-card--register .rn-auth-fields{
    gap: 0.5rem;
  }

  .rn-auth-card--register .rn-auth-field{
    gap: 0.26rem;
  }

  .rn-auth-card--register .rn-auth-input,
  .rn-auth-card--register .rn-auth-submit{
    min-height: 43px;
  }

  .rn-auth-card--register .rn-auth-muted-line{
    font-size: 0.8rem;
  }
}

@media (max-width: 420px){
  .rn-auth-stage{
    padding-inline: 14px;
    padding-top: 70px;
  }

  .rn-auth-nav{
    height: 58px;
  }

  .rn-auth-nav__inner{
    width: min(100% - 24px, 1280px);
  }

  .rn-auth-nav__brand{
    font-size: 1.04rem;
  }

  .rn-auth-nav__cta a{
    min-height: 33px;
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .rn-auth-brand__logo svg{
    width: 29px;
    height: 29px;
  }

  .rn-auth-shell--split .rn-auth-title{
    font-size: clamp(1.95rem, 8vw, 2.25rem);
  }

  .rn-auth-subtitle{
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .rn-auth-card{
    border-radius: 17px;
    padding: 0.82rem;
  }

  .rn-auth-google-btn,
  .rn-auth-input,
  .rn-auth-submit{
    min-height: 47px;
  }

  .rn-auth-card--register .rn-auth-input,
  .rn-auth-card--register .rn-auth-submit{
    min-height: 47px;
  }
}

@media (max-width: 599px) and (max-height: 700px){
  .rn-auth-stage{
    padding-top: 60px;
    padding-bottom: 10px;
  }

  .rn-auth-shell--signup{
    gap: 0.42rem;
  }

  .rn-auth-shell--signup .rn-auth-brand{
    gap: 0.18rem;
  }

  .rn-auth-shell--signup .rn-auth-brand__logo{
    display: none;
  }

  .rn-auth-shell--signup .rn-auth-title{
    font-size: clamp(1.68rem, 7vw, 1.95rem);
    line-height: 1;
  }

  .rn-auth-shell--signup .rn-auth-card{
    padding: 0.62rem;
  }

  .rn-auth-card--register .rn-auth-google-btn{
    min-height: 40px;
  }

  .rn-auth-card--register .rn-auth-divider{
    margin: 0.54rem 0 0.42rem;
  }

  .rn-auth-card--register .rn-auth-form,
  .rn-auth-card--register .rn-auth-fields{
    gap: 0.38rem;
  }

  .rn-auth-card--register .rn-form-label{
    font-size: 0.78rem;
  }

  .rn-auth-card--register .rn-auth-input,
  .rn-auth-card--register .rn-auth-submit{
    min-height: 39px;
  }

  .rn-auth-card--register .rn-auth-input{
    padding-block: 0.56rem;
  }
}
