@font-face {
  font-family: 'Borsok';
  src: url('../fonts/boorsok.otf') format('opentype'),
       url('../fonts/boorsok.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Poppins", Arial, sans-serif;
  background: #fff;
  color: #111;
}
a { color: inherit; }
button, input { font: inherit; }
.login-shell {
  min-height: 100vh;
  background: linear-gradient(to bottom, #001eaa 0 49%, #fff 49% 100%);
}
.login-hero {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 49vh;
  padding: 52px 24px 180px;
  color: #fff;
  text-align: center;
}
.login-logo {
  display: block;
  width: 122px;
  margin-bottom: 34px;
}
.login-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.login-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}
.login-hero p {
  margin: 20px 0 0;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.35;
}
.login-panel-wrap {
  display: grid;
  justify-items: center;
  margin-top: -126px;
  padding: 0 22px 48px;
}
.login-card {
  width: min(100%, 420px);
  min-height: 420px;
  padding: 23px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 11px 24px rgba(0,0,0,.17);
}
.login-card label {
  display: block;
  margin: 0 0 6px;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}
.login-card input {
  display: block;
  width: 100%;
  height: 47px;
  margin: 0 0 24px;
  padding: 9px 11px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 17px;
  outline: none;
  box-shadow: inset 0 1px 4px rgba(0,0,0,.08);
}
.login-card input:focus {
  border-color: #0057c8;
  box-shadow: 0 0 0 3px rgba(0,87,200,.16), inset 0 1px 4px rgba(0,0,0,.08);
}
.login-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 51px;
  border: 0;
  border-radius: 999px;
  background: #0057c8;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  margin: 26px 0 18px;
}
.login-divider span {
  display: block;
  height: 1px;
  background: #cfcfcf;
}
.login-divider strong {
  color: #222;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}
.login-socials {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 23px;
}
.login-socials button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border: 2px solid #d2d2d2;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.login-socials svg {
  display: block;
  width: 33px;
  height: 33px;
}
.login-helper {
  margin: 0 0 14px;
  color: #8b8b8b;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.login-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  width: min(100%, 287px);
  min-height: 50px;
  margin: 0 auto;
  border: 2px solid #d2d2d2;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.login-microsoft svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}
.login-legal {
  margin: 40px 0 0;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.login-legal a {
  color: #0057c8;
  font-weight: 800;
  text-decoration: none;
}
.login-site-footer {
  background: #001eaa;
  color: #fff;
  padding: 58px clamp(22px, 5vw, 72px) 50px;
}
.login-footer-grid {
  display: grid;
  grid-template-columns: minmax(150px, .85fr) minmax(170px, 1.1fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: flex-start;
}
.login-footer-brand img {
  display: block;
  width: 132px;
  max-width: 100%;
}
.login-footer-copyright {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.login-footer-copyright span {
  font-size: 20px;
  line-height: 1;
}
.login-footer-col h2 {
  margin: 0 0 26px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.login-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 30px;
  margin-bottom: 26px;
  padding: 10px 18px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 9px;
  background: #001eaa;
  color: #fff;
  font-size: 17px;
  font-weight: 550;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.login-footer-col ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.login-footer-col li,
.login-footer-col a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.login-footer-col .login-footer-button {
  font-size: 17px;
  font-weight: 550;
  line-height: 1;
}
.login-footer-socials {
  display: flex !important;
  gap: 14px !important;
  align-items: center;
}
.login-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
@media (max-width: 680px) {
  .login-shell { background: linear-gradient(to bottom, #001eaa 0 46%, #fff 46% 100%); }
  .login-hero { min-height: 49vh; padding: 52px 24px 180px; }
  .login-logo { width: 96px; margin-bottom: 24px; }
  .login-panel-wrap { margin-top: -92px; padding-inline: 14px; }
  .login-card { min-height: auto; padding: 24px 20px; border-radius: 16px; }
  .login-card label { font-size: 19px; }
  .login-card input { height: 54px; margin-bottom: 22px; font-size: 18px; }
  .login-primary { min-height: 58px; font-size: 19px; }
  .login-divider { margin: 26px 0 20px; }
  .login-divider strong { font-size: 18px; }
  .login-socials { gap: 8px; }
  .login-socials button { width: 56px; height: 56px; }
  .login-socials svg { width: 30px; height: 30px; }
  .login-helper { font-size: 15px; }
  .login-microsoft { min-height: 56px; gap: 16px; font-size: 16px; }
  .login-legal { margin: 40px 0 0; font-size: 13px; }
  .login-site-footer { padding: 42px 22px 38px; }
  .login-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .login-footer-col h2 { margin-bottom: 18px; font-size: 18px; }
  .login-footer-button { margin-bottom: 20px; }
}
