body{
	background-color: white;
}

.inspection-point-view {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Volle Bildschirmhöhe */
}

.dropdowns {
  display: flex;
  justify-content: space-around;
  padding: 20px; /* Abstand */
}

.dropdown {
  flex: 1; /* Gleiche Breite für beide Dropdowns */
  margin: 0 10px; /* Abstand zwischen Dropdowns */
}
.inspection-selection{
	flex:1;
	margin: 0 10px;
	display: flex;
	flex-grow: 1;
}

.inspection-select{
	flex-grow: 1;
}

.inspection-point-view select{
	width: 100%;
}

.error-input {
  border: 1px solid red; /* Roter Rand bei ungültiger Eingabe */
}
.text-input {
  background-color: #ddd; /* Helle Hintergrundfarbe für den Input */
}

.arrow-button {
  font-size: 24px; /* Größere Schriftgröße für die Pfeile */
  font-weight: bold; /* Dickere Pfeile */
  padding: 5px 10px; /* Etwas Padding, um die Buttons größer zu machen */
  margin: 0 5px; /* Abstand zwischen den Buttons und dem Dropdown */
  cursor: pointer; /* Cursor ändern, um die Interaktivität anzuzeigen */
  border: none; /* Optional: Entferne den Border, falls gewünscht */
  background-color: transparent; /* Optional: Transparenter Hintergrund */
}

.main-area {
  display: flex;
  flex: 1; /* Rest der vertikalen Höhe einnehmen */
}

.area {
  flex: 1; /* Gleiche Breite für alle Bereiche */
  display: flex;
  justify-content: center; /* Zentrieren der Inhalte */
  align-items: center; /* Vertikal zentrieren */
  border: 1px solid black; /* Sichtbare Trennung */
  padding:20px;
}

.area.left {
  display: flex; /* Flex-Container für die Ausrichtung der Tabelle */
  flex-direction: column; /* Vertikale Anordnung */
  align-items: start; /* Beginn der Ausrichtung am Anfang */
  justify-content: inherit;
  max-width:600px;
}

.highlighted-row {
  background-color: #f2f2f2; /* Hellgrau als Hintergrundfarbe */
}

.highlight-edit select, .highlight-edit input{
	background-color: #FFCF6A;
}

.right {
  flex-direction: column; /* Vertikale Unterteilung */
}

.right-content {
  height: 50%; /* Setzt die Höhe jedes Bereichs auf 50% */
  display: flex; /* Ermöglicht Flexbox-Layout */
  justify-content: center; /* Zentriert den Inhalt horizontal */
  align-items: center; /* Zentriert den Inhalt vertikal */
  width:100%;
}

