.custom-select {
    position: relative;
    margin-block: 12px;
    max-width: calc(100vw + -0.5rem);
}

.custom-select:hover {
    cursor: pointer;
}

.custom-select .select-button {
    width: 100% !important;
    padding: 10px !important;
    color: #5b5a5b;
    border: 2px solid #a6a6a6;
    position: relative;

}

.custom-select .select-button:after {
    position: absolute;
    display: block;
    aspect-ratio: 1;
    content: "";
    background-color: #a30f0f;
    right: -2px;
    top: -2px;
    height: 40px;
}

.custom-select .chevron {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 6;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    height: 100%;
}

.active-select .chevron img {
    transform: translate(5%, 0%) rotate(180deg);
}

.custom-select .options-view-button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 9999;
}

.custom-select .selected-value {
    font-size: 16px;
    line-height: 1;
    margin-right: 26px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.custom-select .options {
    position: absolute;
    border: 1px solid #a6a6a6;
    width: 100%;
    font-size: 16px;
    background-color: #fff;
    z-index: 10;
    display: none;
}

.custom-select .option label {
    font-weight: 400;
    margin: 0;
}

.active-select .options {
    display: block;
}

.custom-select table,
.custom-select tr,
.custom-select th,
.custom-select td {
    padding: 0!important;
    margin: 0!important;
    font-size: 13px;
    text-transform: none!important;
}

.custom-select thead tr th,
.custom-select tbody tr td {
    padding: 10px!important;
}

.custom-select.normal tbody tr:hover {
    background-color: #ececec;
    cursor: pointer;
}

.custom-select tbody a {
    color: #a30f0f;
}

.custom-select tbody a:hover {
    text-decoration: underline;
}