/* Shared local phone selector for public forms and authenticated workspaces. */
.abientot-phone-field { display: inline-grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 8px; width: 100%; min-width: 0; vertical-align: middle; }
.abientot-phone-field.is-enhanced,
.abientot-booking .abientot-phone-field.is-enhanced { grid-template-columns: max-content minmax(0, 1fr); direction: inherit; }
.abientot-phone-field.is-enhanced > .abientot-phone-country { display: none !important; }
.abientot-phone-field > input[type=tel] { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; }
.abientot-phone-field .abientot-phone-country-button {
 display: inline-flex; align-items: center; justify-content: center; gap: 5px;
 box-sizing: border-box; width: auto; min-width: 0; min-height: 44px; margin: 0;
 padding: 9px 8px; border: 1px solid var(--abientot-field-border-color, #91a6a2);
 border-radius: var(--abientot-field-radius, 8px); background: var(--abientot-field-background-color, #fff);
 color: var(--abientot-field-text-color, #131f29); font: inherit; font-weight: 500;
 line-height: 1.2; cursor: pointer; text-transform: none; letter-spacing: normal;
}
.abientot-booking .abientot-phone-country-button { min-height: 48px; }
.abientot-phone-field .abientot-phone-country-button:focus-visible { outline: 2px solid var(--abientot-primary, #117563); outline-offset: 2px; }
.abientot-phone-country-button:disabled { opacity: .65; cursor: default; }
.abientot-phone-flag { display: block; flex: 0 0 24px; width: 24px; height: 18px; object-fit: cover; border-radius: 2px; }
.abientot-phone-chevron { font-size: 11px; opacity: .7; }
.abientot-phone-country-list {
 position: fixed; z-index: 100100; box-sizing: border-box; overflow-y: auto;
 padding: 5px; border: 1px solid #91a6a2; border-radius: 10px;
 background: #fff; color: #131f29; box-shadow: 0 12px 32px #131f2930;
 font: 14px/1.4 system-ui, sans-serif; overscroll-behavior: contain;
}
.abientot-phone-country-list[hidden] { display: none !important; }
.abientot-phone-country-option { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 9px; border-radius: 6px; box-sizing: border-box; cursor: pointer; }
.abientot-phone-country-option:hover,.abientot-phone-country-option.is-active { background: #e6f8f2; }
.abientot-phone-country-option[aria-selected=true] { font-weight: 600; }
.abientot-phone-country-iso { min-width: 22px; }
.abientot-phone-country-name { flex: 1; min-width: 0; }
.abientot-phone-calling { margin-inline-start: auto; white-space: nowrap; }
@media (max-width: 480px) {
 .abientot-phone-field .abientot-phone-country-button { font-size: 16px; }
 .abientot-phone-field > input[type=tel] { font-size: 16px; }
}
.abientot-phone-field[dir=rtl],.abientot-booking .abientot-phone-field[dir=rtl] { direction: rtl; }
.abientot-phone-field[dir=ltr],.abientot-booking .abientot-phone-field[dir=ltr] { direction: ltr; }
.abientot-phone-selected-prefix,.abientot-phone-calling,.abientot-phone-country-iso { direction: ltr; unicode-bidi: isolate; }
