* { box-sizing: border-box; }

:root {
  font-family: Karla, Arial, sans-serif;
  color: #111318;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-width: 320px; min-height: 100vh; margin: 0; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 52px clamp(28px, 8vw, 104px); }
.auth-content { width: 100%; max-width: 420px; }
.auth-title { margin: 0 0 30px; text-align: center; font-size: 26px; font-weight: 400; line-height: 1.2; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; line-height: 1.3; }
.field input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d5d9df; border-radius: 4px; outline: none; background: #fff; box-shadow: 0 1px 2px #10182818; color: #16181d; font: inherit; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #a0a9b8; }
.field input:focus { border-color: #727d8d; box-shadow: 0 0 0 3px #34405418; }
.submit-button { min-height: 44px; margin-top: 7px; border: 0; background: #050505; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; }
.submit-button:hover:not(:disabled) { background: #292929; }
.submit-button:disabled { cursor: not-allowed; opacity: 1; background: #050505; color: #fff; }
.turnstile-widget { display: flex; justify-content: center; width: 100%; min-height: 65px; }
.form-message { min-height: 18px; margin: 0; color: #33623a; font-size: 12px; line-height: 1.4; text-align: center; }
.form-message:empty { display: none; }
.form-message-error { color: #b42318; }
.oauth-turnstile { margin-top: 14px; }
.separator { display: flex; align-items: center; gap: 12px; margin: 15px 0; color: #777f8b; font-size: 11px; white-space: nowrap; }
.separator span:first-child, .separator span:last-child { height: 1px; flex: 1; background: #d5d9df; }
.oauth-buttons { display: flex; justify-content: center; gap: 12px; }
.oauth-button { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid #d2d7df; border-radius: 50%; background: #fff; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.oauth-button:hover { border-color: #aeb5c0; background: #f7f8fa; }
.oauth-button:hover { transform: translateY(-1px); }
.oauth-button:focus-visible { outline: 3px solid #a9b8cc; outline-offset: 3px; }
.oauth-button img { width: 20px; height: 20px; object-fit: contain; }
.auth-switch { margin: 31px 0 0; text-align: center; color: #363a42; font-size: 12px; }
.auth-switch a { color: #111318; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-art { position: relative; min-height: 100vh; overflow: hidden; background: #18212a; box-shadow: -8px 0 28px #17202b16; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-panel { min-height: 100vh; padding: 44px 28px; }
  .auth-art { display: none; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .auth-panel { align-items: flex-start; padding-top: 30px; padding-bottom: 30px; }
}

