
#countryListModal h2 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #363636;
  text-align: center;
}

#countryListModal .country-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

#countryListModal .country-modal-close:hover {
  color: #0073aa;
}

#countryListOverlay {
  display: none; /* Hide the overlay initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#countryList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px; /* Limit the height for scrolling */
  overflow-y: auto; /* Add scroll if the list is too long */
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  background-color: #fefeff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#countryList li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#countryList li:last-child {
  border-bottom: none; /* Remove border for the last item */
}

#countryList li:hover {
  background-color: #0073aa; /* Highlight color on hover */
  color: #fff; /* Text color on hover */
}

.office__wrapper-map {
  margin: 0 auto;
  max-width: 1500px;
  width: 100%;
}

.office__map-wrapper {
  aspect-ratio: 5 / 2;
  position: relative;
}

.office__map {
	width: 100%;
  background-image: url('https://loudshout.in/testing/wp-content/uploads/2025/03/Frame-310.png');
  background-position: right;
}

.mapTooltip {
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
  position: absolute;
  display: none;
  z-index: 1000;
}

.mapael svg {
  fill-opacity: 0;
  width: 100%;
  height: auto;
}

/* Mobile-only button */
.mobile-only {
  display: none;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .office__map{
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}
}

/* Updated Modal Styles */
.country-modal-overlay {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
/*Update Country Modal */
.country-modal {
    padding: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    max-width: 900px;
    width: 94% !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
}


.country-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px 0px 10px !important;
}

.country-modal-close {
  cursor: pointer;
  font-size: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

input,
button,
select {
  margin-top: 10px;
  padding: 8px;
}

.mapael .tooltip {
  position: absolute;
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
  pointer-events: none;
  white-space: nowrap;
}
.js-map-container svg path {
    pointer-events: all;
}



/* 2. ADD THIS CSS TO YOUR EXISTING STYLESHEET */

/* Nice Select Multi-Select Styles */
.nice-select,
.nice-select.open .list {
    width: 100%;
    border-radius: 8px;
}

.nice-select .list::-webkit-scrollbar {
    width: 0;
}

.nice-select .list {
    margin-top: 5px;
    top: 100%;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    max-height: 210px;
    overflow-y: scroll;
    padding: 52px 0 0;
}

.nice-select.has-multiple {
    white-space: inherit;
    height: auto;
    padding: 12px;
    min-height: 53px;
    line-height: 22px;
}

.nice-select.has-multiple span.current {
    border: 1px solid #CCC;
    background: #EEE;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 3px;
    margin-right: 3px;
}

.nice-select.has-multiple .multiple-options {
    display: block;
    line-height: 37px;
    margin-left: 0;
    padding: 0;
}

.nice-select .nice-select-search-box {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    margin-top: 5px;
    top: 100%;
    left: 0;
    z-index: 8;
    padding: 5px;
    background: #FFF;
    opacity: 0;
    pointer-events: none;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 0 1px rgba(68, 88, 112, .11);
    transform-origin: 50% 0;
    transform: scale(.75) translateY(-21px);
    transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
}

.nice-select .nice-select-search {
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: none;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    padding: 7px 12px;
    margin: 0 10px 0 0;
    width: 100% !important;
    min-height: 36px;
    line-height: 22px;
    height: auto;
    outline: 0 !important;
}

.nice-select.open .nice-select-search-box {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.remove {
    color: #999;
    cursor: pointer;
    font-weight: bold;
    margin-left: 8px;
}

.remove:hover {
    color: red;
}

/* Adjust dropdown list appearance */
.select2-results__options {
    max-height: 200px; /* Set max height */
    overflow-y: auto;  /* Enable scrolling */
}
.select-box {
    border-bottom: 1px solid white !important;
}