/* Standard-Regeln */
.hidden-col {
  display: none !important;
}

.column-toggle-label {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

@media (max-width: 576px) {
  .column-toggle-label {
    font-size: 0.6rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .table th,
  .table td {
    font-size: 0.85rem;
  }

  /* Schriftgröße für Buttons und Formularelemente auf kleinen Bildschirmen */
  button, .btn, input, select, textarea {
    font-size: 0.8rem;  /* kleinere Schriftgröße für Buttons und Formularelemente */
  }
  
  /* Dropdowns anpassen */
  .dropdown-item {
    font-size: 0.75rem;  /* Schriftgröße für Dropdown-Items */
  }
}

@media (max-width: 767px) {
  body {
    font-size: 12px; 
  }
  
  /* Schriftgröße für Buttons und Formularelemente auf mittleren Bildschirmen */
  button, .btn, input, select, textarea {
    font-size: 0.9rem;  /* Schriftgröße für Buttons und Formularelemente */
  }
  
  /* Schriftgröße für Dropdown-Items */
  .dropdown-item {
    font-size: 0.85rem;  /* Schriftgröße für Dropdown-Items */
  }

  /* Anpassungen für Tooltipps */
  .custom-tooltip .tooltip-inner {
    font-size: 1rem;  /* kleinere Schriftgröße für Tooltips */
  }
}

/* Tooltip Styling */
.custom-tooltip .tooltip-inner {
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #ff5733;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-tooltip .tooltip-arrow {
  border-width: 1.5em;
  border-color: #ff5733 transparent transparent transparent;
}

.custom-tooltip .tooltip-inner {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-tooltip:hover .tooltip-inner {
  opacity: 1;
  transform: scale(1);
}

.tooltip.potential-tooltip .tooltip-inner {
  font-size: 0.9rem;
  font-weight: normal;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
}

.tooltip.potential-tooltip .tooltip-arrow {
  display: none;
}

.dropdown-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

mark {
  background-color: yellow;
  color: black;
  padding: 0 2px;
  border-radius: 2px;
}

/* Zusatz-CSS für das Dropdown */
#search .dropdown-menu {
  max-height: 300px;  /* Maximalhöhe des Dropdowns */
  overflow-y: auto;   /* Scrollen aktivieren, wenn der Inhalt die Maximalhöhe überschreitet */
  display: block;     /* Dropdown immer sichtbar, wenn es angezeigt wird */
}


.error-container {
    background-color: #ff4d4d;
    border-radius: 50%;
    padding: 8px 11px; /* leicht kleiner für besseres Icon */
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display: none;
    user-select: none;
}

.form-group .error-container:not(:empty) {
    display: block;
}

.error-message {
    color: #ff4d4d; /* gleiches Rot */
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.error-message i.bi {
    font-size: 1rem;
    color: #ff4d4d;
}


/* Optionale Anpassungen für kleinere Bildschirme */
@media (max-width: 767px) {
  #search .dropdown-menu {
    max-height: 200px;  /* Kleinere maximale Höhe für mobile Geräte */
  }
}

.responsive-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 992px) {
  .responsive-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .responsive-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 576px) {
  .responsive-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Auth Navigation Styles */
.auth-navigation {
    border-top: 1px solid #e9ecef;
    color: #6c757d;
}

.auth-nav-link {
    color: #007bff;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.auth-nav-link:hover {
    color: #0056b3;
    text-decoration: underline !important;
}

.auth-nav-separator {
    color: #dee2e6;
    font-weight: bold;
}

@media (max-width: 576px) {
    .auth-navigation {
        font-size: 0.85rem;
    }
    
    .auth-nav-separator {
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }
}

