.ecs-popup-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.35rem 0.15rem 0.5rem;
}

.ecs-popup-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: flex-end;
    gap: 0.7rem;
}

.ecs-popup-list-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 8.5rem;
}

.ecs-popup-list-field > span {
    color: #77717f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ecs-popup-list-field select {
    min-height: 2.55rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(214, 212, 216, 0.95);
    border-radius: 0.85rem;
    background: #fff;
    color: #17131c;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
}

.ecs-popup-list-search {
    display: flex;
    overflow: hidden;
    min-width: min(18rem, 100%);
    border: 1px solid rgba(214, 212, 216, 0.95);
    border-radius: 0.95rem;
    background: #fff;
}

.ecs-popup-list-search input {
    flex: 1;
    min-width: 0;
    height: 2.55rem;
    border: 0;
    background: transparent;
    color: #17131c;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    padding: 0 0.85rem;
}

.ecs-popup-list-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    border: 0;
    border-left: 1px solid rgba(214, 212, 216, 0.95);
    background: #fff5f8;
    color: var(--ecs-color-primary);
    cursor: pointer;
}

.ecs-popup-list-search button:hover,
.ecs-popup-list-search button:focus-visible {
    background: var(--ecs-color-primary);
    color: #fff;
    outline: none;
}

.ecs-popup-list-body {
    overflow: auto;
    border: 1px solid rgba(214, 212, 216, 0.92);
    border-radius: 1.05rem;
    background: #fff;
}

.ecs-popup-list-table {
    width: 100%;
    border-collapse: collapse;
}

.ecs-popup-list-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgba(214, 212, 216, 0.92);
    background: #f7f6f8;
    color: #6f6b77;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.ecs-popup-list-table thead th a {
    color: inherit;
    text-decoration: none;
}

.ecs-popup-list-table thead th a:hover {
    color: var(--ecs-color-primary);
}

.ecs-popup-list-table tbody td {
    padding: 0.72rem 0.8rem;
    border-bottom: 1px solid rgba(230, 229, 231, 0.95);
    color: #17131c;
    font-size: 0.9rem;
    font-weight: 600;
    vertical-align: middle;
}

.ecs-popup-list-table tbody tr:hover td {
    background: #fff8fb;
}

.ecs-popup-list-table .is-action {
    width: 3.5rem;
    text-align: center;
}

.ecs-popup-list-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(206, 50, 105, 0.22);
    border-radius: 999px;
    background: #fff5f8;
    color: var(--ecs-color-primary);
    text-decoration: none;
}

.ecs-popup-list-select:hover,
.ecs-popup-list-select:focus-visible {
    border-color: var(--ecs-color-primary);
    background: var(--ecs-color-primary);
    color: #fff;
    outline: none;
}

.ecs-popup-list-select .material-symbols-outlined {
    font-size: 1.1rem;
}

.ecs-popup-list .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.ecs-popup-list .page-item {
    list-style: none;
}

.ecs-popup-list .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    min-height: 2.1rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(214, 212, 216, 0.95);
    border-radius: 0.7rem;
    background: #fff;
    color: #17131c;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.ecs-popup-list .page-item.active .page-link,
.ecs-popup-list .page-link:hover,
.ecs-popup-list .page-link:focus-visible {
    border-color: var(--ecs-color-primary);
    background: #fff5f8;
    color: var(--ecs-color-primary);
    outline: none;
}

.ecs-popup-list .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}
