/* Mevcut stiller */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  cursor: zoom-out;
}

.slider-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slider-container .slide-counter {
  position: absolute;
  top: 100%;
  right: 0;
  color: white;
  font-size: 12px;
  padding-top: 4px;
}

.close-btn {
  color: #fff;
  position: absolute;
  bottom: 100%;
  right: 0;
  cursor: pointer;
  lighting-color: 0.5;
  font-size: 28px;
  opacity: 0.6;
  transition: all 0.3s;
}
.close-btn:hover {
  opacity: 100;
}

.slider-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

.prev-btn,
.next-btn {
  background-color: transparent;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  transition: all 0.3s;
}
.prev-btn:hover,
.next-btn:hover {
  opacity: 100;
}
.prev-btn {
  border-right-color: white;
  left: 30px;
}
.next-btn {
  border-left-color: white;
  right: 30px;
}

/* Yeni eklenen hata modalı stilleri */
.error-modal button,
.modal-button {
  background-color: #6366f1;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  border: 1px solid #4f46e5;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.2s ease;
  display: inline-block;
  font-weight: 500;
}

.error-modal button:hover,
.modal-button:hover {
  background-color: #4f46e5;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  cursor: zoom-out;
}

.error-modal {
  background: white;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.error-modal h2 {
  color: #1f2937;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
}

.error-modal p {
  color: #4b5563;
  margin-bottom: 20px;
  font-size: 14px;
}
