/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 29.09.2025, 10:49:51
    Author     : felix
*/

.div-auftragsuebersicht {
            display: flex;
            flex-direction: column;
            height: auto;
            width: 100%;
            /* gap: 1rem;  */
            /* align-items: stretch; */
        } 
.auftrag-content {
    /* flex: 2; */
    overflow: auto;
    align-items: stretch;
    height: 200px;
    width: 100%
}   
.map_container { 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 400px;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.map{
    width: 65%;
    
}
.layertree{
    width:30%;
    margin-left: 25px;
    overflow-y: auto;
}

.images-slideshow-wrapper  {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 5rem; 
    /* object-fit: contain; */
    }
.still-img {
    flex: 1 1;             /* each takes up half of parent */
    margin-left:10%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.img-body{
    width: 100%;    
    max-width: 100%;     
    height: auto;     
    object-fit: contain; 
}
.img-title {
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-size: 1rem;
    margin-bottom: 2px; */
    /* text-align: center; */
}
.results-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5rem;
}
.cards-container {
 /*   display: flex;
    gap: 3rem; 
   align-items: stretch;*/
    width: 80%;
    text-align: center;
    
}

.canvas-still {
    max-width: 100%;
    max-height: 100%;
}

.chart-slideshow-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: 5rem; */
}

.timeseries-canvas {
    /* flex: 2; */
    height: 400px;
}
.slideshow-image {
    height: auto;
    width: 20%;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.slideshow-title {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.collapsible-arrow {
    transition: transform 0.3s ease;
}

.collapsible-arrow.open {
    transform: rotate(90deg);
}

.modal-body.pdf-export {
    max-width: 1000px;   /* ~A4 width at 96dpi */
    margin: 0 auto;
}
.pdf-export-table {
    font-size: 10px !important;
}


/* Basis‑Style für das Info‑Fenster */
.info-box {
    position: absolute;
    max-width: 280px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    font-size: 0.9rem;
    color: #333;
    z-index: 1500;
}

/* Styling für den Info‑Button selbst (optional) */
.info-btn {
    cursor: pointer;
    color: #0056b3;
    margin: 0 2px;
}

/* Styling for the previous- and next-image buttons in still image slideshow */
.stillSlide-btn {
    cursor: pointer;
    color: #000000;
    margin: 4px 4px;
    border-radius: 6px;
}

/* Neue, gezielte Klasse */
.hidden-box {
    display: none;
}


/* === OpenLayers-kompatibles Styling für Legenden-Control === */
.ol-control.ol-legend {
  top: 0.5em;
  right: 0.5em;
}

.ol-legend button {
  background-color: rgba(40, 40, 40, 0.5);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.ol-legend button:hover {
  background-color: rgba(40, 40, 40, 0.7);
}

.legend-popup {
  position: absolute;
  top: 3.5em;
  right: 0.5em;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  max-height: 350px;
  max-width: 250px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 1251;
  display: none;
}

.legend-popup h5 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #333;
}

.legend-popup img {
  max-width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 8px;
  border-radius: 3px;
}