#terrainProfileDiv{
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    margin: auto;
    z-index: 99999;
    background-color: var(--c-background-modal);
    display: none;
    width: 304px;
    border-radius: 7px 7px 0 0;
    text-align: center;
    box-shadow: 0 4px 6px 0 rgba(0, 0,0 ,0.2);
    
  }
  #resizableChartContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* Initial width */
    height: 200px; /* Initial height */
    border: 1px solid var(--c-background-modal);
    overflow: hidden;
    resize: both;
    background-color: var(--c-background-modal);
    z-index: 10000000;
    min-width: 400px;
    min-height: 600px;
    overflow-y: auto;
    border-radius: 7px 7px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
  
  #resizableChartContainerHeader {
    background-color: var(--kommunfarg);
    color: white !important;
    padding: 5px 10px;
    cursor: grab;
    width: 100%;
    text-align: center;
    font-weight: bold;
    min-height: 32px;
  }
  .drag-bar {
    
  }
  #resizableChartContainerHeader:active {
    cursor: grabbing;
  }
  #resizableChartContainer h2 {
    text-align: center; 
  }

  .terrain-profile__btn-container {
    top: 0;
    right: 5px;
    position: absolute;
    display: flex;
  }
  .terrain-profile__btn {
    background: transparent;
    position: unset;
    width: 22px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .terrain-profile__btn > i {
    width: 12px;
    height: 12px;
  }
  .terrain-profile__btn > i > img {
    width: 12px;
    height: 12px;
  }
  .terrain-profile__btn:hover {
    opacity: 0.9;
  }
  .terrain-profile__btn:active {
    opacity: 1;
  }
  .btn--excel > i {
    width: 22px;
    height: 22px;
  }
  .btn--excel > i > img {
    width: 22px;
    height: 22px;
  }
  /* Scrollbar-effect------- */
  #resizableChartContainer::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: 8px;
    }
    #resizableChartContainer::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: var(--c-scrollbar-track);
    margin-top: 20px;
    margin-bottom: 20px; 
    }
    #resizableChartContainer::-webkit-scrollbar-thumb {
    background: var(--c-scrollbar-blue);
    border-radius: 10px;
    transition: 0.5s;
    }
    #resizableChartContainer::-webkit-scrollbar-thumb:hover {
    background: var(--c-scrollbar-hover);
    transition: 0.5s;
    }
  
  
  /* Style for the canvas inside the resizable container */
  #terrainProfileChart {
    position: relative;
    top: 0px;
    width: 100%;
    height: 100%;
  }
  
  #closeChartButton {
    border: none;
    cursor: pointer;
  }
  #exportToExcelButton {
    border: none;
    cursor: pointer;
  }
  #toggleCoordinatesButton {
   padding: 10px;
   border-radius: 15px;
   border: none;
   background-color: #dbdbdb;
    cursor: pointer;
  }
  #punktlistaTable {
    margin-left: auto; 
    margin-right: auto;
    width: 100%;
    padding-inline: 26px;
    max-width: 420px;
    font-weight: 400;
  }
  .terrain-coordinate-form {
    padding-inline: 26px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    max-width: 420px;
    margin-inline: auto;
    margin-block: 16px;
  }
  .terrain-coordinate-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  #punktlistaTable th {
    text-align: left;
  }