/* Gesetzesanzeige-Stile */
.law-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
}

.law-paragraph {
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.law-paragraph-num {
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Stile für das Gesetzesmodal */
.law-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.law-modal-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

#law-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

/* LVwVfg Stil wie im Screenshot */
#law-modal-body .law-paragraph br {
  display: block;
  margin-top: 0.5rem;
}

/* Responsive Images in Law Content */
.law-container img, 
.law-modal-body img,
.law-text-content img {
  max-width: 100%;
  height: auto;
}

/* Mobile Modal Adjustments */
@media (max-width: 640px) {
  .law-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  #law-modal-body {
    padding: 1rem;
  }
}
