* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: #0082c9; color: #303030; font: 14px "Segoe UI", Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.wallpaper { position: fixed; inset: 0; z-index: -1; background: url("assets/clouds.jpg") center center / cover no-repeat; filter: brightness(1.23) saturate(1.08); }
.demo-label { position: fixed; top: 16px; right: 18px; padding: 5px 12px; border-radius: 20px; background: #ffffffdd; color: #075b82; font-size: 12px; font-weight: 600; }
main { position: absolute; top: 12.5vh; left: 61.55%; transform: translateX(-50%); width: 290px; display: flex; flex-direction: column; align-items: center; padding-bottom: 90px; }
.logo { display: block; width: 160px; height: 80px; margin: 0 0 23px; }
.card { width: 290px; padding: 15px 14px 7px; background: rgba(255,255,255,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid #ffffff35; border-radius: 26px; box-shadow: 0 2px 10px #003a5c20; }
h1 { margin: 0 0 23px; text-align: center; font-size: 18px; line-height: 25px; font-weight: 700; }
label { display: block; line-height: 20px; margin: 0 0 4px; white-space: nowrap; }
input { display: block; width: 100%; height: 33px; border: 2px solid #999; background: #fff; padding: 3px 9px; border-radius: 9px; outline: none; color: #222; }
input:focus { border-color: #0082c9; }
#username { margin-bottom: 11px; }
.password-field { position: relative; }
#password { padding-right: 36px; }
.show-password { display: grid; place-items: center; position: absolute; right: 2px; top: 2px; width: 30px; height: 29px; border: 0; border-radius: 7px; background: transparent; }
.show-password:hover { background: #eee; }
.submit { display: flex; align-items: center; justify-content: center; gap: 9px; height: 40px; width: 100%; margin: 14px 0 9px; border: 0; border-radius: 24px; background: #0076a8; color: #fff; font-weight: 700; }
.submit img { filter: invert(1); }
.submit:hover { background: #006894; }
.text-button { display: block; border: 0; width: 100%; min-height: 37px; background: transparent; border-radius: 8px; color: #303030; }
.text-button:hover { background: #ffffff55; }
.device { margin-bottom: 0; }
button:focus-visible { outline: 2px solid #006a9f; outline-offset: 3px; }
.message { font-size: 13px; line-height: 1.5; margin: 10px 0 6px; padding: 10px; border-radius: 9px; background: #ffffffcf; }
footer { position: fixed; bottom: 12px; left: 61.55%; transform: translateX(-50%); background: #ffffffdf; padding: 7px 22px; border-radius: 22px; box-shadow: 0 1px 10px #003a5c50; white-space: nowrap; font-size: 14px; line-height: 19px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) { main, footer { left: 50%; } }
@media (max-width: 420px) { footer { width: calc(100% - 28px); text-align: center; white-space: normal; font-size: 12px; padding-inline: 12px; } }
@media (max-height: 640px) { main { position: relative; top: auto; left: auto; transform: none; margin: 34px auto 0; padding-bottom: 24px; } footer { position: relative; left: auto; bottom: auto; transform: none; width: fit-content; max-width: calc(100% - 28px); margin: 0 auto 15px; white-space: normal; text-align: center; } }
