/* ============================================
   BRANDED TOAST NOTIFICATIONS
   ============================================ */

.ct-toast-container {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  width: calc(100% - 32px);
  pointer-events: none;
}

.ct-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 237, 245, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  overflow: hidden;
  position: relative;
}

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

.ct-toast--leaving {
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.3s ease-in, opacity 0.2s ease;
}

/* Accent bar on left */
.ct-toast__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

.ct-toast--info .ct-toast__accent { background: #00D4FF; }
.ct-toast--success .ct-toast__accent { background: #22C55E; }
.ct-toast--error .ct-toast__accent { background: #EF4444; }
.ct-toast--warning .ct-toast__accent { background: #F59E0B; }
.ct-toast--bet .ct-toast__accent { background: linear-gradient(180deg, #00D4FF, #7C3AED); }
.ct-toast--win .ct-toast__accent { background: linear-gradient(180deg, #22C55E, #00D4FF); }

.ct-toast__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.ct-toast--info .ct-toast__icon { background: rgba(0, 212, 255, 0.12); color: #00D4FF; }
.ct-toast--success .ct-toast__icon { background: rgba(34, 197, 94, 0.12); color: #22C55E; }
.ct-toast--error .ct-toast__icon { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.ct-toast--warning .ct-toast__icon { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.ct-toast--bet .ct-toast__icon { background: rgba(0, 212, 255, 0.12); }
.ct-toast--win .ct-toast__icon { background: rgba(34, 197, 94, 0.12); }

.ct-toast__body { flex: 1; min-width: 0; }

.ct-toast__message {
  font-size: 0.85rem;
  color: #E8EDF5;
  line-height: 1.4;
  display: block;
}

.ct-toast__action {
  font-size: 0.78rem;
  color: #00D4FF;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  margin-top: 2px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 212, 255, 0.3);
}

.ct-toast__close {
  background: none;
  border: none;
  color: rgba(232, 237, 245, 0.4);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.ct-toast__close:hover { color: rgba(232, 237, 245, 0.8); }

@media (max-width: 576px) {
  .ct-toast-container {
    top: auto;
    bottom: 80px;
    right: 8px;
    left: 8px;
    max-width: none;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-toast {
    transform: none;
    transition: opacity 0.2s ease;
  }
  .ct-toast--leaving {
    transform: none;
  }
}
