[data-location-picker]{width:100%;font:inherit}
[data-location-picker] label{font-size:.82rem;font-weight:600;color:var(--wb-text-muted,inherit)}
[data-location-picker] select{width:100%;min-height:44px;padding:10px 30px 10px 12px;border:1px solid var(--wb-border,rgba(127,127,127,.28));border-radius:10px;background:var(--wb-bg-card,#fff);color:var(--wb-text,#172033);font:inherit;cursor:pointer}
[data-location-picker] select:focus-visible{outline:2px solid #ff3d77;outline-offset:2px}
[data-location-picker] select:disabled{opacity:.6;cursor:default}
[data-location-picker] [hidden]{display:none!important}
[data-location-picker] [role=status]:empty{display:none}
[data-location-discovery]>[role=status]{max-width:1200px;margin:20px auto;padding:12px 24px;font-size:.9rem;color:var(--wb-text-muted,inherit)}

/* Custom Flag Select Dropdown (Country Selector with SVG Flags) */
.wb-flag-select-wrap {
    position: relative;
    width: 100%;
    font: inherit;
}
.wb-flag-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.wb-flag-select-trigger {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1.5px solid var(--wb-border, rgba(226, 232, 240, 0.9));
    border-radius: 14px;
    background: var(--wb-bg-card, #ffffff);
    color: var(--wb-text, #0f172a);
    font: inherit;
    font-size: 0.93rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
html[data-theme="dark"] .wb-flag-select-trigger,
body:not(.light-theme)[data-theme="dark"] .wb-flag-select-trigger {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f8fafc;
}
.wb-flag-select-trigger:hover:not(:disabled),
.wb-flag-select-wrap.is-open .wb-flag-select-trigger {
    border-color: #ff3d77;
    box-shadow: 0 0 0 3px rgba(255, 61, 119, 0.14);
}
.wb-flag-select-trigger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.wb-flag-select-img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    display: inline-block;
}
.wb-flag-select-globe {
    width: 22px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}
.wb-flag-select-location-icon {
    width: 22px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff3d77;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}
.wb-flag-select-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wb-flag-select-caret {
    flex-shrink: 0;
    color: #ff3d77;
    font-size: 12px;
    transition: transform 0.2s ease;
}
.wb-flag-select-wrap.is-open .wb-flag-select-caret {
    transform: rotate(180deg);
}
.wb-flag-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: var(--wb-bg-card, #ffffff);
    border: 1.5px solid rgba(255, 61, 119, 0.28);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}
html[data-theme="dark"] .wb-flag-select-menu,
body:not(.light-theme)[data-theme="dark"] .wb-flag-select-menu {
    background: #1b162a;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.wb-flag-select-search-wrap {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.wb-flag-select-search {
    width: 100%;
    padding: 8px 11px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.08);
    color: inherit;
    font: inherit;
    font-size: 0.86rem;
    outline: none;
}
.wb-flag-select-search:focus {
    border-color: #ff3d77;
}
.wb-flag-select-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
}
.wb-flag-select-option {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--wb-text, #0f172a);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: background 0.14s ease, color 0.14s ease;
}
html[data-theme="dark"] .wb-flag-select-option,
body:not(.light-theme)[data-theme="dark"] .wb-flag-select-option {
    color: #f8fafc;
}
.wb-flag-select-option:hover,
.wb-flag-select-option:focus-visible {
    background: rgba(255, 61, 119, 0.10);
    color: #ff3d77;
    outline: none;
}
.wb-flag-select-option.is-selected {
    background: linear-gradient(135deg, rgba(255, 61, 119, 0.16), rgba(168, 85, 247, 0.16));
    color: #ff3d77;
    font-weight: 800;
}
.wb-inline-country-flag {
    display: inline-block;
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 3px;
    vertical-align: -2px;
    margin-right: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}
