.tvo-native-form .tvo-phone-row {
  position: relative;
}

.tvo-phone-row select[hidden], .tvo-dial-panel[hidden], .tvo-dial-empty[hidden] {
  display: none !important;
}

.tvo-dial-control {
  display: inline-flex;
  flex: 0 0 112px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid #bdbdbd;
  border-radius: 4px 0 0 4px;
  background: #e8e8e8;
  color: #222;
  font: inherit;
  cursor: pointer;
}

.tvo-dial-control::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.tvo-dial-control:focus-visible {
  outline: 2px solid #b86600;
  outline-offset: 2px;
}

.tvo-dial-panel {
  position: absolute;
  z-index: 2147483647;
  top: calc(100% + 5px);
  left: 0;
  width: min(100%, 410px);
  padding: 8px;
  border: 1px solid #c8b8a6;
  border-radius: 6px;
  background: #fff;
  color: #2b211b;
  box-shadow: 0 8px 25px #34241933;
}

.tvo-dial-panel.tvo-dial-above {
  top: auto;
  bottom: calc(100% + 5px);
}

body.tvo-inner #objednavkaForm.tvo-native-form .tvo-dial-panel input[type="search"] {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0 0 6px;
  padding: 7px 10px;
  border: 1px solid #c8b8a6;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
}

.tvo-dial-results {
  max-height: min(250px, 40vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.tvo-dial-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 8px;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.tvo-dial-option:hover, .tvo-dial-option.is-active {
  background: #fff0d4;
}

.tvo-dial-option[aria-selected="true"] {
  font-weight: 700;
}

.tvo-dial-option > :last-child {
  color: #654520;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tvo-dial-empty {
  margin: 0;
  padding: 9px 8px;
}

.tvo-dial-flag {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 16px;
  background-image: url('flags.webp');
  background-size: 384px 256px;
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #0002;
}
