@font-face {
  font-family: "IRANYekanX";
  src: url("/fonts/IRANYekanX-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekanX";
  src: url("/fonts/IRANYekanX-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --blue: #3b82f6;
  --lime: #d7ec79;
  --bg-app: #f1f5f9;
  --bg-surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--ink);
  font-family: "IRANYekanX", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 43%) 1fr;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 44px clamp(44px, 7vw, 105px) 36px;
  overflow: hidden;
  color: #f7fbff;
  background: linear-gradient(145deg, #104080 0%, #1b5db7 48%, #1c6cc5 100%);
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}
.brand-panel::before {
  width: 590px;
  height: 590px;
  right: -265px;
  top: -196px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 64px rgba(255, 255, 255, 0.025),
    0 0 0 128px rgba(255, 255, 255, 0.025);
}
.brand-panel::after {
  width: 520px;
  height: 520px;
  left: -315px;
  bottom: -360px;
  background: rgba(194, 227, 71, 0.22);
  filter: blur(1px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  color: white;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.3px;
  text-decoration: none;
}
.mark {
  position: relative;
  display: flex;
  align-items: end;
  gap: 2px;
  width: 19px;
  height: 19px;
}
.mark i {
  display: block;
  width: 5px;
  border-radius: 5px;
  background: var(--lime);
  transform: skewY(-25deg);
}
.mark i:nth-child(1) {
  height: 9px;
}
.mark i:nth-child(2) {
  height: 14px;
}
.mark i:nth-child(3) {
  height: 19px;
}

.brand-copy {
  margin: auto 0;
  transform: translateY(9px);
}
.eyebrow,
.kicker {
  margin: 0 0 20px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.eyebrow {
  color: var(--lime);
}
h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(38px, 4.25vw, 64px);
  line-height: 1.11;
  letter-spacing: -3.4px;
  font-weight: 700;
}
.intro {
  max-width: 395px;
  margin: 24px 0 0;
  color: rgba(247, 251, 255, 0.77);
  font-size: 15px;
  line-height: 1.75;
}
.panel-note {
  margin: 0;
  color: rgba(247, 251, 255, 0.52);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.orbit {
  position: absolute;
  width: 245px;
  height: 245px;
  right: 9%;
  bottom: 6%;
  opacity: 0.82;
  transform: rotate(-15deg);
}
.orbit-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(237, 252, 166, 0.44);
  border-radius: 50%;
}
.ring-one {
  inset: 19px 0;
  transform: rotate(-31deg);
}
.ring-two {
  inset: 0 19px;
  transform: rotate(31deg);
}
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #e4f98f;
  box-shadow: 0 0 31px 9px rgba(218, 240, 113, 0.33);
}
.orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e4f98f;
}
.dot-one {
  left: 27px;
  top: 39px;
}
.dot-two {
  right: 28px;
  bottom: 49px;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 58px 28px;
  background: var(--paper);
}
.login-content {
  width: min(100%, 405px);
}
.welcome {
  margin-bottom: 37px;
}
.kicker {
  color: var(--blue);
  margin-bottom: 14px;
}
.welcome h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1.6px;
}
.welcome p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

form {
  display: grid;
  gap: 10px;
}
label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
input[type="email"],
input[type="password"] {
  width: 100%;
  height: 51px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 15px;
  color: var(--ink);
  background: white;
  outline: none;
  font:
    500 12px "IRANYekanX",
    Manrope,
    sans-serif;
  transition:
    border 0.18s,
    box-shadow 0.18s;
}
input::placeholder {
  color: #a6b0bb;
}
input:focus {
  border-color: #5790e5;
  box-shadow: 0 0 0 3px rgba(69, 133, 224, 0.14);
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.label-row a,
.signup a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.label-row a:hover,
.signup a:hover {
  text-decoration: underline;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px;
}
.visibility-toggle {
  position: absolute;
  top: 50%;
  right: 11px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  transform: translateY(-50%);
  color: #718093;
  background: transparent;
  cursor: pointer;
}
.visibility-toggle svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.form-options {
  padding: 3px 0 13px;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #647488;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.checkbox input {
  position: absolute;
  opacity: 0;
}
.checkbox span {
  width: 15px;
  height: 15px;
  border: 1px solid #b7c2cc;
  border-radius: 4px;
  background: white;
}
.checkbox input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px white;
}
.sign-in {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--ink);
  font:
    700 12px "IRANYekanX",
    Manrope,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.18s;
}
.sign-in:hover {
  background: #263d59;
}
.sign-in:active {
  transform: scale(0.99);
}
.sign-in span {
  color: var(--lime);
  font-size: 20px;
  line-height: 0;
}
.form-status {
  min-height: 17px;
  margin: 0;
  color: #c14242;
  font-size: 11px;
  text-align: center;
}
.form-status.success {
  color: #2e7d52;
}
.separator {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 23px 0;
  color: #98a4b0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.google-button {
  display: flex;
  width: 100%;
  height: 51px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #3e4d5e;
  background: white;
  font:
    13px "IRANYekanX",
    Manrope,
    sans-serif;
  cursor: pointer;
  transition:
    border 0.18s,
    background 0.18s;
}
.google-button:hover {
  border-color: #b6c2ce;
  background: #fbfcfd;
}
.google-button svg {
  width: 17px;
  height: 17px;
}
.signup {
  margin: 29px 0 0;
  color: #758396;
  font-size: 12px;
  text-align: center;
}
.signup a {
  margin-left: 3px;
}

@media (max-width: 800px) {
  .page-shell {
    grid-template-columns: 1fr;
  }
  .brand-panel {
    min-height: 290px;
    padding: 31px 32px;
  }
  .brand-copy {
    margin: auto 0 0;
    transform: none;
  }
  .brand-copy h1 {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -2px;
  }
  .intro,
  .orbit,
  .panel-note {
    display: none;
  }
  .login-panel {
    padding: 56px 27px;
  }
}
@media (max-width: 420px) {
  .brand-panel {
    min-height: 250px;
  }
  .welcome h2 {
    font-size: 28px;
  }
  .login-panel {
    padding: 45px 20px;
  }
}
