.map {
    width: 100%;
    height: 100vh;
    position: relative;
}

#layer-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
}

#layer-controls h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

#layer-controls div {
    margin: 5px 0;
}

body {
    margin: 0;
    padding: 0;
}

.dialog {
    display: none;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
}

.dialog::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.9);
}

.dialog.active {
    display: block;
}

.dialog-content {
    width: 100%;
}

.region-list {
    margin: 10px 0;
    max-height: 100px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 5px;
}

.region-list .region-item {
    display: inline-block;
    margin: 3px;
    padding: 5px 10px;
    background: rgba(224, 224, 224, 0.9);
    border-radius: 15px;
    font-size: 14px;
}

.input-section {
    margin-top: 15px;
}

#region-question {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: 1px solid rgba(221, 221, 221, 0.8);
    border-radius: 5px;
    resize: vertical;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.8);
}

#submit-question {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#submit-question:hover {
    background: rgba(69, 160, 73, 0.9);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dialog-header h3 {
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0 5px;
}

.close-button:hover {
    color: #000;
} 