body { margin: 0; overflow: hidden; }

#cesiumContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#renderCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#controls-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
    display: flex;
    gap: 10px;
}

#controls-container button {
    height: 44px;            /* ← この行を追加 (高さを固定) */
    box-sizing: border-box;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#controls-container button:hover {
    background-color: rgba(255, 255, 255, 1);
}

#controls-container button.active-button {
    background-color: #48aaff;
    color: white;
    border-color: #0056b3;
    cursor: default;
}

#coords-display {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 14px;
    z-index: 20;
    pointer-events: none;
}

/* ▼▼▼ REPLACED/NEW STYLES ▼▼▼ */

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by default) */
.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    margin-top: 5px;
    overflow: hidden; /* Ensures child borders don't stick out */
}

.dropdown-content.hidden {
    display: none;
}

/* Links/Buttons inside the dropdown */
.dropdown-content button {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    background-color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
}

/* Remove border from the last button */
.dropdown-content button:last-child {
    border-bottom: none;
}


/* Change color of dropdown links on hover */
.dropdown-content button:hover {
    background-color: #f1f1f1;
}

/* Style for the active/selected date button */
.dropdown-content button.active-layer-button {
    background-color: #007bff;
    color: white;
}