/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Authentication pages only; forms, policy notices and validation stay intact. */
body:is(#page-login-index, #page-login-signup) #page-footer,
body:is(#page-login-index, #page-login-signup) .login-footer {
    display: none !important;
}
body:is(#page-login-index, #page-login-signup) .login-container a,
body:is(#page-login-index, #page-login-signup) #region-main a {
    color: #f7941d !important;
}
body:is(#page-login-index, #page-login-signup) :is(.btn-primary, .btn-secondary, #loginbtn, #id_submitbutton) {
    background-color: #f7941d !important;
    border-color: #f7941d !important;
    color: #17212d !important;
    background-image: none !important;
}
body:is(#page-login-index, #page-login-signup) :is(.btn-primary, .btn-secondary, #loginbtn, #id_submitbutton):hover {
    background-color: #f7941d !important;
    border-color: #f7941d !important;
    box-shadow: 0 2px 8px #17212d26;
}
/* Button links must override the orange plain-link rule above. */
body:is(#page-login-index, #page-login-signup) #region-main a:is(.btn-primary, .btn-secondary) {
    color: #17212d !important;
}

/* Keep the feature strip after the form, never fixed over form controls. */
body:is(#page-login-index, #page-login-signup) #page-wrapper {
    display: flex; flex-direction: column; min-height: 100svh; height: auto;
}
body:is(#page-login-index, #page-login-signup) #page {
    order: 1; flex: 1 0 auto; height: auto !important; min-height: 0;
    overflow: visible; padding-bottom: 32px;
}
body:is(#page-login-index, #page-login-signup) #page-wrapper > .gda-auth-feature-strip {
    order: 2; width: 100%; flex-shrink: 0;
}
