/*
 * KSIT theme for the staff sign-in card (see ksit-theme.css for the panel itself). The background
 * photo is whatever Admin has configured (by default a plain KSIT ground, scp/logo.php); the card
 * becomes a clean white KSIT panel with large
 * fields and a navy button. Remove the <link> in include/staff/login.header.php to roll back.
 */
:root {
    --ksit-navy: #164b7e;
    --ksit-navy-deep: #0f375f;
    --ksit-ink: #1b2633;
    --ksit-muted: #5f6f82;
    --ksit-line: #dbe2eb;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

#loginBox {
    width: 420px;
    margin-left: -210px;
    padding: 28px 32px 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 60px -20px rgba(10, 30, 55, 0.55);
    color: var(--ksit-ink);
}
#loginBox:after, #blur { display: none; }
#logo a img { max-height: 84px; }
#login-message { color: var(--ksit-ink); font-size: 18px; font-weight: 600; }

#loginBox form { width: auto; max-width: 320px; }   /* stock: a fixed 220px form */
#loginBox input[type=text],
#loginBox input[type=password] {
    width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid var(--ksit-line);
    border-radius: 10px;
    background: #fff;
    color: var(--ksit-ink);
    font-size: 16px;
}
#loginBox input[type=text]:focus,
#loginBox input[type=password]:focus { outline: 2px solid var(--ksit-navy); outline-offset: 1px; border-color: var(--ksit-navy); }

#loginBox button[type=submit] {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--ksit-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
#loginBox button[type=submit]:hover { background: var(--ksit-navy-deep); }
#reset-link { font-size: 14px; color: var(--ksit-navy); }

@media (max-width: 480px) {
    #loginBox {
        width: calc(100% - 24px);
        left: 12px;
        margin-left: 0;
        top: 8%;
        padding: 22px 18px;
    }
}

/* The osTicket badge under the sign-in card: KSIT branding only (rollout item 6) */
#poweredBy { display: none; }
