@font-face {
  font-family: Vazirmatn;
  src: url("assets/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #172b35;
  background: #edf1f2;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(16px, 5vw, 64px);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 15% 0%, #fcf8ec, transparent 52%);
}

.login-shell {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe3e6;
  border-radius: 26px;
  box-shadow: 0 22px 65px #152e391c;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background: linear-gradient(145deg, #10212b 18%, #234350 100%);
}

.brand-mark {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
}

.brand-mark img {
  display: block;
  width: 118px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.eyebrow {
  color: #f0c770;
  direction: ltr;
  text-align: right;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.brand-copy h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  font-weight: 850;
}

.brand-copy > p:last-child {
  margin: 0;
  color: #d3e0e3;
  font-size: .95rem;
  line-height: 1.9;
}

.court-lines {
  position: absolute;
  z-index: -1;
  inset-block-end: -90px;
  inset-inline-end: -110px;
  width: 360px;
  height: 265px;
  border: 1px solid #f0c77045;
  border-radius: 50px;
  transform: rotate(-32deg);
  box-shadow: 0 0 0 18px #f0c77016, 0 0 0 38px #f0c7700e;
}

.form-panel { padding: clamp(26px, 5vw, 60px); }
.form-kicker { margin: 0; color: #80590e; font-weight: 750; font-size: .83rem; }
h1 { margin: 6px 0 4px; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.4; }
.intro { margin: 0; color: #526670; font-size: .94rem; }
form { display: grid; margin-top: 28px; }
label { margin-bottom: 7px; font-size: .89rem; font-weight: 700; }

input, button {
  width: 100%;
  min-height: 49px;
  border-radius: 10px;
  font: inherit;
}

input {
  margin-bottom: 17px;
  padding: 9px 13px;
  border: 1px solid #cbd6db;
  background: #f8fafb;
  color: #172b35;
}

input:focus, button:focus-visible {
  outline: 2px solid #936018;
  outline-offset: 2px;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid transparent;
  background: #efc36b;
  color: #232014;
  font-weight: 800;
  cursor: pointer;
}

button:hover { background: #e8b659; }

.form-error {
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid #f2c3bb;
  border-radius: 9px;
  background: #fff3f1;
  color: #922b20;
  font-size: .86rem;
}

@media (max-width: 650px) {
  .login-shell { grid-template-columns: 1fr; border-radius: 18px; }
  .brand-panel { gap: 14px; padding: 22px 26px; }
  .brand-mark img { width: 94px; max-height: 36px; }
  .brand-copy h2 { margin: 6px 0; font-size: 1.55rem; }
  .brand-copy br, .brand-copy > p:last-child { display: none; }
  .eyebrow { margin: 0; }
  form { margin-top: 21px; }
}

.install-sunsport { margin-top: 14px; background: #edf3f5; color: #304957; }
[data-install-sunsport][hidden] { display: none; }
