/* os-i.uk login. Sits on the same shell as the homepage. */
[hidden] { display: none !important; }
.hero { position: relative; display: flex; align-items: center; justify-content: center; }
.hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrim { position: absolute; inset: 0; background: rgba(10,10,12,.62); }

.card {
    position: relative; z-index: 1;
    width: 300px; max-width: calc(100vw - 40px);
    background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
    padding: 22px 22px 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    display: flex; flex-direction: column;
}
.card { position: relative; }
.close {
    position: absolute; top: 9px; right: 9px;
    width: 26px; height: 26px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
}
.close:hover { background: var(--tint); color: var(--text); }
.close svg { width: 14px; height: 14px; }
.card label {
    font-size: 11px; color: var(--muted); margin-bottom: 5px;
}
.card label + input { margin-bottom: 14px; }
.card input {
    background: var(--tint); color: var(--text);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 9px 11px; font-size: 14px; font-family: inherit; outline: none;
}
.card input:focus { border-color: var(--accent); }
.codewrap { display: flex; flex-direction: column; }
.codewrap input { letter-spacing: 4px; }

.go {
    margin-top: 4px; padding: 10px; border: 0; border-radius: 8px;
    background: var(--accent); color: #fff;
    font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer;
}
.go:hover { background: var(--accent2); }
.go[disabled] { opacity: .55; cursor: default; }

.err {
    margin: 0 0 12px; font-size: 12px; line-height: 1.45;
    color: #e07a7a; background: #3a1e1e; border-radius: 7px; padding: 8px 10px;
}
.help {
    margin: 14px 0 0; font-size: 11px; color: var(--muted); text-align: center;
}
