/* Match the legacy profile dropdown without depending on Bootstrap form layout. */
.gk-header-login {
    position: absolute;
    right: 0;
    top: 60px;
    box-sizing: border-box;
    width: 360px;
    max-width: calc(100vw - 30px);
    padding: 16px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
}
.gk-login-fields {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.gk-login-fields label { margin: 0; text-align: right; }
.gk-login-fields input.inputbox { width: 100%; min-width: 0; height: 28px; box-sizing: border-box; }
.gk-login-actions { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.gk-header-login .button {
    display: inline-block;
    margin: 0;
    padding: 0 12px;
    min-width: 70px;
    height: 28px;
    line-height: 28px;
    border: 0;
    border-radius: 5px;
    background: var(--white-label-theme-primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
@media only screen and (max-device-width: 1023px) {
    .gk-header-login { top: 48px; width: calc(100% - 30px); }
}
