:root {
  color: #20211f;
  background: #f4f1ee;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }

.admin-login-shell {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(440px, 1.18fr);
  min-height: 100vh;
}

.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 52px clamp(36px, 6vw, 86px);
  color: #fff;
  background: #173b33;
}

.login-brand::after {
  position: absolute;
  right: -12%;
  bottom: -12%;
  width: 52%;
  aspect-ratio: 1;
  border: 70px solid rgba(243, 185, 78, .17);
  border-radius: 50%;
  content: "";
}

.login-brand > a {
  position: absolute;
  z-index: 1;
  top: 38px;
  left: clamp(36px, 6vw, 86px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.login-brand > a i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ee6042;
  box-shadow: 9px 0 0 #f3b94e;
}

.login-brand > a strong { font-size: 19px; }
.login-brand > a span { color: #7dd3ac; }
.login-brand > div { position: relative; z-index: 1; }

.login-brand p,
.login-copy > p {
  margin: 0 0 16px;
  color: #8fd5b7;
  font-size: 12px;
  font-weight: 800;
}

.login-brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.08;
}

.login-brand > div > span {
  display: block;
  margin-top: 24px;
  color: #d9ebe4;
  font-size: 15px;
  line-height: 1.7;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(42px, 10vw, 150px);
  background: #fff;
}

.login-copy { max-width: 460px; }
.login-copy > p { color: #ed6044; }
.login-copy h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.2; }
.login-copy > span { color: #747670; font-size: 15px; }
form { width: 100%; max-width: 460px; margin-top: 38px; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.password-field { position: relative; }

.password-field input {
  width: 100%;
  height: 52px;
  padding: 0 68px 0 15px;
  border: 1px solid #d7d9d3;
  border-radius: 6px;
  outline: none;
  color: #20211f;
  background: #fbfcf9;
}

.password-field input:focus {
  border-color: #16765b;
  box-shadow: 0 0 0 3px rgba(22, 118, 91, .12);
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 9px;
  height: 36px;
  border: 0;
  color: #16765b;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.form-error { margin: 14px 0 0; color: #b63b2d; font-size: 13px; line-height: 1.5; }

.submit-button {
  width: 100%;
  height: 52px;
  margin-top: 26px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #20211f;
  font-weight: 750;
  cursor: pointer;
}

.submit-button:hover { background: #16765b; }
.submit-button:disabled { opacity: .6; cursor: wait; }

@media (max-width: 760px) {
  .admin-login-shell { display: block; }
  .login-brand { min-height: 34vh; padding: 90px 24px 32px; }
  .login-brand > a { top: 26px; left: 24px; }
  .login-brand h1 { font-size: 36px; }
  .login-brand > div > span { margin-top: 14px; font-size: 13px; }
  .login-panel { min-height: 66vh; padding: 50px 24px; }
  .login-copy h2 { font-size: 28px; }
  form { margin-top: 30px; }
}
