body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.logo {
  height: 60px;
}

.tagline {
  font-size: 16px;
  margin-top: 10px;
}

.green { color: #2ecc71; }
.orange { color: #f39c12; }

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

textarea {
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
}

button {
  padding: 10px 20px;
  background: #2ecc71;
  border: none;
  color: white;
  cursor: pointer;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  margin-bottom: 15px;
}

/* =========================
   BAR STYLES (FIXED)
   ========================= */

.bar {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: 0%;
  transition: width 0.6s ease;
}

/* Teach Score Bar */
#teachBar {
  background: #2ecc71;
}

/* Monetization Bar */
#monetizationBar {
  background: #f39c12;
}

/* =========================
   SALES QUALITY BAR
   ========================= */

.combined-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.combined-bar .green {
  background: #2ecc71;
}

.combined-bar .orange {
  background: #f39c12;
}

/* =========================
   EXPLANATION STYLING
   ========================= */

.ev {
  color: #27ae60;
}

.ep {
  color: #e67e22;
}

/* =========================
   VERDICT COMPONENT
   ========================= */

.verdict-box {
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* High Trust */
.verdict-green {
  background: #eafaf1;
  color: #27ae60;
  border: 1px solid #2ecc71;
}

/* Balanced */
.verdict-yellow {
  background: #fff8e1;
  color: #f39c12;
  border: 1px solid #f1c40f;
}

/* Strategic Content */
.verdict-orange {
  background: #fff3e0;
  color: #e67e22;
  border: 1px solid #f39c12;
}

/* Sales Heavy */
.verdict-red {
  background: #fdecea;
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

.summary-text {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
}

/* =========================
   TOOLTIP SYSTEM
   ========================= */

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
  color: #888;
  font-weight: bold;
}

.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 6px;

  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);

  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}