.location_container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/** dropdown **/
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    margin-top: 20px;
}

.dropdown-toggle {
    background: #333;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 200px;
    transition: all 0.3s ease;
    letter-spacing: 0.3rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    /* KEY FIX: Very high z-index and positioned relative to .dropdown */
    z-index: 1000;
    height: min(345px, 40dvh);
    overflow: scroll;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Show dropdown on click */
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.25rem;
    letter-spacing: 0.2rem;
    padding: 12px 24px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    padding-left: 25px;
    color: #ff7e5f;
}

/* Style 2: Dark Elegant */
.dropdown .dropdown-toggle {
    /* background: #222;
    border: 1px solid #444; */
    background: transparent;
    border: 2px solid #ddd;
    background: rgba(165, 165, 165, 0.2);
    /* background: transparent; */
    backdrop-filter: blur(25px);
}

.dropdown .dropdown-menu {
    color: white;
    background: rgba(110, 110, 110, 0.75);
    backdrop-filter: blur(25px);
}

.dropdown .dropdown-item {
    color: #ddd;
    border-bottom: 1px solid #333;
}

.dropdown .dropdown-item:hover {
    background-color: #333;
    color: #ff7e5f;
}

/** focus **/
.focus {
  border-radius: 50%;
  margin-top: 20px;
  width: 50px ;
  height: 50px ;
  border: none;
  background: transparent;
  background-image: url("./design/icons/focus.png");
  background-size: cover; /* 按比例放大並裁切圖片以填滿容器 */
  background-position: center top; /* 以中央對齊裁切 */
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));;
}

.focus:hover {
  transform: scale(0.8);
}

.focus.is-open {
  transform: rotate(90deg) scale(0.8);;
}