@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.me-auth-body {
  margin: 0;
  min-height: 100vh;
  background: #fafaf8;
  color: #1f1f1f;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.me-auth-body * { box-sizing: border-box; }
.me-auth-page { min-height: 100vh; min-height: 100dvh; }
.me-auth-split {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.me-auth-brand {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1f1f1f 0%, #2c241c 48%, #ee7300 140%);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  align-items: center;
}
.me-auth-brand__glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(238,115,0,.45), transparent 70%);
  pointer-events: none;
  animation: me-auth-glow 8s ease-in-out infinite alternate;
}
.me-auth-brand__inner { position: relative; z-index: 1; max-width: 420px; }
.me-auth-brand__logo {
  display: inline-block;
  margin-bottom: 36px;
}
.me-auth-brand__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.me-auth-brand__eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
}
.me-auth-brand__tagline {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.me-auth-brand__sub {
  margin: 0 0 28px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  font-size: 15px;
}
.me-auth-brand__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.me-auth-brand__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.me-auth-brand__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ee7300;
}

.me-auth-form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
}
.me-auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 16px;
  padding: 32px 28px;
  animation: me-auth-up .45s ease both;
}
.me-auth-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #ee7300;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.me-auth-card__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ee7300;
  display: inline-block;
}
.me-auth-card__title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.me-auth-card__sub {
  margin: 0 0 24px;
  color: #5f6b76;
  line-height: 1.5;
  font-size: 14px;
}

.me-auth-form { display: grid; gap: 14px; }
.me-auth-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}
.me-auth-field input {
  width: 100%;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  background: #fafaf8;
  color: #1f1f1f;
  transition: border-color .15s, box-shadow .15s;
}
.me-auth-field input:focus {
  outline: none;
  border-color: #ee7300;
  box-shadow: 0 0 0 3px rgba(238,115,0,.15);
  background: #fff;
}
.me-auth-field em {
  min-height: 0;
  color: #b42318;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
}
.me-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.me-auth-row a { color: #ee7300; font-weight: 600; text-decoration: none; }
.me-auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #5f6b76;
}
.me-auth-check--block { display: flex; }
.me-auth-check input { margin-top: 2px; }
.me-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 13px 18px;
  background: #ee7300;
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.me-auth-submit:hover { background: #d96700; }
.me-auth-submit:disabled { opacity: .65; cursor: wait; }
.me-auth-submit--ghost {
  background: transparent;
  color: #1f1f1f !important;
  border: 1px solid #e8e6e3;
}
.me-auth-submit--ghost:hover { background: #fafaf8; }

.me-auth-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #f4f1ee;
  color: #1f1f1f;
}
.me-auth-notice--ok {
  background: #eaf5ef;
  border: 1px solid #c6e2d1;
  color: #1f5c38;
}
.me-auth-notice--err {
  background: #fdecec;
  border: 1px solid #f3c1c1;
  color: #8a1c1c;
}
.me-auth-success {
  text-align: center;
  padding: 8px 0 4px;
}
.me-auth-success[hidden],
.me-auth-form[hidden],
.me-auth-notice[hidden],
.me-auth-resend[hidden] {
  display: none !important;
}
.me-auth-success h2 { margin: 0 0 10px; font-size: 1.25rem; }
.me-auth-success p { color: #5f6b76; line-height: 1.5; }
.me-auth-success .me-auth-submit { margin-top: 16px; width: auto; padding-inline: 22px; }
.me-auth-switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: #5f6b76;
}
.me-auth-switch a { color: #ee7300; font-weight: 700; text-decoration: none; }
.me-auth-legal {
  margin: 18px auto 0;
  max-width: 440px;
  text-align: center;
  font-size: 13px;
}
.me-auth-legal a { color: #5f6b76; text-decoration: none; }
.me-auth-resend {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8e6e3;
}
.me-auth-resend > p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5f6b76;
  font-weight: 600;
}
.me-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@keyframes me-auth-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes me-auth-glow {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(-18px,-10px) scale(1.08); }
}

@media (max-width: 900px) {
  .me-auth-split { grid-template-columns: 1fr; }
  .me-auth-brand {
    min-height: auto;
    padding: 28px 24px 24px;
  }
  .me-auth-brand__tagline { font-size: 1.45rem; }
  .me-auth-brand__list { display: none; }
  .me-auth-form-col { padding: 24px 16px 40px; }
}
