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

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

.map-controls .radio-group {
    margin: 0;
}

.map-controls .radio-group label {
    margin-right: 15px;
    color: #000;
    cursor: pointer;
}

.map-controls .radio-group input[type="radio"] {
    margin-right: 5px;
}

.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%;
}
