/* Trade Alerts Styling */

.trade-alert {
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-left: 4px solid #00d4ff;
  animation: slideInLeft 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.5s ease;
  max-width: 420px;
}

.trade-alert.buy {
  border-left-color: #00d4ff;
}

.trade-alert.profit {
  border-left-color: #00ff88;
}

.trade-alert.loss {
  border-left-color: #ff4444;
}

.alert-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.alert-icon {
  font-size: 24px;
  margin-right: 12px;
}

.alert-header h4 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.alert-close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.alert-close:hover {
  color: #fff;
}

.alert-body {
  color: #ccc;
}

.alert-body p {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.alert-body .btn {
  display: inline-block;
  padding: 8px 16px;
  background: #00d4ff;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}

.alert-body .btn:hover {
  background: #00b8e6;
}

.trade-alert.profit .alert-body .btn {
  background: #00ff88;
}

.trade-alert.profit .alert-body .btn:hover {
  background: #00e678;
}

.trade-alert.loss .alert-body .btn {
  background: #ff4444;
  color: #fff;
}

.trade-alert.loss .alert-body .btn:hover {
  background: #e63939;
}

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

/* Pump Detection Alert (softer colors) */
.trade-alert.pump {
  border-left-color: #ffa500;
  background: rgba(255, 165, 0, 0.1);
}

.trade-alert.sniping {
  border-left-color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

