#aiire-country-picker {
    position: relative;
    width: 100%;
    margin-bottom: .5rem;
    color: hsl(var(--foreground));
}
#aiire-country-picker[hidden], #aiire-country-picker [hidden] { display: none; }
#aiire-country-picker button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    max-width: 100%;
    padding: .5rem .75rem;
    border: 1px solid hsl(var(--border));
    border-radius: .75rem;
    background: hsl(var(--background));
    text-align: left;
    overflow-wrap: anywhere;
}
#aiire-country-picker button:hover { background: hsl(var(--accent)); }
#aiire-country-picker button:focus-visible,
#aiire-country-picker input:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}
#aiire-country-picker .country-picker-panel {
    position: absolute;
    bottom: calc(100% + .5rem);
    left: 0;
    z-index: 50;
    min-width: min(16rem, 100%);
    max-width: 100%;
    padding: .5rem;
    border: 1px solid hsl(var(--border));
    border-radius: .75rem;
    background: hsl(var(--popover));
    color: hsl(var(--popover-foreground));
    box-shadow: 0 4px 12px hsl(var(--foreground) / .12);
}
#aiire-country-picker label {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.75rem;
    padding: .5rem;
    border-radius: .375rem;
    overflow-wrap: anywhere;
}
#aiire-country-picker label:hover { background: hsl(var(--accent)); }
#aiire-country-picker input { accent-color: hsl(var(--primary)); }
#aiire-country-picker .country-picker-error {
    margin: .25rem 0 0;
    color: hsl(var(--destructive));
}
