/* انیمیشن‌های مودال */
.animate__animated {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 0.8);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

.animate__zoomIn {
  animation-name: zoomIn;
}

/* استایل‌های مودال */
.modal-backdrop {
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* نسخه موبایل */
@media (max-width: 576px) {
  .modal-content {
    width: 95% !important;
    max-width: 95% !important;
  }
}

/* استایل‌های اضافی برای مودال */
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-top: 1px solid #e9ecef;
}

.modal-btn {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.modal-btn-primary {
  background-color: #007bff;
  color: white;
  border: 1px solid #007bff;
}

.modal-btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}

.modal-btn-secondary {
  background-color: white;
  color: #6c757d;
  border: 1px solid #6c757d;
}

.modal-btn-secondary:hover {
  background-color: #f8f9fa;
} 