/* High-resolution transparent logo, scoped to the login page. */
body.task-login #logo {
    width: 340px;
    max-width: 86vw;
    height: auto;
    max-height: none;
    opacity: 1;
    filter: none;
}
html.dark-mode body.task-login #logo {
    filter: brightness(0) invert(1);
    opacity: .95;
}

/* Compact sidebar emblem, with no opaque tile behind it. */
#layout-menu #logo { width:48px; height:48px; object-fit:contain; opacity:1; filter:none; }
html.dark-mode #layout-menu #logo { filter:brightness(0) invert(1); opacity:.95; }
.cf-turnstile { margin:12px auto; max-width:100%; }

/* Login: fields, verification, then one full-width primary action. */
body.task-login #login-form > .form-group.row {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}
body.task-login #login-form .cf-turnstile { margin: 0 auto; }
body.task-login #login-form .formbuttons {
    display: block;
    float: none;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
}
body.task-login #rcmloginsubmit {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    min-height: 44px;
}
body.task-login #login-footer { display: none; }
