/* Plan location dropdown (Lexus-style, v1 design) */
.v1-location-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.v1-location-wrap .v1-location-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
html.dark .v1-location-wrap .v1-location-label {
    color: #94a3b8;
}
.v1-location-dropdown {
    position: relative;
    display: block;
    width: 100%;
}
.v1-location-trigger {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}
html.dark .v1-location-trigger {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.v1-location-trigger:hover {
    border-color: rgba(13, 108, 242, 0.3);
    background: #fff;
    box-shadow: 0 4px 12px rgba(13, 108, 242, 0.1);
}
html.dark .v1-location-trigger:hover {
    border-color: rgba(13, 108, 242, 0.4);
    background: rgba(51, 65, 85, 0.8);
}
.v1-location-trigger:focus {
    outline: none;
    border-color: #0d6cf2;
    box-shadow: 0 0 0 3px rgba(13, 108, 242, 0.2);
}
.v1-location-trigger-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.v1-location-trigger-flag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.v1-flag-inline {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
    display: block;
}
.v1-location-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #64748b;
    transition: transform 0.2s ease;
}
html.dark .v1-location-icon {
    color: #94a3b8;
}
.v1-location-dropdown.is-open .v1-location-icon {
    transform: rotate(180deg);
}
.v1-location-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 6px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 280px;
    overflow-y: auto;
}
html.dark .v1-location-panel {
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.v1-location-dropdown.is-open .v1-location-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.v1-location-option {
    min-height: 40px;
    height: auto;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.875rem;
    color: #64748b;
}
.v1-location-option-flag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.v1-location-option .v1-flag-inline {
    width: 20px;
    height: 13px;
}
.v1-location-option-name {
    flex: 1;
    min-width: 0;
}
.v1-location-option-pill-wrap {
    flex-shrink: 0;
}
.v1-location-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: rgba(13, 108, 242, 0.15);
    color: #0d6cf2;
    white-space: nowrap;
}
html.dark .v1-location-pill {
    background: rgba(13, 108, 242, 0.25);
    color: #93c5fd;
}
.v1-location-out-of-stock {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
    white-space: nowrap;
}
html.dark .v1-location-out-of-stock {
    background: rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}
html.dark .v1-location-option {
    color: #94a3b8;
}
.v1-location-option:hover {
    background: rgba(13, 108, 242, 0.1);
    color: #0d6cf2;
}
html.dark .v1-location-option:hover {
    background: rgba(13, 108, 242, 0.15);
    color: #60a5fa;
}
.v1-location-option.is-selected {
    background: rgba(13, 108, 242, 0.15);
    color: #0d6cf2;
    font-weight: 600;
}
html.dark .v1-location-option.is-selected {
    background: rgba(13, 108, 242, 0.25);
    color: #93c5fd;
}
.v1-location-option.is-disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
}
.v1-location-option.is-disabled:hover {
    background: transparent;
    color: inherit;
}
html.dark .v1-location-option.is-disabled {
    opacity: 0.65;
}
html.dark .v1-location-option.is-disabled:hover {
    background: transparent;
    color: #94a3b8;
}
.v1-location-continue {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    background: #0d6cf2;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
    box-shadow: 0 4px 14px rgba(13, 108, 242, 0.3);
}
.v1-location-continue:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13, 108, 242, 0.35);
}
.v1-location-continue:active {
    transform: translateY(0);
}

