.pyr-32 {
    padding-block: 32px;
}

.title-shipagent {
    font-family: "Sofia Pro", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.018em;
    color: #020408;
    margin-bottom: 10px;
}

.para-shipagent {
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.014em;
    color: #020408;
    margin-bottom: 0px;
}

.list-flex {
    width: 20%;
    flex: 0 0 auto;
}

.countries-listing {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 0px;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: -0.012em;
    color: #2384c1;
}

.countries-listing li {
    padding: 6px 10px;
}

.countries-listing li a {
    text-decoration: none;
    color: inherit;
}

.agent-map {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.agent-map img {
    max-width: 946px;
    max-height: 370px;
}

.card-ship-agent {
    border: 1px solid #999999;
    border-radius: 10px;
}

.card-ship-agent-img img {
    width: 100%;
    max-height: 200px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body-agent {
    padding: 10px;
}

.card-title-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title-agent .title {
    font-family: Lato;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: #020408;
    margin-bottom: 3px;
}

.card-title-agent .location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Lato;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #5d6370;
}

.agent-information {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 0px;
    margin-top: 24px;
    font-family: Lato;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #5d6370;
}

.agent-information li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 226px;
}

.agent-information li:last-of-type {
    margin-bottom: 0px;
    height: 48px;
}

.agent-flags-country {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
}

.agent-flags-country span {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    background-color: #1c6a9b;
    border-radius: 2px;
    font-family: Lato;
    font-weight: 500;
    font-size: 12.28px;
    line-height: 18.42px;
    color: white;
}

.agent-flags-country.flag_1 {
    left: 60%;
    top: 43%;
}

.agent-flags-country.flag_2 {
    top: 27%;
    left: 43.6%;
}

.agent-flags-country.flag_3 {
    bottom: 41.5%;
    left: 29%;
}

.agent-flags-country.flag_4 {
    bottom: 31.9%;
    left: 54%;
}

.agent-flags-country.flag_5 {
    bottom: 21.9%;
    left: 53.7%;
}

.agent-flags-country.flag_6 {
    bottom: 15%;
    left: 33.7%;
}

.agent-flags-country.flag_7 {
    bottom: 6%;
    left: 32.5%;
}

.filter-by-country {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.filter-by-country .title {
    font-family: Lato;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    text-wrap: nowrap;
    color: hsl(var(--foreground));
}

.filter-by-country select {
    font-family: Lato;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    max-width: 192px;
    border-radius: 4px;
    border: 1px solid hsl(214.3 31.8% 91.4%);
}

.country-list-agents {
    padding: 24px;
    border-radius: 8px;
    background-image: linear-gradient(to right,
            hsl(0 0% 100%),
            hsl(210 40% 96.1% / 0.2));
    --tw-shadow: 0 2px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),
        0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    margin-bottom: 16px;
}

.country-list-agents .title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: hsl(222.2 84% 4.9%);
    margin-bottom: 0.25rem;
}

.country-list-agents .para {
    display: flex;
    align-items: center;
    gap: 4px;
    color: hsl(215.4 16.3% 46.9%);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0px;
}

.ag-info .agent-information {
    display: flex;
    flex-wrap: wrap;
    gap: 165px;
    row-gap: 12px;
}

.ag-info .agent-information li {
    margin-bottom: 0px;
}

.ag-info .agent-information li:last-of-type {
    height: auto;
}

.ag-info .agent-information {
    color: hsl(222.2 84% 4.9%);
    list-style-type: none;
    font-size: 16px;
    line-height: 20px;
    margin-top: 0.75rem;
}

/* ============================== select custom  ==============================*/
.select-input-cmn.dropdown-toggle::after {
    border: none;
    content: none;
    /* transform: rotate(180deg); */
}

.select-input-cmn .fa-chevron-up {
    transform: rotate(180deg);
}

.select-input-cmn.show .fa-chevron-up {
    transform: rotate(360deg);
}

.select-input-cmn span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: calc(100% - 13px);
}

.select-input-cmn {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background-color: #ffffff;
    border: 1px solid #0000001a;
    border-radius: 6px;
    font-family: "Lato", sans-serif, Arial;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.01em;
    width: 100%;
    color: #000000;
}

.select-input-cmn .button-text {
    font-size: 14px;
}

.cmn-drp {
    min-width: 160px;
}

.cmn-drp .search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #0000001a;
    border-radius: 6px;
    font-family: "Lato", sans-serif, Arial;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.01em;
}

.cmn-drp .search-input:focus {
    outline: none;
    border-color: #0099ffa9;
}

