/* Toast Notification Styles */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 400px;
  width: calc(100% - 40px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  min-height: 56px;
}

.toast-show {
  opacity: 1;
  transform: translateX(0);
}

.toast-hide {
  opacity: 0;
  transform: translateX(400px);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.toast-close:hover {
  color: #ffffff;
}

.toast-close svg {
  width: 16px;
  height: 16px;
}

/* Toast Types */
.toast-success {
  border-color: rgba(39, 174, 96, 0.5);
  background: rgba(20, 20, 20, 0.98);
}

.toast-success .toast-icon {
  color: #27ae60;
}

.toast-error {
  border-color: rgba(231, 76, 60, 0.5);
  background: rgba(20, 20, 20, 0.98);
}

.toast-error .toast-icon {
  color: #e74c3c;
}

.toast-warning {
  border-color: rgba(243, 156, 18, 0.5);
  background: rgba(20, 20, 20, 0.98);
}

.toast-warning .toast-icon {
  color: #f39c12;
}

.toast-info {
  border-color: rgba(255, 204, 0, 0.5);
  background: rgba(20, 20, 20, 0.98);
}

.toast-info .toast-icon {
  color: #ffcc00;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .toast-container {
    top: 15px;
    right: 15px;
    left: 15px;
    max-width: none;
    width: auto;
  }

  .toast {
    padding: 14px 16px;
    min-height: 52px;
    transform: translateY(-100px);
  }

  .toast-show {
    transform: translateY(0);
  }

  .toast-hide {
    transform: translateY(-100px);
  }

  .toast-message {
    font-size: 13px;
  }

  .toast-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    padding: 12px 14px;
    min-height: 48px;
  }

  .toast-message {
    font-size: 12px;
  }
}

