/* استایل پیام سفارشی */
.custom-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  background: var(--items-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  max-width: 90%;
  text-align: center;
}

.custom-message.show {
  opacity: 1;
}

/* نوع موفقیت */
.custom-message.success {
  background: #27ae60; /* سبز */
  color: #fff;
}

/* نوع خطا */
.custom-message.error {
  background: #e74c3c; /* قرمز */
  color: #fff;
}
