/* src/styles/GlobeControlBox.css */

.globe-control-box {
    position: absolute;
    top: 60px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
    max-width: 300px;
    width: 100%;
    z-index: 900;
}

.globe-control-box.show {
    opacity: 1;
    transform: translateY(0);
}

.globe-control-box.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.globe-control-box h4 {
    margin-top: 0;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

.control-section {
    margin-bottom: 15px;
}

.control-label {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
}

.control-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.number-input {
    margin-left: 10px;
    padding: 5px;
    border: none;
    border-radius: 4px;
    width: 80px;
}

.get-terrain-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.get-terrain-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.get-terrain-button:active {
    transform: scale(1);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.drone-toggles {
    max-height: 150px;
    overflow-y: auto;
}

.drone-toggle {
    margin-bottom: 8px;
}

.drone-toggle label {
    font-size: 13px;
}