/* intl-tel-input skin for the phone field: the wrapper spans the field width and
   the country dropdown reuses the select2 panel look (12px rounded box, hairline
   rows, Manrope 14/20, design tokens). The CDN stylesheet loads after app.css on
   the review page, so these overrides use !important like the other plugin skins.
   The <input> itself keeps its .form-control styling — only the flag/dial-code
   selector and the dropdown are themed here. */

.iti
{
    display: block !important;
    width: 100% !important;
}

/* .form-control has no width of its own — it only stretches as a flex item of
   .form-container. Once wrapped in .iti the input is no longer that flex item,
   so it falls back to a text input's default width; force it to fill .iti.
   (box-sizing is border-box globally, so 100% + padding stays inside .iti.) */
.iti > input,
.iti > input[type="tel"]
{
    width: 100% !important;
}

/* Flag + dial-code selector sits inside the rounded field's left edge. */
.iti--separate-dial-code .iti__selected-flag
{
    background-color: transparent !important;
    border-radius: 12px 0 0 12px !important;
    padding: 0 8px 0 15px !important;
}
.iti--separate-dial-code .iti__selected-dial-code
{
    font-family: 'Manrope', -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: var(--color-text) !important;
}

/* Country list = the select2 dropdown panel. */
.iti__country-list
{
    border: 1px solid var(--color-border) !important;
    border-radius: 12px !important;
    background-color: var(--color-bg-alt) !important;
    box-shadow: 0 8px 24px rgba(16, 12, 12, 0.08) !important;
    padding: 4px 0 !important;
    font-family: 'Manrope', -apple-system, sans-serif !important;
}
.iti__country
{
    padding: 8px 15px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: var(--color-text) !important;
}
.iti__country.iti__highlight
{
    background-color: var(--color-bg-third) !important;
}
.iti__country .iti__dial-code
{
    color: var(--color-text-link) !important;
}
.iti__divider
{
    border-bottom: 1px solid var(--color-border) !important;
}
