/* Phone field + country selector wrapper */
.prslon-phone-wrap {
    display: flex;
    align-items: stretch;
}
.prslon-phone-wrap > .wpcf7-form-control-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: block;
}

/* Country code button */
.prslon-code-sel {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 50%;
    border: 1px solid #d0d4d8;
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    background: #f5f5f5;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}
.prslon-code-sel:focus-within {
    border-color: #ff5a49;
    background: #fff;
}
.prslon-code-display {
    padding: 0.75rem 1.6rem 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #132a3d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    user-select: none;
}
.prslon-code-display::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    pointer-events: none;
    opacity: 0.45;
}
.prslon-code-sel select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Phone input — right side of the pair */
.prslon-phone-wrap input[type='tel'] {
    border-left: none !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
}
