* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #20252a;
}

body {
    min-height: 100vh;
    background: #eff8fd;
}

.page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 94px 16px 32px;
    background:
        linear-gradient(to bottom, #9ed8f7 0, #d7effd 245px, #eff8fd 370px, #eff8fd 100%);
}

.sky {
    position: absolute;
    inset: 0 0 auto;
    height: 260px;
    overflow: hidden;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 50% 110%, rgba(255,255,255,.42), transparent 57%),
      linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.16));
}

.cloud {
    position: absolute;
    display: block;
    width: 130px;
    height: 28px;
    border-radius: 50px;
    background: rgba(255,255,255,.72);
    filter: blur(1px);
}
.cloud::before, .cloud::after {
    content: "";
    position: absolute;
    bottom: 8px;
    border-radius: 50%;
    background: inherit;
}
.cloud::before { width: 48px; height: 42px; left: 22px; }
.cloud::after { width: 62px; height: 52px; left: 52px; }
.cloud-one { top: 72px; left: -55px; transform: scale(.72); }
.cloud-two { top: 165px; right: -48px; transform: scale(1.12); }
.cloud-three { top: 35px; right: 8%; transform: scale(.55); opacity: .75; }

.login-card {
    position: relative;
    z-index: 1;
    width: min(272px, 100%);
    margin: 0 auto;
    padding: 15px 20px 18px;
    background: rgba(239, 247, 255, .92);
    border: 1px solid rgba(190, 211, 229, .85);
    box-shadow: 0 2px 5px rgba(49, 88, 119, .16);
}

.login-card h1 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #20252a;
}

.field-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
}

.field-row label {
    font-size: 7px;
    color: #26323b;
}

.field-row input {
    width: 100%;
    height: 16px;
    border: 1px solid #d4dce3;
    border-radius: 0;
    background: #fff;
    padding: 1px 5px;
    font-size: 11px;
    outline-color: #8abce7;
}

button {
    display: block;
    margin: 20px auto 0;
    min-width: 43px;
    padding: 3px 9px;
    border: 1px solid #9bbbd9;
    border-radius: 0;
    background: #d9ebfb;
    color: #245b8b;
    font-size: 9px;
    line-height: 1.2;
    cursor: pointer;
}

button:hover { background: #c9e2f8; }

.notice {
    margin: -5px 0 12px;
    padding: 6px;
    font-size: 10px;
    line-height: 1.4;
    background: #e2f3e8;
    color: #205b35;
}
.notice.error { background: #fff0ef; color: #8a2822; }

.setup-card { width: min(340px, 100%); }
.setup-card label { display: block; margin: 10px 0 4px; font-size: 11px; }
.setup-card input {
    width: 100%; height: 30px; border: 1px solid #d4dce3;
    padding: 5px 8px; background: #fff;
}
.welcome { text-align: center; font-size: 12px; }
.logout { display: block; text-align: center; font-size: 11px; color: #245b8b; }

footer {
    position: absolute;
    left: 5px;
    bottom: 18px;
    z-index: 1;
    color: #667783;
    font-size: 6px;
}

@media (min-width: 700px) {
    .page { padding-top: 100px; }
}
