/* ========== Location Selector Module Styles ========== */
[data-cls-component="location-selector"] {
    background: #1e293b;
    border-radius: 16px;
    margin: 10px auto;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 600px;
    width: 95%;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toggle Header */
[data-cls-element="ui-toggle"] {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

[data-cls-element="ui-toggle"]:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-cls-element="current-loc-display"] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
}

[data-cls-element="toggle-icon"] {
    font-size: 10px;
    opacity: 0.5;
}

/* Collapsible Body */
[data-cls-element="collapsible-body"] {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tabs */
[data-cls-element="tab-nav"] {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.4);
    padding: 6px;
    border-radius: 12px;
}

[data-cls-element="tab-button"] {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

[data-cls-element="tab-button"]:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

[data-cls-element="tab-button"][data-cls-state="active"] {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Search Container */
[data-cls-element="search-container"] {
    position: relative;
    margin-bottom: 24px;
}

[data-cls-element="search-input"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

[data-cls-element="search-input"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.8);
}

/* Autocomplete */
[data-cls-component="autocomplete"] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-cls-element="autocomplete-item"] {
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-cls-element="autocomplete-item"]:hover {
    background: rgba(59, 130, 246, 0.15);
}

[data-cls-element="city-name"] {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

[data-cls-element="city-country"] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    display: block;
}

/* List Items */
[data-cls-element="location-item"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
}

[data-cls-element="location-item"]:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-cls-element="section-title"] {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
    text-transform: uppercase;
}

[data-cls-element="refresh-btn"] {
    width: 100%;
    padding: 12px;
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

[data-cls-element="refresh-btn"]:hover {
    background: #3b82f6;
    color: white;
}