/* ----------------------- countrylist-container ----------------------- */
.countrylist-container {
    background-color: var(--background-100);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    /* animation: slideright 0.5s; */
    padding: 1rem 0.3rem 0.7rem;
    /* display: none; */
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 7;
    /* overflow: auto; */
}

.countrylist-container.showing {
    /* display: block; */
    transform: translateX(0%);
}

.countrylist-container > .countrylist-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
}

.countrylist-container > .countrylist-title > img {
    max-width: 0.6rem;
    padding: 0.2rem;
}

.countrylist-container > .countrylist-title > span {
    color: var(--text-100);
    font-family: CenturyGothic-SemiBold;
}

.countrylist-container > .countrylist-search-bar {
    border: 0.75px solid var(--border-100);
    border-radius: 0.2rem;
    margin-bottom: 0.3rem;
    padding: 0.23rem;
    position: relative;

    display: flex;
    align-items: center;
}

.countrylist-container > .countrylist-search-bar > .search-icon {
    max-width: 5%;
    margin-right: 0.2rem;
}

.countrylist-container > .countrylist-search-bar > input {
    background-color: transparent;
    border: none;
    color: var(--text-100);
    font-family: CenturyGothic-Regular;
    width: 100%;
}

.countrylist-search-bar:has(> input:focus) {
    border: 0.75px solid var(--border-200);
}

.countrylist-container > .countrylist-search-bar > .clear-icon {
    padding: 0.2rem;
    position: absolute;
    right: 0;
    top: 0.08rem;
}

.countrylist-container > .countrylist-result-container {
    display: flex;
    height: 100%;
    justify-content: space-between;
}

/* .countrylist-container > .countrylist-result-container > .full-countrylist {
    display: flex;
    height: 100%;
    justify-content: space-between;
} */

/* .full-countrylist */
.countrylist-container > .countrylist-result-container > .countrylist-result {
    flex-basis: 90%;
    overflow: auto;
}

/* ----------------------- country-category ----------------------- */
.countrylist-result > .country-category {
    margin-bottom: 0.3rem;
}

.countrylist-result > .country-category > .country-header {
    color: var(--orange-100);
    font-family: CenturyGothic-SemiBold;
    padding: 0.2rem 0rem;
}

.countrylist-result > .country-category > .country-detail-list {
    /* transition: height .3s linear; */
    /* height: 100%; */
}

.countrylist-result > .country-category > .country-detail-list.collapse {
    /* height: 0px;
    overflow: hidden; */
}

.country-detail-list > .country-info, .nonempty-countrylist > .country-info {
    color: var(--text-100);
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0.1rem;
    border-bottom: 1px solid rgb(224,224,224);
}

.country-detail-list > .country-info.selected {
    background-color: #F0DDD8;
}

.countrylist-alphabet {
    flex-basis: 10%;
    /* height: 100%; */
    overflow: auto;
    /* padding: 0rem 0rem 0.3rem; */
}

.countrylist-alphabet > div {
    text-align: center;
}

.countrylist-alphabet > div > a {
    color: var(--text-100);
    padding: 0.02rem 0.2rem;
}

.empty-countrylist {
    text-align: center;
    position: relative;
    top: 1rem;
}

.empty-countrylist > img {
    max-width: 2rem;
}

.empty-countrylist > .empty-title {
    color: var(--text-100);
    font-family: CenturyGothic-SemiBold;
    margin-bottom: 0.2rem;
}

.empty-countrylist > .empty-desc {
    color: var(--text-100);
}

.empty-countrylist > .empty-desc1 {
    color: var(--orange-100);
    font-family: CenturyGothic-SemiBold;
    margin: 0.2rem 0.2rem 0.3rem;
}

.empty-countrylist > .empty-suggestion-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-countrylist > .empty-suggestion-container > button {
    background-color: rgba(62, 173, 255, 1);
    border: none;
    border-radius: 0.15rem;
    color: #fff;
    font-family: CenturyGothic-Regular;
    padding: 0.15rem 0.2rem;
    margin: 0rem 0.2rem 0.2rem;
}