.cmn-drp .dropdown-menu {
    font-family: "Lato", sans-serif, Arial;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.01em;
    width: 100%;
    color: #000000;
    box-shadow: 0px 0px 8px 0px rgba(47, 43, 67, 0.2);
    border-bottom: 6px;
    padding-block: 0px;
    overflow-x: auto;
    max-height: 208px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.cmn-drp .dropdown-menu .dropdown-item {
    font-family: "Lato", sans-serif, Arial;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.01em;
    color: #000000;
    padding: 12px 10px;
}

.cmn-drp .dropdown-menu .dropdown-item:hover {
    cursor: pointer;
}

.cmn-drp .dropdown-item.active,
.cmn-drp .dropdown-item:active {
    background-color: #f7f8fb;
}

.cmn-drp .dropdown-item:hover {
    background-color: #f7f8fb;
    color: #000000;
}

.satSelectList .dropdown-item.highlighted {
    background-color: #007bff;
    color: white;
}

/* ============================== select custom ==============================*/
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-title-agent .title {
        font-size: 16px;
    }

    .agent-flags-country.flag_1 {
        left: 62%;
    }

    .agent-flags-country.flag_6 {
        left: 31.7%;
    }

    .agent-flags-country.flag_7 {
        left: 29.5%;
    }

    .agent-flags-country.flag_3 {
        left: 26%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-title-agent .title {
        font-size: 14px;
        line-height: 18px;
    }

    .agent-flags-country.flag_1 {
        left: 64%;
    }

    .agent-flags-country.flag_4 {
        left: 55%;
    }

    .agent-flags-country.flag_5 {
        left: 54.7%;
    }

    .agent-flags-country.flag_6 {
        left: 27.7%;
    }

    .agent-flags-country.flag_7 {
        left: 25.5%;
    }

    .agent-flags-country.flag_3 {
        left: 22%;
    }

    .agent-icons-image {
        max-width: 30px;
        height: auto;
    }

    .card-body-agent {
        padding: 8px;
    }

    .agent-information {
        margin-top: 16px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .countries-listing {
        font-size: 16px;
    }

    .countries-listing li {
        padding: 6px 0px;
    }

    .card-title-agent .title {
        font-size: 14px;
        line-height: 18px;
    }

    .agent-flags-country.flag_1 {
        left: 64%;
    }

    .agent-flags-country.flag_4 {
        left: 55%;
    }

    .agent-flags-country.flag_5 {
        left: 54.7%;
    }

    .agent-flags-country.flag_6 {
        left: 27.7%;
    }

    .agent-flags-country.flag_7 {
        left: 25.5%;
    }

    .agent-flags-country.flag_3 {
        left: 22%;
    }

    .agent-icons-image {
        max-width: 30px;
        height: auto;
    }

    .card-body-agent {
        padding: 8px;
    }

    .agent-information {
        margin-top: 16px;
    }

    .para-shipagent {
        font-size: 16px;
    }

    .title-shipagent {
        font-size: 20px;
        line-height: 24px;
    }

    .custom-col-agent {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .title-shipagent {
        font-size: 20px;
        line-height: 22px;
    }

    .para-shipagent {
        font-size: 16px;
        line-height: 24px;
    }

    .countries-listing {
        font-size: 14px;
        line-height: 20px;
    }

    .card-title-agent .title {
        font-size: 14px;
        line-height: 18px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .agent-flags-country.flag_1 {
        left: 64%;
    }

    .agent-flags-country.flag_4 {
        left: 55%;
    }

    .agent-flags-country.flag_5 {
        left: 54.7%;
    }

    .agent-flags-country.flag_6 {
        left: 27.7%;
    }

    .agent-flags-country.flag_7 {
        left: 25.5%;
    }

    .agent-flags-country.flag_3 {
        left: 22%;
    }

    .agent-icons-image {
        max-width: 30px;
        height: auto;
    }

    .card-body-agent {
        padding: 8px;
    }

    .agent-information {
        margin-top: 16px;
    }

    .para-shipagent {
        font-size: 16px;
    }

    .title-shipagent {
        font-size: 20px;
        line-height: 24px;
    }

    .agent-information li {
        gap: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agent-flags-country img {
        max-width: 25px;
        height: auto;
    }

    .agent-flags-country span {
        font-size: 10px;
        line-height: 15.42px;
    }

    /*  */
    .ag-info .agent-information {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .agent-flags-country img {
        max-width: 16px;
        height: auto;
    }

    .agent-flags-country span {
        font-size: 8px;
        line-height: 12.42px;
    }

    .agent-flags-country.flag_5 {
        bottom: 17.9%;
    }

    .agent-flags-country.flag_4 {
        bottom: 29.9%;
    }

    .agent-flags-country.flag_6 {
        bottom: 18%;
    }

    .agent-information li {
        gap: 4px;
        word-break: break-all;
        overflow: visible;
        text-overflow: unset;
        white-space: unset;
    }

    .sm-py {
        padding-block: 0 32px;
    }
}

@media screen and (min-width: 375px) and (max-width: 767px) {
    .list-flex {
        width: 33%;
    }
}

@media screen and (max-width: 374px) {
    .list-flex {
        width: 50%;
    }
}

.lg-none {
    display: none;
}

@media screen and (max-width: 500px) {
    .xs-none {
        display: none;
    }

    .lg-none {
        display: block;
    }

    .filter-by-country {
        justify-content: space-between;
    }
}