.ban-list {
    padding: 26px 32px 42px;
}

.ban-list.is-khmer,
.ban-list.is-khmer * {
    font-family: var(--site-font-khmer, 'Bayon', 'Noto Sans Khmer', sans-serif);
    letter-spacing: 0;
}

.ban-list__search {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ban-list__input {
    background: #fff;
    border: 1px solid #d7c7b6;
    border-radius: 0;
    color: #2f190b;
    flex: 0 1 280px;
    font-size: 13px;
    height: 36px;
    min-width: 0;
    padding: 0 12px;
}

.ban-list__input::placeholder {
    color: #a08a78;
}

.ban-list__input:focus {
    border-color: #9a6229;
    outline: 0;
}

.ban-list__button {
    background: #9a6229;
    border: 1px solid #9a6229;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    height: 36px;
    padding: 0 22px;
}

.ban-list__clear {
    color: #68401b;
    font-size: 12px;
    margin-left: 4px;
    text-decoration: underline;
}

.ban-list__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ban-list__table {
    border-collapse: collapse;
    font-size: 13px;
    min-width: 520px;
    width: 100%;
}

.ban-list__table th,
.ban-list__table td {
    border-bottom: 1px solid #e2ddd6;
    padding: 11px 12px;
    text-align: left;
}

.ban-list__table th {
    background: #f7f2eb;
    border-bottom-color: #d7c7b6;
    color: #5a3217;
    font-weight: 700;
    white-space: nowrap;
}

.ban-list__table td {
    color: #4b260e;
}

.ban-list__table th.ban-list__no,
.ban-list__table td.ban-list__no {
    color: #8a7361;
    text-align: center;
    width: 56px;
}

.ban-list__name {
    color: #1c1713;
    font-weight: 700;
    word-break: break-word;
}

.ban-list__stage {
    color: #b5341e;
    font-weight: 700;
}

.ban-list__stage--permanent {
    color: #7a1a0e;
}

.ban-list__until {
    color: #5f554d;
    white-space: nowrap;
}

.ban-list__table td.ban-list__empty {
    border-bottom: 0;
    color: #76543b;
    padding: 56px 12px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .ban-list {
        padding: 22px 18px 36px;
    }

    .ban-list__input {
        flex: 1 1 auto;
    }

    .ban-list__button {
        padding: 0 16px;
    }
}
