@import url("https://fonts.googleapis.com/css?family=Karla:400,700&display=swap");

* { box-sizing: border-box; }

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

html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; }
.auth-layout { display: flex; min-height: 100vh; width: 100%; background: #fff; }
.auth-panel { display: flex; width: 50%; min-height: 100vh; flex-direction: column; padding: 48px 8.4%; }
.brand { display: inline-flex; align-items: center; justify-content: center; align-self: center; margin: 0 auto 16px; text-decoration: none; }
.brand img { display: block; width: 62px; height: 62px; object-fit: contain; filter: brightness(0); }
.auth-content { display: flex; width: 100%; max-width: 440px; flex: 1; flex-direction: column; justify-content: center; align-self: center; padding: 40px 0; }
.auth-content h1 { margin: 0; color: #111; font-size: 32px; font-weight: 400; line-height: 1.2; text-align: center; }
.auth-form { display: flex; flex-direction: column; padding-top: 24px; }
.field { display: flex; flex-direction: column; padding-top: 16px; }
.field label { color: #222; font-size: 18px; line-height: 1.35; }
.field input { width: 100%; min-height: 44px; margin-top: 5px; padding: 9px 12px; border: 1px solid #c9c9c9; border-radius: 4px; background: #fff; color: #202020; font: inherit; font-size: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.field input::placeholder { color: #929292; }
.field input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.submit-button { min-height: 46px; margin-top: 30px; padding: 10px 16px; border: 0; background: #050505; color: #fff; cursor: pointer; font: inherit; font-size: 18px; font-weight: 700; transition: background-color 140ms ease; }
.submit-button:hover { background: #333; }
.submit-button:focus-visible, .auth-content a:focus-visible, .brand:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { display: none; margin: 12px 0 0; color: #555; font-size: 14px; line-height: 1.45; text-align: center; }
.form-status.is-visible { display: block; }
.social-label { margin: 20px 0 0; color: #777; font-size: 14px; line-height: 1.4; text-align: center; }
.social-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.social-button { display: inline-grid; width: 34px; height: 34px; place-items: center; padding: 3px; border: 0; background: transparent; cursor: pointer; transition: opacity 140ms ease, transform 140ms ease; }
.social-button:hover { opacity: .72; transform: translateY(-1px); }
.social-button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.social-button img { display: block; width: 28px; height: 28px; object-fit: contain; }
.auth-switch { margin: 46px 0 0; color: #222; font-size: 16px; line-height: 1.5; text-align: center; }
.auth-switch a { color: #111; font-weight: 700; text-underline-offset: 3px; }
.auth-session-id { display: block; margin-top: 14px; color: #888; font-size: 12px; }
.auth-session-id code { color: inherit; font: inherit; }
.image-panel { width: 50%; min-height: 100vh; overflow: hidden; box-shadow: -8px 0 30px rgba(0,0,0,.16); }
.image-panel video { display: block; width: 100%; height: 100vh; object-fit: cover; background: #080711; }

@media (max-width: 767px) {
    .auth-panel { width: 100%; min-height: 100vh; padding: 28px 24px; }
    .auth-content { max-width: 420px; padding: 36px 0 28px; }
    .image-panel { display: none; }
    .auth-switch { margin-top: 32px; }
}

@media (max-width: 380px) {
    .auth-panel { padding-right: 20px; padding-left: 20px; }
    .auth-content h1 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