.image-container {
	position: relative;
  padding: 10px; 
  width: 100%; 
  height: 100%; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.image-full {
  max-width: 100%; 
  max-height: 100%; 
  object-fit: contain; 
}

.marker-rectangle{
  position: absolute;
  border:2px solid red;
  display: none;
}

.invisible-rectangle{
	position:absolute;
	cursor:pointer;
}

.session-info-banner {
  background-color: #e3f2fd;
  color: #005AA9;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  border-left: 4px solid #005AA9;
}

.autosave-indicator {
  position: fixed;
  top: 10px;
  right: 20px;
  background: white;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  z-index: 1000;
  border: 1px solid #eee;
}

.autosave-indicator.saved {
  border-color: #4caf50;
  color: #4caf50;
}

.evaluation-status-banner {
  background-color: #fff3e0;
  color: #e65100;
  padding: 10px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  border-left: 5px solid #ff9800;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.evaluation-status-banner.finished {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left-color: #4caf50;
}

.inspection-point-view {
  display: flex;
  flex-direction: column;
}

.dropdowns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.dropdown {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
  min-width: 200px;
}

.inspection-selection {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.search-field {
  position: relative;
  display: inline-block;
  margin-right: 15px;
}

.clear-search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.clear-search-button:hover {
  color: #666;
}

.text-input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.pr-8 {
  padding-right: 30px !important;
}

.inspection-select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: white;
  font-size: 14px;
  min-width: 250px;
  text-align: center;
  border-left: none;
  border-right: none;
}

.arrow-button {
  background-color: #005AA9;
  color: white;
  border: 1px solid #005AA9;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-button:hover {
  background-color: #004482;
}

.arrow-button-left {
  border-radius: 4px 0 0 4px;
}

.arrow-button:not(.arrow-button-left) {
  border-radius: 0 4px 4px 0;
}

.main-area {
  display: flex;
  flex-grow: 1;
  padding: 20px;
}

.area {
  flex: 1;
  padding: 10px;
  min-width: 0; /* Verhindert Überlauf in Flex-Items */
}

.right-content {
  display: flex;
  flex-direction: column;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 10px;
  border: 1px solid #eee;
}

.highlighted-row {
  background-color: #fafafa;
}

.highlight-edit {
  background-color: #fff9c4;
}

.value-predefined {
  background-color: #e3f2fd;
}

.search-results-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-results-list li {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.search-results-list li:hover {
  background-color: #f0f0f0;
}

.search-results-list li:last-child {
  border-bottom: none;
}

.zoom-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  color: white !important;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  height: 400px;
  background-color: transparent;
}

.image-full {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

  /* Wrapper für Marker, der durch Flexbox zentriert wird */
  .marker-drawing-area {
    /* Wichtig: Dieser Container muss das v-img komplett ausfüllen, 
       damit die Flexbox-Zentrierung funktioniert. 
       Das v-img muss aber ebenfalls object-fit: contain haben. */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }

  /* Der eigentliche Kasten, der sich an die Proportionen des Bildes anpasst.
     Da wir object-fit: contain nutzen, füllt das Bild entweder die volle Breite oder volle Höhe aus.
     In den meisten Fällen (Zeichnung) ist es breiter als hoch.
  */
  .marker-container-inner {
    position: relative;
    /* Da object-fit: contain das Bild einpasst, 
       muss dieser Container hier eigentlich die Dimensionen des skalierten Bildes haben.
       Ohne JS-Berechnung ist das schwer exakt zu treffen, 
       aber wir können versuchen, ihn auf max-width/max-height 100% zu setzen.
    */
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    pointer-events: auto;
  }

  .invisible-rectangle {
    position: absolute;
    cursor: pointer;
    box-sizing: border-box;
  }

  .active-marker {
    border: 2px solid red;
    background-color: rgba(255, 0, 0, 0.1);
  }

:deep(.image-full .v-img__img) {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

:deep(.v-responsive__content) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.green {
  background-color: #c8e6c9 !important;
}

.red {
  background-color: #ffcdd2 !important;
}

.correct-value {
  font-weight: bold;
  margin-left: 10px;
  color: #d32f2f;
}

.hint-vorschlag {
  display: block;
  font-size: 11px;
  color: #666;
  font-style: italic;
  margin-top: 2px;
}

.green-text {
  color: #2e7d32 !important;
}

.deviation-value {
  font-weight: bold;
  margin-left: 10px;
  color: #005AA9;
}

.text-center {
  text-align: center;
}

.button-container {
  padding: 15px 0;
}

.mr-2 {
  margin-right: 8px;
}

.uploads-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px;
}

.upload-thumb {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
}

.upload-thumb:hover {
  border-color: #005AA9;
}

.upload-thumb.active {
  border-color: #005AA9;
  box-shadow: 0 0 4px rgba(0, 90, 169, 0.5);
}

.upload-thumb.is-added {
  border: 3px solid #4caf50 !important;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.7);
}

.upload-thumb.not-added {
  border: 2px solid #f44336 !important;
}

.upload-action-overlay {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  border-bottom-left-radius: 4px;
  display: flex;
}

.suggestion-action-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.action-btn-large {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.action-btn-large .v-icon {
  color: inherit !important;
}

.action-btn-large.v-btn--variant-elevated.success {
  color: #4caf50 !important;
}

.action-btn-large.v-btn--variant-elevated.error {
  color: #f44336 !important;
}

.thumb-img {
  width: 100%;
  height: 100%;
}

.not-processed-hint {
  background-color: #fff3e0;
  color: #ef6c00;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #ffe0b2;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.hint-vorschlag-footer {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  padding-top: 10px;
  text-align: right;
}

.s3m-expand-button i{
	font-size:25px;
}

/* Responsive Design: Änderungen für kleine Bildschirme */
@media (max-width: 768px) {
  .dropdowns, .main-area, .area, .right-content {
    flex-direction: column;
  }
  .area.left{
	max-width: inherit;
  }
}

table {
  width: 100%; /* Stellt sicher, dass die Tabelle den gesamten Bereich ausfüllt */
  border-collapse: collapse; /* Entfernt doppelte Ränder */
}

th, td {
  padding: 8px; /* Fügt Abstand innerhalb der Zellen hinzu */
  text-align: left; /* Optional: Ausrichtung des Textes */
  border-bottom: 1px solid #ddd; /* Fügt eine Linie zwischen den Zeilen hinzu */
}

/* Fügt einen größeren Abstand zwischen Bezeichnung und Wert hinzu */
th {
  padding-right: 16px; /* Fügt rechts in den Kopfzellen mehr Platz hinzu */
}