* { box-sizing: border-box; }
html { min-height: 100%; background: linear-gradient(160deg, #1a9fa5 0%, #38c8cf 100%); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1e3436; }
main { width: 100%; max-width: 380px; padding: 40px 32px; background: white; border-radius: 24px; box-shadow: 0 8px 32px rgba(26,159,165,.18); }
#login-logo { display: block; margin: auto; border-radius: 18px; box-shadow: 0 4px 14px rgba(26,159,165,.18); cursor: pointer; user-select: none; -webkit-user-drag: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#login-logo:focus-visible { outline: 3px solid #38c8cf; outline-offset: 4px; }
h1 { margin: 10px 0 0; font-size: 22px; font-weight: 700; color: #1a9fa5; text-align: center; letter-spacing: 0; }
main > p { color: #8fa8aa; font-size: 13px; text-align: center; margin: 4px 0 32px; }
label { display: block; font-size: 12px; font-weight: 600; color: #4d6b6e; text-transform: uppercase; margin: 0 0 6px; }
input { width: 100%; min-width: 0; padding: 12px 14px; font-family: inherit; font-size: 15px; color: #1e3436; background: #fff; border: 1.5px solid #dde7e8; border-radius: 8px; margin-bottom: 16px; appearance: none; }
input:focus { outline: 2px solid #38c8cf; outline-offset: 2px; }
button { width: 100%; padding: 13px 22px; font-family: inherit; font-size: 15px; font-weight: 600; color: white; border: 0; border-radius: 14px; background: #1a9fa5; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
#login-error { font-size: 14px; color: #b32626; overflow-wrap: anywhere; }
#login-error:empty { display: none; }
#login-refresh-status { position: fixed; z-index: 9999; left: 50%; bottom: max(120px, calc(env(safe-area-inset-bottom) + 24px)); width: max-content; max-width: calc(100vw - 24px); padding: 12px 20px; border: 0; border-radius: 100px; background: #1e3436; box-shadow: 0 4px 20px rgba(0,0,0,.25); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: center; overflow-wrap: break-word; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
#login-refresh-status:not(:empty) { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
