/* ─── TOAST NOTIFICATIONS ─── */
.toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  min-width: 340px;
  max-width: 440px;
  animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.toast-notification.toast-success {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%) !important;
  border-left: 5px solid #047857 !important;
  border-color: #047857 !important;
  color: #ffffff !important;
}

.toast-notification.toast-success i {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.toast-notification.toast-success span {
  color: #ffffff !important;
}

.toast-notification.toast-success .toast-close {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.toast-notification.toast-error {
  background: linear-gradient(135deg, var(--pink) 0%, #f472b6 100%);
  border-left: 5px solid #db2777;
  border-color: #db2777;
  color: #ffffff;
}

.toast-notification.toast-error i {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.toast-notification.toast-error span {
  color: #ffffff;
}

.toast-notification.toast-error .toast-close {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.toast-notification.toast-info {
  background: linear-gradient(135deg, var(--yellow) 0%, #d97706 100%);
  border-left: 5px solid #b45309;
  border-color: #b45309;
  color: #ffffff;
}

.toast-notification.toast-info i {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.toast-notification.toast-info span {
  color: #ffffff;
}

.toast-notification.toast-info .toast-close {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.toast-notification i {
  font-size: 22px;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
 
}

.toast-notification.toast-success i {

  background: rgba(255, 255, 255, 0.3);
}

.toast-notification.toast-error i {

  background: rgba(255, 255, 255, 0.3);
}

.toast-notification span {
  flex: 1;
  font-size: 15px;
  font-weight: 600;

  line-height: 1.5;
  letter-spacing: 0.01em;
}

.toast-close {
  background: rgba(0, 0, 0, 0.04);
  border: none;
  color: var(--text3);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  transform: rotate(90deg);
}

.toast-notification.toast-hiding {
  opacity: 0;
  transform: translateX(100px) scale(0.95);
}

@media (max-width: 768px) {
  .toast-notification {
    top: auto;
    bottom: 24px;
    right: 24px;
    left: 24px;
    min-width: auto;
    max-width: none;
    padding: 16px 20px;
  }

  .toast-notification i {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .toast-notification span {
    font-size: 14px;
  }
}
