.acc-cf7-field-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.acc-cf7-field-wrapper .acc-cf7-input {
  width: 100% !important;
  box-sizing: border-box !important;
}

.acc-cf7-toggle {
  position: absolute;
  left: calc(12px + var(--acc-cf7-leading-offset, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
  cursor: pointer;
  font: inherit;
}

.acc-cf7-toggle:focus-visible,
.acc-cf7-country-option:focus-visible,
.acc-cf7-search:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.acc-cf7-toggle-flag {
  font-size: 16px;
  line-height: 1;
}

.acc-cf7-toggle-dial {
  white-space: nowrap;
  font-size: .95em;
}

.acc-cf7-toggle-arrow {
  font-size: 12px;
  opacity: .8;
}

.acc-cf7-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 99999;
}

.acc-cf7-dropdown-inner {
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(17, 24, 39, .18);
  overflow: hidden;
}

.acc-cf7-search-wrap {
  padding: 12px;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.acc-cf7-search {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 12px;
  font: inherit;
}

.acc-cf7-country-list {
  max-height: 280px;
  overflow: auto;
  padding: 8px;
}

.acc-cf7-country-option {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.acc-cf7-country-option:hover,
.acc-cf7-country-option.is-active {
  background: rgba(17, 24, 39, .06);
}

.acc-cf7-country-flag {
  font-size: 18px;
  line-height: 1;
}

.acc-cf7-country-name,
.acc-cf7-country-dial {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-cf7-country-dial {
  opacity: .8;
}

.acc-cf7-empty {
  padding: 16px;
  text-align: center;
  opacity: .7;
}

body.rtl .acc-cf7-toggle {
  left: auto;
  right: calc(12px + var(--acc-cf7-leading-offset, 0px));
}

body.rtl .acc-cf7-country-option {
  grid-template-columns: auto minmax(0, 1fr) 28px;
}

@media (max-width: 767px) {
  .acc-cf7-dropdown-inner {
    border-radius: 14px;
  }

  .acc-cf7-country-list {
    max-height: 240px;
  }
}


.acc-cf7-holder {
  --acc-cf7-leading-offset: 0px;
  position: relative;
  display: block;
  width: 100%;
}
