/* Preloader styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-container {
  text-align: center;
  position: relative;
  width: 100px;
  height: 100px;
}

.loading {
  width: 100px;
  height: 100px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loading-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

#loading-icon img {
  max-width: 60px;
  height: auto;
  display: block;
}

/* Progress indicator styles */
.paginacontainer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  display: none;
}

.paginacontainer.active-progress {
  display: block;
}

.progress-wrap {
  width: 46px;
  height: 46px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-wrap svg {
  width: 46px;
  height: 46px;
}

.progress-wrap svg path {
  fill: none;
  stroke: #3498db;
  stroke-width: 4;
  box-sizing: border-box;
  transition: stroke-dashoffset 0.3s;
}