:root {
  color-scheme: light;
  --navy: #075c56;
  --blue: var(--brand-primary, #137f76);
  --blue-light: #20a99c;
  --orange: var(--brand-secondary, #f6a000);
  --orange-dark: #d98d00;
  --white: #ffffff;
  --muted: #64748b;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #e7eef8;
}

button,
input {
  font: inherit;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.8fr);
}

.brand-panel {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 18%, rgba(32, 169, 156, 0.72), transparent 32%),
    linear-gradient(145deg, #064b46 0%, #137f76 55%, #075c56 100%);
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.brand-panel::before {
  width: 520px;
  height: 520px;
  top: -230px;
  right: -140px;
  box-shadow: 0 0 0 70px rgba(255,255,255,0.025), 0 0 0 150px rgba(255,255,255,0.02);
}

.brand-panel::after {
  width: 360px;
  height: 360px;
  left: -180px;
  bottom: -160px;
  box-shadow: 0 0 0 60px rgba(255,255,255,0.025);
}

.brand-copy,
.robot-stage,
.brand-note {
  position: relative;
  z-index: 1;
}

.eyebrow,
.brand-copy h1,
.brand-copy .lead,
.brand-note,
.access-heading p,
.access-heading h2,
.access-help,
.login-status {
  margin: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: #d8fff8;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy h1 {
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.brand-copy h1 span {
  color: var(--orange);
}

.brand-copy .lead {
  max-width: 680px;
  margin-top: 20px;
  color: #effffc;
  font-size: clamp(19px, 2.2vw, 29px);
  font-weight: 700;
}

.robot-stage {
  min-height: 420px;
  display: grid;
  place-items: end center;
}

.robot-stage img {
  position: absolute;
  bottom: -12%;
  left: 50%;
  width: min(58%, 620px);
  max-height: 92%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.35));
}

.service-pill {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 92, 86, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 800;
}

.service-pill:nth-of-type(1) {
  top: 19%;
  left: 8%;
}

.service-pill:nth-of-type(2) {
  top: 47%;
  right: 7%;
}

.service-pill:nth-of-type(3) {
  bottom: 16%;
  left: 12%;
}

.brand-note {
  color: #d8fff8;
  font-size: 17px;
  font-weight: 700;
}

.access-panel {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 4vw, 58px);
  background: #f8fafc;
}

.access-card,
.support-card,
.contact-card,
.register-card {
  width: min(100%, 520px);
  margin: 0 auto;
}

.access-card {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid #dce5f0;
  border-top: 7px solid var(--orange);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(6, 31, 77, 0.16);
}

.access-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--orange), var(--orange-dark));
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.access-heading p {
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-heading h2 {
  margin-top: 4px;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.access-help {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #c7d4e4;
  border-radius: 11px;
  outline: none;
  background: #ffffff;
  color: var(--navy);
}

input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(15, 114, 204, 0.12);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 62px;
}

.password-field button {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #e9f2fc;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.remember-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.remember-line input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.recovery-link {
  width: fit-content;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.recovery-link:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-top: 22px;
}

.hidden {
  display: none !important;
}

.login-status {
  min-height: 22px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.login-status.ok {
  color: #08785c;
}

.login-submit {
  min-height: 54px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 13px 26px rgba(220, 76, 13, 0.24);
}

.login-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.support-card {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #eaf2fb;
  color: var(--blue);
}

.support-card span {
  color: var(--muted);
  font-size: 14px;
}

.contact-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--brand-primary, var(--blue));
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 32px rgba(6, 31, 77, 0.16);
}

.contact-card p {
  max-width: 390px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-phone {
  color: #ffffff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.contact-phone:hover {
  text-decoration: underline;
}

.register-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px 24px 4px;
  color: var(--navy);
  text-align: center;
}

.register-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.95;
}

.register-button {
  min-width: 210px;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--brand-secondary, var(--orange));
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 13px 26px rgba(220, 76, 13, 0.24);
}

.register-button:hover {
  filter: brightness(0.94);
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 430px;
    padding: 28px;
  }

  .robot-stage {
    min-height: 230px;
  }

  .robot-stage img {
    width: min(52%, 330px);
    bottom: -30%;
  }

  .service-pill {
    display: none;
  }

  .access-panel {
    min-height: auto;
    padding: 26px 18px 40px;
  }
}

@media (max-width: 520px) {
  .brand-panel {
    min-height: 360px;
  }

  .robot-stage img {
    width: min(70%, 300px);
  }

  .access-card {
    padding: 24px 20px;
    border-radius: 17px;
  }
}
