@font-face {
  font-family: "Maven Pro";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/maven-pro-latin.woff2") format("woff2");
}

.login-page {
  display: block;
  background: #fff;
  color: #151728;
  font-family: "Maven Pro", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
}

.login-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #2ea7ad;
}

.login-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.login-hub-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  width: clamp(220px, 20vw, 330px);
  gap: 8px;
  color: #fff;
  font-size: clamp(64px, 6.5vw, 110px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.03em;
  transform: translate(-50%, -50%);
}

.login-rota-logo {
  display: block;
  width: 100%;
  height: auto;
}

.login-hub-brand strong {
  color: #c8f66a;
  font-size: 1.16em;
  font-weight: 750;
  letter-spacing: .025em;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 72px 0;
  background: #fff;
}

.login-form-wrap {
  width: 80%;
  max-width: 620px;
  padding: 32px 70px;
}

.login-intro {
  margin-bottom: 28px;
  text-align: center;
}

.login-product {
  margin-bottom: 10px;
  color: #1e355f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.login-intro h1 {
  margin: 0;
  color: #278b91;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.login-description {
  margin-top: 8px;
  color: #58595b;
  font-size: 13px;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form .field label {
  margin-bottom: 5px;
  color: #247f86;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.login-form input:not([type="hidden"]) {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  color: #151728;
  font-size: 16px;
  line-height: 1.5;
}

.login-form input::placeholder {
  color: #727272;
  opacity: 1;
}

.login-form input:focus {
  border-color: #2ea7ad;
}

.login-form input:focus-visible,
.login-submit:focus-visible {
  outline: 3px solid #247f86;
  outline-offset: 3px;
}

.login-access-help {
  margin-top: -4px;
  color: #58595b;
  font-size: 12px;
  line-height: 1.6;
}

.login-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: #1e355f;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  transition: background .15s;
}

.login-submit:hover {
  background: #031c49;
}

.login-permission-help {
  margin-top: 20px;
  color: #58595b;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.login-footer {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #727272;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1050px) {
  .login-form-wrap { width: 100%; padding-inline: 48px; }
}

@media (max-width: 850px) {
  .login-layout { grid-template-columns: minmax(0, 1fr); }
  .login-visual { display: none; }
  .login-form-wrap { max-width: 500px; }
}

@media (max-width: 480px) {
  .login-form-wrap { padding: 28px 24px; }
  .login-panel { padding-block: 56px 72px; }
  .login-footer { right: 20px; bottom: 20px; left: 20px; }
}
