/* Scoped to phone controls; native selects support keyboard and mobile pickers. */
.rize-phone {
  display: grid !important;
  grid-template-columns: min(136px, 48%) minmax(0, 1fr);
  grid-column: 1 / -1;
  gap: 8px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}
.rize-phone > input,
.rize-phone > select.rize-phone-country {
  box-sizing: border-box;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: 46px;
  font: inherit;
  font-size: 16px !important;
  direction: ltr;
  text-align: left;
}
.rize-phone > select.rize-phone-country {
  display: block;
  padding: 10px 7px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  cursor: pointer;
}
.rize-phone > select.rize-phone-country:focus-visible {
  outline: 2px solid #777;
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .rize-phone { gap: 6px; }
}

/* Keep both controls together even inside narrow form columns. */
.rize-phone > select.rize-phone-country { grid-column: 1 !important; grid-row: 1 !important; }
.rize-phone > input { grid-column: 2 !important; grid-row: 1 !important; }
