#map {
    height: 500px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.radio-group {
    margin: 0;
}

.radio-group p {
    margin: 5px 0;
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

.normalisasi-popup {
    padding: 10px;
}

.normalisasi-popup h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.normalisasi-image {
    margin-bottom: 10px;
    text-align: center;
}

.normalisasi-image img {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.normalisasi-details {
    margin-top: 10px;
}

.normalisasi-details p {
    margin: 5px 0;
    font-size: 14px;
}

.popup-content {
    padding: 10px;
    min-width: 180px;
    max-width: 300px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    word-wrap: break-word;
}

.popup-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.popup-header h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0;
}

.popup-body {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.foto-container {
    flex: 0 0 80px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-normalisasi {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}

.detail-container {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    padding: 3px;
    background: #f8f9fa;
    border-radius: 4px;
}

.info-item i {
    color: #3498db;
    font-size: 0.8rem;
    margin-right: 6px;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-content label {
    display: block;
    color: #7f8c8d;
    font-size: 0.7rem;
    margin-bottom: 1px;
}

.info-content p {
    margin: 0;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-width: 100%;
}

#popup {
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 300px;
}

#popup:after {
    border-width: 8px;
    left: 48px;
    margin-left: -8px;
}

#popup:before {
    border-width: 9px;
    left: 48px;
    margin-left: -9px;
}

#popup-closer {
    top: 2px;
    right: 6px;
}

#popup-closer:after {
    font-size: 16px;
}

.year-filter-control {
    position: absolute;
    left: 2.5em;
    top: 0.5em;
    z-index: 1;
}

.year-filter-container {
    background: white;
    padding: 2px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.year-filter-container select {
    min-width: 120px;
    max-height: 40px;
    padding-left: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    font-size: 12px;
}
