.user-portal-header .logo-image {
    display: block;
    width: 150px;
    max-width: 42vw;
    height: auto;
}

.user-new-site {
    text-decoration: none;
}

.user-tab-panel.active {
    display: block;
}

.user-table-tools {
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 12px 18px;
    background: #fafbfc;
    border-bottom: 1px solid #e8eaed;
}

.user-table-tools label {
    display: grid;
    gap: 5px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.user-table-tools input,
.user-table-tools select {
    min-height: 38px;
    box-sizing: border-box;
    padding: 8px 10px;
    color: #222;
    background: #fff;
    border: 1px solid #cfd4dc;
    border-radius: 7px;
    font: inherit;
    font-weight: 400;
}

.user-table-tools input {
    width: min(330px, 60vw);
}

.user-placeholder {
    margin: 24px auto;
    max-width: 720px;
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #b8bec7;
    border-radius: 12px;
}

#dataTable td[data-column="id"] a {
    white-space: nowrap;
}

.user-sort-button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

.user-sort-button:hover,
.user-sort-button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.user-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.user-filter-toggle {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

.user-filter-toggle:hover,
.user-filter-toggle:focus-visible,
.user-filter-toggle.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

#dataTable th:has(.user-column-filter:not([hidden])) {
    z-index: 8;
}

.user-column-filter {
    position: absolute;
    top: calc(100% + 5px);
    right: 8px;
    min-width: 220px;
    padding: 12px;
    color: #344054;
    background: #fff;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.18);
}

.user-column-filter[hidden] {
    display: none;
}

.user-column-filter label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.user-column-filter input {
    width: 100%;
    min-height: 36px;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid #c9ced6;
    border-radius: 6px;
    font: inherit;
    font-weight: 400;
}

.user-column-filter button {
    margin-top: 8px;
    padding: 5px 8px;
    color: #760706;
    background: #fff;
    border: 1px solid #d4d7dc;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

#dataTable td.editable-user-status {
    cursor: pointer;
}

#dataTable td.editable-user-status:hover {
    color: #760706;
    font-weight: 600;
}

.user-status-editor {
    width: 100%;
    min-width: 130px;
    padding: 7px 9px;
    border: 1px solid #760706;
    border-radius: 6px;
    background: #fff;
    font: inherit;
}

@media (max-width: 600px) {
    .user-portal-header {
        gap: 6px;
    }

    .user-portal-header .newsite-button {
        margin: 4px 0;
        padding: 9px 8px;
        font-size: 13px;
    }

    .user-table-tools {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .user-table-tools input,
    .user-table-tools select {
        width: 100%;
    }
}
