.auth-page {
  min-height: 100vh;
  padding: 30px;
  background: #ffffff;
  color: #0e1512;
}

.auth-columns {
  margin: 0 auto;
  width: 100%;
  max-width: 1360px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 26px);
}

/* Form column */

.auth-form-col {
  flex: 1 1 440px;
  min-width: min(100%, 340px);
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 32px) clamp(18px, 2.6vw, 44px);
}

.auth-form-col__top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0e1512;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.auth-logo:hover {
  color: #0e1512;
  text-decoration: none;
}

.auth-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.auth-form-col__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(26px, 3.4vw, 54px);
}

.auth-form-inner {
  width: 100%;
  max-width: 412px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 15px;
  background: #f1f6f2;
}

.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #6b756f;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.auth-tab:hover {
  color: #0e1512;
  text-decoration: none;
}

.auth-tab--active {
  background: #ffffff;
  color: #0e1512;
}

.auth-mode {
  animation: sbf-fade-up .3s ease both;
}

.auth-mode__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 2px;
  border-radius: 13px;
  background: #e7f3ec;
  color: #027a3b;
}

.auth-mode__icon .auth-icon {
  width: 21px;
  height: 21px;
}

.auth-mode h1 {
  margin: 28px 0 0;
  color: #0e1512;
  font-size: clamp(26px, 2.5vw, 33px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.03em;
}

.auth-mode__icon + h1 {
  margin-top: 20px;
}

.auth-subheading {
  margin: 9px 0 0;
  color: #6b756f;
  font-size: 14.5px;
  line-height: 1.55;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 26px;
}

.auth-field {
  display: block;
}

.auth-field__label {
  display: block;
  margin-bottom: 7px;
  color: #3b4841;
  font-size: 13px;
  font-weight: 700;
}

.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.auth-field__row .auth-field__label {
  margin-bottom: 0;
}

.auth-field__link {
  color: #027a3b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.auth-field__link:hover {
  text-decoration: underline;
}

.auth-field__control {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid #e2e9e4;
  border-radius: 14px;
  background: #ffffff;
  padding: 0 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.auth-field__control--password {
  padding-right: 8px;
}

.auth-field__control:focus-within {
  border-color: #00a94f;
  box-shadow: 0 0 0 3px rgba(0, 169, 79, .15);
}

.auth-field__control > .auth-icon {
  flex: none;
  width: 17px;
  height: 17px;
  color: #9ba5a0;
  pointer-events: none;
}

.auth-field input,
.auth-field select {
  flex: 1;
  min-width: 0;
  height: 100%;
  width: auto;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #0e1512;
  font: inherit;
  font-size: 15px;
  outline: none;
  box-shadow: none;
}

.auth-field select {
  appearance: none;
  cursor: pointer;
}

.auth-field input::placeholder {
  color: #9ba5a0;
}

.auth-field__control > svg:last-child:not(:first-child) {
  color: #8a948e;
}

.auth-field__action {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8a948e;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.auth-field__action:hover {
  background: #f1f6f2;
  color: #3b4841;
}

.auth-field__action .auth-icon {
  width: 18px;
  height: 18px;
}

.auth-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.auth-strength__bars {
  flex: 1;
  display: flex;
  gap: 4px;
}

.auth-strength__bars i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  transition: background-color .25s ease;
}

.auth-strength__label {
  min-width: 64px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.auth-help {
  margin: -6px 0 0;
  color: #8a948e;
  font-size: 12.5px;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3b4841;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}

.auth-check--compact {
  align-items: center;
}

.auth-check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #00a94f;
  cursor: pointer;
}

.auth-check--compact input {
  margin-top: 0;
}

.auth-check a {
  color: #027a3b;
  font-weight: 700;
  text-decoration: none;
}

.auth-check a:hover {
  text-decoration: underline;
}

.auth-primary {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  background: #00a94f;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background-color .2s ease;
}

.auth-primary:hover:not(:disabled) {
  background: #00bd58;
}

.auth-primary:disabled {
  background: #029446;
  cursor: default;
}

.auth-primary .auth-icon {
  width: 18px;
  height: 18px;
}

.auth-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #ffffff;
  animation: sbf-spin .85s linear infinite;
}

.auth-back-link {
  width: max-content;
  margin: 4px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  height: 36px;
  border-radius: 10px;
  color: #3b4841;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}

.auth-back-link:hover {
  background: #f4f8f5;
  text-decoration: none;
}

.auth-back-link .auth-icon {
  width: 15px;
  height: 15px;
}

.auth-divider {
  margin: 24px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ba5a0;
}

.auth-divider span {
  height: 1px;
  flex: 1;
  background: #e7ede8;
}

.auth-divider small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-social button {
  flex: 1 1 150px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e2e9e4;
  border-radius: 14px;
  background: #ffffff;
  color: #0e1512;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.auth-social button:hover {
  border-color: #cfdcd4;
  background: #f7faf8;
}

.auth-social .auth-icon--brand {
  width: 17px;
  height: 17px;
}

.auth-crosslink {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: #6b756f;
}

.auth-crosslink a {
  color: #027a3b;
  font-weight: 700;
  text-decoration: none;
}

.auth-crosslink a:hover {
  text-decoration: underline;
}

.auth-form-col__footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 24px;
  color: #8a948e;
  font-size: 12.5px;
  text-align: center;
}

.auth-form-col__footer a {
  color: #6b756f;
  text-decoration: none;
}

.auth-form-col__footer a:hover {
  text-decoration: underline;
}

/* Icons */

.auth-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-icon--brand {
  stroke: none;
}

.auth-kicker .auth-icon {
  width: 15px;
  height: 15px;
}

/* Brand panel */

.auth-brand-panel {
  position: sticky;
  top: 30px;
  flex: 1 1 520px;
  min-width: min(100%, 340px);
  height: calc(100vh - 60px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: clamp(16px, 1.5vw, 22px);
  background: #314e4a;
  color: #ffffff;
  padding: clamp(26px, 3vw, 44px);
}

.auth-brand-panel__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(closest-side at 30% 4%, #000 34%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side at 30% 4%, #000 34%, transparent 78%);
}

.auth-brand-panel__glow {
  position: absolute;
  top: -260px;
  left: -120px;
  width: 820px;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 169, 79, .3), transparent 70%);
}