/* Windows RDP: blue accent (#0078D7) */
.v1-location-wrap--windows .v1-location-trigger:hover,
.v1-location-wrap--windows .v1-location-trigger:focus { border-color: rgba(0, 120, 215, 0.4); box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2); }
.v1-location-wrap--windows .v1-location-option:hover,
.v1-location-wrap--windows .v1-location-option.is-selected { background: rgba(0, 120, 215, 0.1); color: #0078D7; }
html.dark .v1-location-wrap--windows .v1-location-option:hover,
html.dark .v1-location-wrap--windows .v1-location-option.is-selected { background: rgba(0, 120, 215, 0.2); color: #60a5fa; }
.v1-location-wrap--windows .v1-location-continue { background: #0078D7; box-shadow: 0 4px 14px rgba(0, 120, 215, 0.3); }
.v1-location-wrap--windows .v1-location-continue:hover { background: #005a9e; box-shadow: 0 6px 18px rgba(0, 120, 215, 0.35); }
.v1-location-wrap--windows .v1-location-pill { background: rgba(0, 120, 215, 0.15); color: #0078D7; }
html.dark .v1-location-wrap--windows .v1-location-pill { background: rgba(0, 120, 215, 0.25); color: #93c5fd; }

/* Linux RDP / Linux VPS: orange accent (#E95420) */
.v1-location-wrap--linux .v1-location-trigger:hover,
.v1-location-wrap--linux .v1-location-trigger:focus { border-color: rgba(233, 84, 32, 0.4); box-shadow: 0 0 0 3px rgba(233, 84, 32, 0.2); }
.v1-location-wrap--linux .v1-location-option:hover,
.v1-location-wrap--linux .v1-location-option.is-selected { background: rgba(233, 84, 32, 0.1); color: #E95420; }
html.dark .v1-location-wrap--linux .v1-location-option:hover,
html.dark .v1-location-wrap--linux .v1-location-option.is-selected { background: rgba(233, 84, 32, 0.2); color: #fdba74; }
.v1-location-wrap--linux .v1-location-continue { background: #E95420; box-shadow: 0 4px 14px rgba(233, 84, 32, 0.3); }
.v1-location-wrap--linux .v1-location-continue:hover { background: #C34113; box-shadow: 0 6px 18px rgba(233, 84, 32, 0.35); }
.v1-location-wrap--linux .v1-location-pill { background: rgba(233, 84, 32, 0.15); color: #E95420; }
html.dark .v1-location-wrap--linux .v1-location-pill { background: rgba(233, 84, 32, 0.25); color: #fdba74; }

/* Game VPS: dark panel, white/10 border, lime primary */
.v1-location-wrap--game .v1-location-label { color: rgba(255,255,255,0.7); }
.v1-location-wrap--game .v1-location-trigger { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.v1-location-wrap--game .v1-location-trigger:hover { border-color: rgba(190, 242, 100, 0.4); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 2px rgba(190, 242, 100, 0.2); }
.v1-location-wrap--game .v1-location-trigger:focus { outline: none; border-color: #bef264; box-shadow: 0 0 0 3px rgba(190, 242, 100, 0.25); }
.v1-location-wrap--game .v1-location-icon { color: rgba(255,255,255,0.6); }
.v1-location-wrap--game .v1-location-panel { background: rgba(18, 18, 18, 0.98); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.v1-location-wrap--game .v1-location-option { color: rgba(255,255,255,0.8); }
.v1-location-wrap--game .v1-location-option:hover,
.v1-location-wrap--game .v1-location-option.is-selected { background: rgba(190, 242, 100, 0.15); color: #bef264; }
.v1-location-wrap--game .v1-location-option.is-disabled { opacity: 0.5; }
.v1-location-wrap--game .v1-location-continue { background: #bef264; color: #000; box-shadow: 0 0 20px rgba(190, 242, 100, 0.3); }
.v1-location-wrap--game .v1-location-continue:hover { background: #a3e635; box-shadow: 0 0 24px rgba(190, 242, 100, 0.4); }
.v1-location-wrap--game .v1-location-pill { background: rgba(190, 242, 100, 0.2); color: #bef264; }
.v1-location-wrap--game .v1-location-out-of-stock { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }

/* OpenClaw: rounded-lg, red primary */
.v1-location-wrap--openclaw .v1-location-trigger { border-radius: 0.5rem; }
.v1-location-wrap--openclaw .v1-location-trigger:hover,
.v1-location-wrap--openclaw .v1-location-trigger:focus { border-color: rgba(255, 66, 66, 0.4); box-shadow: 0 0 0 3px rgba(255, 66, 66, 0.2); }
.v1-location-wrap--openclaw .v1-location-panel { border-radius: 0.5rem; }
.v1-location-wrap--openclaw .v1-location-option { border-radius: 0.5rem; }
.v1-location-wrap--openclaw .v1-location-option:hover,
.v1-location-wrap--openclaw .v1-location-option.is-selected { background: rgba(255, 66, 66, 0.1); color: #FF4242; }
html.dark .v1-location-wrap--openclaw .v1-location-option:hover,
html.dark .v1-location-wrap--openclaw .v1-location-option.is-selected { background: rgba(255, 66, 66, 0.2); color: #f87171; }
.v1-location-wrap--openclaw .v1-location-continue { border-radius: 0.5rem; background: #FF4242; box-shadow: 0 4px 14px rgba(255, 66, 66, 0.3); }
.v1-location-wrap--openclaw .v1-location-continue:hover { background: #FF2020; box-shadow: 0 6px 18px rgba(255, 66, 66, 0.35); }
.v1-location-wrap--openclaw .v1-location-pill { background: rgba(255, 66, 66, 0.15); color: #FF4242; }
