.stelr-phone-wrap {
    display: flex;
    width: 100%;
    position: relative;
    align-items: stretch;
    box-sizing: border-box;
}
.stelr-phone-selector {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}
.stelr-phone-button {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}
.stelr-phone-button:focus { outline: none; }
.stelr-phone-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .65;
}
.stelr-phone-number-input {
    flex: 1 1 auto;
    min-width: 0;
}
.stelr-phone-dropdown {
    position: absolute;
    z-index: 999999;
    top: calc(100% + 4px);
    left: 0;
    width: min(360px, 90vw);
    background: var(--stelr-phone-background-color, #fff);
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    overflow: hidden;
    color: var(--stelr-phone-text-color, inherit);
    font-family: var(--stelr-phone-font-family, inherit);
    font-size: var(--stelr-phone-font-size, inherit);
    font-style: var(--stelr-phone-font-style, normal);
    font-weight: var(--stelr-phone-font-weight, normal);
    font-stretch: var(--stelr-phone-font-stretch, normal);
    line-height: var(--stelr-phone-line-height, normal);
    letter-spacing: var(--stelr-phone-letter-spacing, normal);
    text-transform: var(--stelr-phone-text-transform, none);
}
.stelr-phone-search {
    width: calc(100% - 20px) !important;
    margin: 10px !important;
    box-sizing: border-box !important;
}
.stelr-phone-list {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}
.stelr-phone-option {
    width: 100%;
    display: grid;
    grid-template-columns: 28px 58px 1fr;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 0;
    background: var(--stelr-phone-background-color, #fff);
    color: var(--stelr-phone-text-color, inherit);
    text-align: left;
    cursor: pointer;
    font-family: var(--stelr-phone-font-family, inherit);
    font-size: var(--stelr-phone-font-size, inherit);
    font-style: var(--stelr-phone-font-style, normal);
    font-weight: var(--stelr-phone-font-weight, normal);
    font-stretch: var(--stelr-phone-font-stretch, normal);
    line-height: var(--stelr-phone-line-height, normal);
    letter-spacing: var(--stelr-phone-letter-spacing, normal);
    text-transform: var(--stelr-phone-text-transform, none);
}
.stelr-phone-option:hover,
.stelr-phone-option:focus-visible {
    background: var(--stelr-phone-hover-background-color, #000) !important;
    color: var(--stelr-phone-hover-text-color, #fff) !important;
    outline: none;
}
.stelr-phone-option[aria-selected="true"] {
    box-shadow: inset 3px 0 0 currentColor;
}
.stelr-phone-option[aria-selected="true"]:hover,
.stelr-phone-option[aria-selected="true"]:focus-visible {
    color: var(--stelr-phone-hover-text-color, #fff) !important;
}
.stelr-phone-flag { font-size: 19px; line-height: 1; }
.stelr-phone-dial { font-weight: inherit; white-space: nowrap; }
.stelr-phone-country-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stelr-phone-empty { padding: 16px; text-align: center; color: #777; }
@media (max-width: 480px) {
    .stelr-phone-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 50%;
        width: auto;
        transform: translateY(-50%);
    }
    .stelr-phone-list { max-height: 55vh; }
}

/* Nitro errors use Quform's native error classes so each form's configured
   error colors and typography continue to apply. */
.stelr-nitro-live-error {
    clear: both;
}

/* v1.2.1: keep live errors visible regardless of Quform theme animation rules. */
.quform .stelr-nitro-live-error,
.stelr-nitro-live-error {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clear: both !important;
    margin-top: 7px;
}
.quform .stelr-nitro-live-error > .quform-error-inner,
.stelr-nitro-live-error > .quform-error-inner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