.auth-brand-panel__content {
  position: relative;
  max-width: 460px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(140, 237, 182, .14);
  color: #8cedb6;
  font-size: 12.5px;
  font-weight: 700;
}

.auth-brand-panel__content h2 {
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
  animation: sbf-fade-up .34s ease both;
}

.auth-brand-panel__content ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.auth-brand-panel__content li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
  font-weight: 600;
}

.auth-brand-panel__content li .auth-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #6ee7a5;
}

.auth-brand-panel__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: clamp(20px, 2.4vw, 34px);
}

.auth-brand-panel__screenshot {
  position: absolute;
  top: 0;
  right: clamp(-140px, -8vw, -40px);
  left: 0;
  overflow: hidden;
  transform-origin: top left;
  transform: perspective(1500px) rotateY(-13deg) rotateX(3deg);
  border-radius: 16px 0 0 0;
  background: #273f3b;
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .75);
}

.auth-brand-panel__screenshot img {
  display: block;
  width: 100%;
}

.auth-brand-panel__toast {
  position: absolute;
  bottom: clamp(6px, 1.6vw, 26px);
  left: clamp(-14px, -1vw, 0px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px 11px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .55);
  animation: sbf-float 6s ease-in-out infinite;
}

.auth-brand-panel__toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #00a94f;
  color: #ffffff;
}

.auth-brand-panel__toast-icon .auth-icon {
  width: 16px;
  height: 16px;
}

.auth-brand-panel__toast b {
  display: block;
  color: #0e1512;
  font-size: 13px;
  font-weight: 700;
}

.auth-brand-panel__toast small {
  display: block;
  margin-top: 2px;
  color: #6b756f;
  font-size: 12px;
}

@keyframes sbf-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sbf-spin {
  to { transform: rotate(360deg); }
}

@keyframes sbf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-mode, .auth-brand-panel__content h2, .auth-brand-panel__toast, .auth-spinner {
    animation: none;
  }
}

@media (max-width: 980px) {
  .auth-brand-panel {
    position: relative;
    height: auto;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .auth-page {
    padding: 16px;
  }

  .auth-form-col {
    min-height: 0;
    padding: 14px 4px;
  }

  .auth-brand-panel__visual {
    display: none;
  }
}

.auth-page [hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #fff;
  color: #0e1512;
  caret-color: transparent;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input,
textarea,
[contenteditable]:not([contenteditable="false"]) {
  caret-color: auto;
}

.auth-page,
.auth-page button,
.auth-page input,
.auth-page select {
  font-family: inherit;
}

.auth-page,
.auth-page *,
.auth-page *::before,
.auth-page *::after {
  box-sizing: border-box;
}

.auth-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecea;
  color: #9b2c2c;
  font-size: 13.5px;
  line-height: 1.45;
}

.auth-alert p {
  margin: 0;
}

.auth-alert p + p {
  margin-top: 6px;
}

.auth-alert--info {
  background: #e7f3ec;
  color: #027a3b;
}

.auth-field--invalid .auth-field__control {
  border-color: #e4694a;
}