#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;
}

.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-sarpras {
    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-footer {
    margin-top: 0px;
    padding-top: 0px;
    border-top: 1px solid #eee;
}

.btn-primary {
    background-color: #3498db;
    transition: all 0.3s ease;
    width: 100% !important;
}

#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: 200px;
}

#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;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.chip-list .chip {
    display: inline-flex;
    align-items: center;
    background: #ededed;
    color: #444;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    box-shadow: none;
}
