@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap');

.cf7ip-wrap {
  width: 100%;
  font-family: 'Inter Tight', sans-serif;
}

.cf7ip-label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8d8d;
}

.cf7ip-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dddddd;
  min-height: 42px;
}

.cf7ip-field:focus-within {
  border-bottom-color: #111111;
}

.cf7ip-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 36px;
  cursor: pointer;
  color: #111111;
  font-family: 'Inter Tight', sans-serif;
}

.cf7ip-dial {
  font-size: 13px;
  line-height: 1;
  color: #111111;
}

.cf7ip-chevron {
  font-size: 11px;
  color: #999999;
  transform: translateY(-1px);
}

.cf7ip-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0 10px;
  min-height: auto;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  color: #111111;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: 'Inter Tight', sans-serif;
}

.cf7ip-input::placeholder {
  color: #b7b7b7;
  opacity: 1;
}

.cf7ip-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 999;
  width: min(320px, 100%);
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(17,17,17,.10);
  overflow: hidden;
}

.cf7ip-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 280px;
  overflow: auto;
}

.cf7ip-option {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
}

.cf7ip-option:hover {
  background: rgba(17,17,17,.04);
}

.cf7ip-option-name,
.cf7ip-option-dial {
  font-size: 13px;
  line-height: 1.2;
  color: #111111;
}

.cf7ip-option-dial {
  color: #7b7b7b;
}

.cf7ip-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  background-size: cover;
  background-position: center;
}

.flag-br { background-image: url('https://flagcdn.com/w40/br.png'); }
.flag-pt { background-image: url('https://flagcdn.com/w40/pt.png'); }
.flag-us { background-image: url('https://flagcdn.com/w40/us.png'); }
.flag-es { background-image: url('https://flagcdn.com/w40/es.png'); }
.flag-it { background-image: url('https://flagcdn.com/w40/it.png'); }
.flag-fr { background-image: url('https://flagcdn.com/w40/fr.png'); }
.flag-de { background-image: url('https://flagcdn.com/w40/de.png'); }
.flag-gb { background-image: url('https://flagcdn.com/w40/gb.png'); }
.flag-ar { background-image: url('https://flagcdn.com/w40/ar.png'); }
.flag-cl { background-image: url('https://flagcdn.com/w40/cl.png'); }
.flag-mx { background-image: url('https://flagcdn.com/w40/mx.png'); }
.flag-ca { background-image: url('https://flagcdn.com/w40/ca.png'); }
