/* MODAL EKRAN STİLİ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.modal-content p {
  font-size: 1em;
  color: #666;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
  border: none;
  flex: 1;
}

.modal-btn-yes {
  background-color: #3498db;
  color: white;
}

.modal-btn-yes:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.modal-btn-no {
  background-color: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.modal-btn-no:hover {
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

/* TOAST BİLDİRİŞ ANİMASYASI */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* HƏFTƏNIN SUALÜ WIDGET */
.weekly-question-widget {
  position: fixed;
  left: 20px;
  top: 150px;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  animation: slideInLeft 0.5s ease-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  user-select: none;
}

/* ✅ X DÜYMƏSI */
.weekly-question-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 101;
}

.weekly-question-close-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(90deg);
}

/* ✅ BAŞLIQ DRAG OLUNAN ZONA */
.weekly-question-header {
  cursor: grab;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  user-select: none;
}

.weekly-question-header:active {
  cursor: grabbing;
}

.weekly-question-header h3 {
  color: white;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ✅ GÖRÜNSÜN */
.weekly-question-widget.show {
  opacity: 1;
  visibility: visible;
}

/* ✅ GIZLƏNSIN .*/
.weekly-question-widget.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-350px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.weekly-question-widget p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 15px 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.weekly-question-btn {
  background: white;
  color: #27ae60;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
  width: 100%;
}

.weekly-question-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .weekly-question-widget {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 20px;
    width: 100%;
  }
}