.modal-container,
.modal-container-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99999;
}


.modal-container.active,
.modal-container-top-bar.active {
  visibility: visible;
  opacity: 1;
}

.modal-content,
.modal-content-top-bar {
  background: transparent;
  border-radius: 8px;
  width: 636px;
  max-width: 90%;
  position: relative;
  font-family: var(--e-global-typography-407a70a-font-family);
  font-size: 16px;
  font-weight: 500;
  color: white;
}
.modal-content-top-bar {
  width: 450px;
}
.progress-bar-container,
.progress-bar-container-top-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 5px;
  width: calc(100% - 40px); /* Setze die Breite des Containers */
}

.progress-bar {
  width: 100%; /* Der Fortschrittsbalken füllt den gesamten Container */
  height: 5px;
  background: #ccc;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%; /* Initiale Breite auf 0% */
  background: #fff; /* Sichtbare Farbe */
  transition: width 0 ease-in-out; /* Flüssiges Wachstum */
}

.slider-content, 
.slider-content-top-bar {
  min-height: 500px;
  width: 100%;
}


.cover-preview,
.cover-preview-top-bar {
  position: absolute;
  top: 40px;
  width: calc(100% - 40px);
  left: 20px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.preview-inner {
  height: 32px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
.preview-inner img {
  height: 100%;
  border-radius: 100%;
}

.prev-arrow,
.prev-arrow-top-bar {
  left: 20px;
}
.next-arrow,
.next-arrow-top-bar {
  right: 20px;
}

.next-arrow,
.next-arrow-top-bar,
.prev-arrow,
.prev-arrow-top-bar {
  cursor: pointer;
  position: absolute;
  top: 46%;
  border: 0;
  font-size: 50px;
  padding: 0;
  z-index: 9;
}

.side-buttons {
  position: absolute;
  top: 50%;
  width: calc(100% + 300px);
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  left: calc(-150px);
}
.prev-fabric,
.next-fabric,
.prev-fabric-top-bar,
.next-fabric-top-bar {
  cursor: pointer;
}
.slider-footer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
}
.select-fabric {
  width: 100%;
  background: var(--e-global-color-accent);
  color: #fff !important;
  font-family: var(--e-global-typography-407a70a-font-family);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16px;
  border: 0;
  padding: 12px 16px;
}
.select-fabric:hover {
  background: #6E8681;
}

.close-btn {
  font-size: 25px;
  font-weight: 900;
  z-index: 9;
  cursor: pointer;
}

