/* Hauptkomponente für Icons */
/* Einheitliche Icon-Basis */
.bs-icon {
  --bs-icon-size: 1.5rem; /* Alle Standard-Icons nutzen jetzt eine vernünftige Grundgröße */
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  
  width: calc(var(--bs-icon-size) * 1.8);
  height: calc(var(--bs-icon-size) * 1.8);
  font-size: var(--bs-icon-size);
  color: var(--bs-primary);
  
  /* Einheitlicher Rahmen für alle Flaggen/Icons */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Größenklassen zur feinen Steuerung */
.bs-icon-xs { --bs-icon-size: 0.75rem; }
.bs-icon-sm { --bs-icon-size: 1rem; }
.bs-icon-md { --bs-icon-size: 1.5rem; }
.bs-icon-lg { --bs-icon-size: 2rem; }
.bs-icon-xl { --bs-icon-size: 2.5rem; }

/* Farbstile (ohne verkettete Selektoren für flexiblere Nutzung) */
.bs-icon-primary {
  color: var(--bs-white);
  background-color: var(--bs-primary);
}

.bs-icon-primary-light {
  color: var(--bs-primary);
  background-color: rgb(var(--bs-primary-rgb) / 0.2);
}

.bs-icon-semi-white {
  color: var(--bs-primary);
  background-color: rgb(255 255 255 / 0.5);
}

/* Formen */
.bs-icon-rounded {
  border-radius: 0.5rem;
}

.bs-icon-circle {
  border-radius: 50%;
}

/* Utility-Klassen */
.hidden {
  display: none !important;
}

.show {
  display: block !important;
}