/* ──────────────────────────────────────────────────────────────────────
   dashboard-3x.css — Phase 3-X
   Bot-health banner styles for permission audit warnings.
   ──────────────────────────────────────────────────────────────────── */

.bot-health-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  margin: 0 0 20px 0;
  background: linear-gradient(135deg, rgba(242, 92, 92, 0.10), rgba(242, 92, 92, 0.04));
  border: 1px solid rgba(242, 92, 92, 0.35);
  border-left: 3px solid #f25c5c;
  border-radius: 10px;
  color: var(--t);
  animation: bhBannerSlide .25s ease-out;
}

@keyframes bhBannerSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bot-health-banner-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(242, 92, 92, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f25c5c;
  margin-top: 2px;
}

.bot-health-banner-body {
  flex: 1;
  min-width: 0;
}

.bot-health-banner-title {
  font-size: 14px;
  font-weight: 600;
  color: #f88080;
  margin-bottom: 4px;
}

.bot-health-banner-desc {
  font-size: 12.5px;
  color: var(--t-m);
  margin-bottom: 10px;
  line-height: 1.5;
}

.bot-health-banner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.bot-health-pill {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(242, 92, 92, 0.16);
  border: 1px solid rgba(242, 92, 92, 0.30);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #f88080;
}

.bot-health-banner-fix {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bot-health-fix-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #f25c5c;
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  transition: background .12s;
}

.bot-health-fix-btn:hover {
  background: #ff7878;
}

.bot-health-banner-hint {
  font-size: 11.5px;
  color: var(--t-d);
}

.bot-health-banner-close {
  flex-shrink: 0;
  background: transparent;
  border: 0;
  color: var(--t-d);
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color .12s;
  margin-top: -2px;
}

.bot-health-banner-close:hover {
  color: var(--t);
}

@media (max-width: 640px) {
  .bot-health-banner {
    flex-direction: column;
    gap: 10px;
  }
  .bot-health-banner-close {
    position: absolute;
    top: 8px;
    right: 12px;
  }
  .bot-health-banner {
    position: relative;
  }
}
