.header-location {
    position: relative;
}

.header-location-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 16px;
    z-index: 50;
}

.header-location-panel[hidden] {
    display: none;
}

.header-location-guest {
    text-align: center;
    padding: 12px 0 4px;
}

.header-location-guest-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff5ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #ea580c;
    font-size: 22px;
}

.header-location-guest-text {
    color: #6b7280;
    margin: 0 0 14px;
}

.header-location-guest-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #ea580c;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.header-location-guest-btn:hover {
    background: #c2410c;
    color: #fff;
}

.header-location-user-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.header-location-user-title {
    font-weight: 600;
    color: #111827;
}

.header-location-user-count {
    font-size: 13px;
    color: #9ca3af;
}

.header-location-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 260px;
    overflow-y: auto;
}

.header-location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.header-location-item:hover {
    background: #f9fafb;
}

.header-location-item.is-active {
    background: #fff5ef;
}

.header-location-item-icon {
    color: #9ca3af;
    font-size: 18px;
    flex-shrink: 0;
}

.header-location-item.is-active .header-location-item-icon {
    color: #ea580c;
}

.header-location-item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.header-location-item-body strong {
    color: #111827;
    font-size: 14px;
}

.header-location-item-body span {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-location-item-check {
    color: #ea580c;
    margin-left: auto;
}

.header-location-empty {
    text-align: center;
    color: #6b7280;
    padding: 16px 0;
}

.header-location-empty i {
    font-size: 28px;
    margin-bottom: 6px;
    display: block;
    color: #d1d5db;
}

.header-location-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px;
    border-top: 1px solid #f3f4f6;
    color: #ea580c;
    text-decoration: none;
    font-weight: 600;
}

.header-location-add:hover {
    color: #c2410c;
    text-decoration: none;
}
