* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  background: linear-gradient(135deg, #161d38 0%, #eef1f4 51%, #dfe5ea 100%);
  color: #0f172a;
}

a {
  color: var(--yoz-primary);
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.auth-body {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  padding: 34px;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 1440px);
  height: min(1086px, calc(100vh - 68px));
  min-height: 760px;
  display: grid;
  grid-template-columns: 560px 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgb(15 23 42 / 18%);
}

.auth-form-panel {
  min-width: 0;
  padding: 74px 72px 58px;
  display: flex;
  flex-direction: column;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #101525;
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
}

.brand img {
  display: block;
}

.auth-heading {
  margin-top: 80px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 9px 16px;
  color: #7457ff;
  background: #efeaff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
}

.auth-heading h1 {
  margin: 0;
  max-width: 390px;
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: 0;
  color: #0d1324;
  font-weight: 950;
}

.auth-heading p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 0;
  color: #59677f;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.social-login {
  margin-top: 54px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0f172a;
  border: 1px solid #dbe2ee;
  border-radius: 10px;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 3px 8px rgb(15 23 42 / 5%);
}

.google-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #4285f4;
  font-weight: 950;
  font-style: normal;
}

.divider {
  margin: 36px 0 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #59677f;
  font-size: 16px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dde4ef;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #5c6980;
  font-size: 15px;
  font-weight: 900;
}

.field input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  color: #111827;
  background: #f5f7fb;
  border: 1px solid #dbe2ee;
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus {
  background: #ffffff;
  border-color: #7357ff;
  box-shadow: 0 0 0 4px rgb(108 92 255 / 14%);
}

.form-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #59677f;
  font-size: 15px;
  font-weight: 600;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #202124;
}

.primary-button {
  height: 62px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #6f55ff, #8953f5);
  border: 0;
  border-radius: 10px;
  font-weight: 950;
  font-size: 16px;
  box-shadow: 0 18px 32px rgb(108 92 255 / 24%);
  cursor: pointer;
}

.primary-button:hover {
  background: linear-gradient(135deg, #604bef, #7b49e9);
}

.switch-link {
  margin: 26px 0 0;
  color: #59677f;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.switch-link a {
  font-weight: 800;
}

.auth-footer {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #59677f;
  font-size: 16px;
  font-weight: 600;
}

.auth-footer button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.auth-visual {
  position: relative;
  min-height: 100%;
  padding: 92px 94px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgb(28 24 55 / 30%) 0%, rgb(13 17 38 / 78%) 100%),
    url("/themes/default/assets/img/auth-hero.png?v=2") center / cover;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(52 43 114 / 64%) 0%, rgb(57 48 111 / 48%) 34%, rgb(20 20 42 / 22%) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 5%) 0%, rgb(13 17 38 / 80%) 100%);
}

.visual-content,
.feature-strip {
  position: relative;
  z-index: 1;
}

.visual-content {
  max-width: 680px;
  margin-top: 32px;
}

.visual-content > span {
  display: inline-flex;
  margin-bottom: 44px;
  padding: 10px 18px;
  color: #7357ff;
  background: rgb(255 255 255 / 90%);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 950;
}

.visual-content h2 {
  margin: 0;
  max-width: 660px;
  font-size: 62px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 950;
}

.visual-content p {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 92%);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 650;
}

.feature-strip {
  width: min(100%, 690px);
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  align-self: center;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 18px;
  background: rgb(12 18 38 / 78%);
  backdrop-filter: blur(20px);
}

.feature-strip div {
  padding: 28px 22px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.feature-strip div + div {
  border-left: 1px solid rgb(255 255 255 / 16%);
}

.feature-strip strong {
  font-size: 20px;
  font-weight: 950;
}

.feature-strip span {
  color: rgb(255 255 255 / 78%);
  font-size: 16px;
  font-weight: 500;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }

  body {
    background: linear-gradient(135deg, #151b35 0%, #eef1f4 51%, #dfe5ea 100%);
  }
}

@media (max-width: 1080px) {
  .auth-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .auth-visual {
    min-height: 520px;
    order: -1;
  }
}

@media (max-width: 680px) {
  .auth-shell {
    padding: 0;
  }

  .auth-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-form-panel {
    padding: 34px 24px 36px;
  }

  .auth-heading {
    margin-top: 46px;
  }

  .auth-heading h1 {
    font-size: 42px;
  }

  .auth-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .auth-visual {
    min-height: 460px;
    padding: 42px 24px;
  }

  .visual-content h2 {
    font-size: 42px;
  }

  .visual-content p {
    font-size: 16px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip div {
    padding: 16px;
  }

  .feature-strip div + div {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 16%);
  }
}
