.viremo-country-select{
  position:relative;
  width:100%;
  min-width:0;
}

.viremo-country-select__native{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.viremo-country-select__trigger,
.viremo-country-select__option{
  width:100%;
  display:grid;
  grid-template-columns:28px minmax(42px, auto) 1fr 10px;
  align-items:center;
  gap:9px;
  border:1px solid rgba(255,255,255,.13);
  color:#f8fbff;
  font:800 .84rem/1.1 Manrope, Inter, system-ui, sans-serif;
  cursor:pointer;
}

.viremo-country-select__trigger{
  min-height:52px;
  padding:0 12px;
  border-radius:16px;
  background:#111d2d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.viremo-country-select__trigger:hover,
.viremo-country-select__trigger:focus-visible,
.viremo-country-select.is-open .viremo-country-select__trigger{
  outline:none;
  border-color:rgba(57,208,255,.48);
  background:#16263a;
  box-shadow:0 0 0 4px rgba(57,208,255,.10);
}

.viremo-country-select__flag{
  width:28px;
  height:21px;
  display:block;
  object-fit:cover;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(255,255,255,.18), 0 4px 10px rgba(0,0,0,.22);
}

.viremo-country-select__code{
  color:#fff;
  white-space:nowrap;
}

.viremo-country-select__short{
  min-width:0;
  color:rgba(248,251,255,.66);
  font-size:.68rem;
  font-weight:900;
  text-align:left;
}

.viremo-country-select__chevron{
  width:8px;
  height:8px;
  border-right:2px solid rgba(248,251,255,.72);
  border-bottom:2px solid rgba(248,251,255,.72);
  transform:translateY(-2px) rotate(45deg);
  transition:transform .18s ease;
}

.viremo-country-select.is-open .viremo-country-select__chevron{
  transform:translateY(2px) rotate(225deg);
}

.viremo-country-select__menu{
  position:absolute;
  z-index:10020;
  top:calc(100% + 8px);
  left:0;
  width:max(100%, 320px);
  overflow:hidden;
  padding:7px;
  border:1px solid rgba(124,231,255,.22);
  border-radius:16px;
  background:#0b1626;
  box-shadow:0 24px 58px rgba(0,0,0,.48);
}

.viremo-country-select__menu[hidden]{
  display:none !important;
}

.viremo-country-select__search{
  width:100%;
  min-height:42px;
  margin:0 0 7px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  outline:none;
  background:#111f31;
  color:#f8fbff;
  font:750 .82rem/1 Manrope, Inter, system-ui, sans-serif;
}

.viremo-country-select__search:focus{
  border-color:rgba(57,208,255,.48);
  box-shadow:0 0 0 3px rgba(57,208,255,.09);
}

.viremo-country-select__search::placeholder{
  color:rgba(248,251,255,.48);
}

.viremo-country-select__list{
  display:grid;
  gap:2px;
  max-height:272px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-color:rgba(124,231,255,.34) transparent;
}

.viremo-country-select__option{
  grid-template-columns:28px minmax(0, 1fr) auto;
  min-height:44px;
  padding:0 10px;
  border-color:transparent;
  border-radius:10px;
  background:transparent;
  text-align:left;
}

.viremo-country-select__option .viremo-country-select__name{
  overflow:hidden;
  color:rgba(248,251,255,.78);
  font-size:.76rem;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.viremo-country-select__dial{
  color:#fff;
  font-size:.76rem;
  white-space:nowrap;
}

.viremo-country-select__option[hidden]{
  display:none;
}

.viremo-country-select__option span{
  color:rgba(248,251,255,.66);
  font-size:.72rem;
  font-weight:850;
}

.viremo-country-select__option:hover,
.viremo-country-select__option:focus-visible{
  outline:none;
  border-color:rgba(124,231,255,.22);
  background:rgba(124,231,255,.09);
}

.viremo-country-select__option.is-selected{
  border-color:rgba(117,247,207,.28);
  background:linear-gradient(135deg, rgba(57,208,255,.14), rgba(117,247,207,.10));
}

@media (max-width:520px){
  .viremo-country-select__menu{
    width:100%;
  }
}
