.qui-window-popup.quiqqer-masterlogin-userselect {
    --masterlogin-accent: var(--qui-colors-primary, #075ea8);
    --masterlogin-accent-hover: #064f8c;
    --masterlogin-border: #d9e1e8;
    --masterlogin-muted: #64748b;
    --masterlogin-surface: #fff;

    background: var(--masterlogin-surface);
    border: 1px solid var(--masterlogin-border);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    color: #172033;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow-content--withPadding {
    padding: 0;
}

.quiqqer-masterlogin-userselect__wrapper {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: 100%;
}

.quiqqer-masterlogin-userselect__header {
    align-items: center;
    border-bottom: 1px solid #edf1f5;
    display: flex;
    min-height: 68px;
    padding: 18px 72px 18px 24px;
}

.quiqqer-masterlogin-userselect__title {
    color: #172033;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 650;
    line-height: 1.35;
    margin: 0;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__closeBtn {
    align-items: center;
    appearance: none;
    background: #f1f5f9 !important;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    color: #526071;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 36px;
    justify-content: center;
    min-width: 0;
    padding: 0;
    right: 20px;
    top: 16px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 36px;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__closeBtn:hover,
.quiqqer-masterlogin-userselect .qui-window-simpleWindow__closeBtn:focus-visible {
    background: #e2e8f0 !important;
    color: #172033;
    outline: none;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__closeBtn:active {
    transform: scale(0.96);
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__closeBtn .fa {
    font-size: 15px;
    line-height: 1;
}

.quiqqer-masterlogin-userselect-search {
    padding: 20px 24px;
}

.quiqqer-masterlogin-userselect-search__label {
    color: #334155;
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.quiqqer-masterlogin-userselect-search__inputWrapper {
    --border-color: var(--masterlogin-border);

    position: relative;
}

.quiqqer-masterlogin-userselect-search input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    color: #172033;
    float: none;
    font: inherit;
    font-size: 0.9375rem;
    height: 44px;
    line-height: 1.4;
    margin: 0 !important;
    outline: none;
    padding: 0 52px 0 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.quiqqer-masterlogin-userselect-search input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.quiqqer-masterlogin-userselect-search input::-webkit-search-cancel-button {
    appearance: none;
}

.quiqqer-masterlogin-userselect-search input:hover {
    border-color: #aebdca;
}

.quiqqer-masterlogin-userselect-search input:focus {
    border-color: var(--masterlogin-accent);
    box-shadow: 0 0 0 3px rgba(7, 94, 168, 0.14);
}

.quiqqer-masterlogin-userselect-search__inputWrapper .qui-button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--border-color);
    border-radius: 0 8px 8px 0;
    box-shadow: none;
    color: var(--masterlogin-accent);
    cursor: pointer;
    display: inline-flex;
    float: none;
    height: 42px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-width: 0;
    padding: 0;
    position: absolute;
    right: 1px;
    top: 1px;
    transition: background-color 160ms ease, color 160ms ease;
    width: 44px;
}

.quiqqer-masterlogin-userselect-search__inputWrapper .qui-button:hover,
.quiqqer-masterlogin-userselect-search__inputWrapper .qui-button:focus-visible {
    background: #eff6ff;
    color: var(--masterlogin-accent-hover);
    outline: none;
}

.quiqqer-masterlogin-userselect-search__inputWrapper .qui-button .fa {
    background: transparent;
    border-radius: 0;
    color: inherit;
    font-size: 15px;
    padding: 0;
}

.quiqqer-masterlogin-userselect-table {
    background: #fff;
    box-sizing: border-box;
    margin: 0 24px;
    min-height: 0;
    padding-bottom: 20px;
    width: auto;
}

.quiqqer-masterlogin-userselect-table input {
    background-color: #fff;
    margin-block: 0;
}

.quiqqer-masterlogin-userselect-table select {
    background-position: calc(100% - 10px) center;
    background-repeat: no-repeat;
    background-size: 10px auto;
    min-width: 60px;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons {
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e7edf3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 20px;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button {
    align-items: center;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    float: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 8px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-width: 110px;
    padding: 0 16px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
        color 160ms ease, transform 160ms ease;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button[name="cancel"] {
    background: #fff;
    border-color: #cbd5e1;
    color: #334155;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button[name="cancel"]:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button[name="submit"] {
    background: var(--masterlogin-accent);
    border-color: var(--masterlogin-accent);
    color: #fff;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button[name="submit"]:hover:not(:disabled) {
    background: var(--masterlogin-accent-hover);
    border-color: var(--masterlogin-accent-hover);
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button:focus-visible {
    box-shadow: 0 0 0 3px rgba(7, 94, 168, 0.18);
    outline: none;
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button:active:not(:disabled) {
    transform: translateY(1px);
}

.quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button:disabled {
    background: #e2e8f0;
    border-color: #e2e8f0;
    box-shadow: none;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 767px) {
    .qui-window-popup.quiqqer-masterlogin-userselect {
        border-radius: 10px;
    }

    .quiqqer-masterlogin-userselect__header {
        padding-left: 18px;
    }

    .quiqqer-masterlogin-userselect-search {
        padding: 16px 18px;
    }

    .quiqqer-masterlogin-userselect-table {
        margin: 0 18px;
        padding-bottom: 16px;
    }

    .quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons {
        padding: 12px 16px;
    }

    .quiqqer-masterlogin-userselect .qui-window-simpleWindow__buttons > button {
        flex: 1 1 0;
        min-width: 0;
    }
}
