.pdf-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 45px;
}

.pdf-swiper {
  width: 100%;
  height: calc(100% - 40px); // Оставляем место для page-info
  flex: 1;
}

.pdf-page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.pdf-page-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #fcefd8;
  font-size: 18px;
  font-weight: 500;
}

.error {
  text-align: center;
  padding: 40px;
  color: #ff6b6b;
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.page-info {
  text-align: center;
  color: #fcefd8;
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
}

.slider-nav {
  position: absolute;
  top: -20px;
  display: flex;
  gap: 8px;
  //justify-content: space-between;
  //align-items: center;
  //margin-top: 20px;
  //padding: 0 20px;
}

.custom-prev,
.custom-next {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s ease;

  &:hover {
    opacity: 0.7;
  }

  &:active {
    opacity: 0.5;
  }
}
