/* ═══════════════════════════════════════════════════════
   AstroKamya™ · SoulSync Intelligence Styles
   Trajectory · Conflicts · Health · Strengths
   ═══════════════════════════════════════════════════════ */

/* ═══ PANEL ═══ */
.ssi-panel { max-width: 780px; margin: 0 auto; }

.ssi-hero {
  text-align: center; padding: 30px 20px 24px;
  background: linear-gradient(135deg, rgba(124,92,252,0.06), rgba(76,219,196,0.04));
  border: 1px solid rgba(124,92,252,0.1);
  border-radius: 18px; margin-bottom: 24px;
}
.ssi-hero-icon { font-size: 36px; margin-bottom: 8px; }
.ssi-hero-title {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(90deg, #F0F0F5, #A78BFA);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ssi-hero-sub { font-size: 13px; color: rgba(240,240,245,0.45); margin-top: 4px; }

.ssi-section { margin-bottom: 24px; }
.ssi-section-label {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  color: rgba(240,240,245,0.35); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.ssi-section-label::after { content:''; flex:1; height:1px; background:rgba(255,255,255,0.05); }

/* ═══ SIMULATION FORM ═══ */
.ssi-sim-form {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px;
}
.ssi-sim-row { display: flex; gap: 12px; margin-bottom: 14px; }
.ssi-sim-field { flex: 1; }
.ssi-sim-field label { display: block; font-size: 11px; font-weight: 600; color: rgba(240,240,245,0.5); margin-bottom: 4px; }
.ssi-input {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: #F0F0F5; font-family: inherit; font-size: 13px;
  transition: border-color 0.2s;
}
.ssi-input:focus { outline: none; border-color: rgba(124,92,252,0.3); }
.ssi-sim-btn {
  width: 100%; padding: 12px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #7C5CFC, #4CDBC4);
  color: #fff; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ssi-sim-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,92,252,0.3); }
.ssi-sim-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ═══ TRAJECTORY CHART ═══ */
.ssi-trajectory {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px; margin-bottom: 16px;
}
.ssi-trajectory-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ssi-trajectory-title { font-size: 14px; font-weight: 700; color: #F0F0F5; }
.ssi-trajectory-badge {
  font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 8px;
  background: rgba(34,197,94,0.1); color: #22C55E; border: 1px solid rgba(34,197,94,0.15);
}
.ssi-trajectory-chart {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 6px; height: 150px; padding-bottom: 24px;
}
.ssi-traj-month {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: ssiSlideUp 0.4s ease forwards; opacity: 0; transform: translateY(10px);
}
@keyframes ssiSlideUp { to { opacity: 1; transform: translateY(0); } }
.ssi-traj-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ssi-traj-bar { width: 28px; border-radius: 6px 6px 2px 2px; min-height: 8px; transition: height 0.8s cubic-bezier(.4,0,.2,1); }
.ssi-traj-score { font-size: 10px; font-weight: 800; color: rgba(240,240,245,0.7); }
.ssi-traj-label { font-size: 10px; color: rgba(240,240,245,0.4); font-weight: 600; }
.ssi-traj-event { font-size: 8px; color: rgba(240,240,245,0.3); text-align: center; max-width: 60px; line-height: 1.3; }

/* ═══ BREAKUP METER ═══ */
.ssi-breakup-meter {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.ssi-breakup-label { font-size: 11px; font-weight: 600; color: rgba(240,240,245,0.5); min-width: 110px; }
.ssi-breakup-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ssi-breakup-fill { height: 100%; border-radius: 2px; transition: width 1s ease; }
.ssi-breakup-val { font-size: 12px; font-weight: 800; color: #F0F0F5; min-width: 32px; text-align: right; }

/* ═══ CONFLICT TIMELINE ═══ */
.ssi-conflicts {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px; margin-bottom: 16px;
}
.ssi-conflicts-title { font-size: 14px; font-weight: 700; color: #F0F0F5; margin-bottom: 14px; }
.ssi-conflict-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: ssiSlideUp 0.4s ease forwards; opacity: 0;
}
.ssi-conflict-item:last-child { border-bottom: none; }
.ssi-conflict-severity { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.ssi-conflict-date { font-size: 12px; font-weight: 700; color: #F0F0F5; margin-bottom: 2px; }
.ssi-conflict-reason { font-size: 11px; color: rgba(240,240,245,0.5); line-height: 1.5; }
.ssi-conflict-fix { font-size: 11px; color: #E0A526; margin-top: 4px; font-weight: 500; }
.ssi-no-conflicts { text-align: center; padding: 24px; color: rgba(240,240,245,0.4); font-size: 13px; }
.ssi-no-conflicts span { font-size: 24px; display: block; margin-bottom: 8px; }

/* ═══ HEALTH METERS ═══ */
.ssi-health {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 18px; margin-bottom: 16px;
}
.ssi-health-title { font-size: 14px; font-weight: 700; color: #F0F0F5; margin-bottom: 14px; }
.ssi-health-grid { display: flex; flex-direction: column; gap: 10px; }
.ssi-health-metric {
  display: flex; align-items: center; gap: 10px;
  animation: ssiSlideUp 0.4s ease forwards; opacity: 0;
}
.ssi-health-icon { font-size: 16px; flex-shrink: 0; }
.ssi-health-label { font-size: 12px; font-weight: 600; color: rgba(240,240,245,0.6); min-width: 120px; }
.ssi-health-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ssi-health-fill { height: 100%; border-radius: 2px; transition: width 1s cubic-bezier(.4,0,.2,1); }
.ssi-health-val { font-size: 12px; font-weight: 800; color: #F0F0F5; min-width: 32px; text-align: right; }

/* ═══ STRENGTHS / WEAKNESSES ═══ */
.ssi-strengths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 16px;
}
.ssi-sw-col {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 14px;
}
.ssi-sw-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.ssi-sw-good { color: #22C55E; }
.ssi-sw-risk { color: #F59E0B; }
.ssi-sw-item {
  font-size: 12px; line-height: 1.5; color: rgba(240,240,245,0.6);
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.ssi-sw-item:last-child { border-bottom: none; }
.ssi-sw-item.good::before { content: '✓ '; color: #22C55E; font-weight: 700; }
.ssi-sw-item.risk::before { content: '⚠ '; color: #F59E0B; }

/* ═══ HISTORY ═══ */
.ssi-hist-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 6px; transition: border-color 0.2s;
}
.ssi-hist-item:hover { border-color: rgba(124,92,252,0.15); }
.ssi-hist-icon { font-size: 16px; }
.ssi-hist-body { flex: 1; }
.ssi-hist-name { font-size: 13px; font-weight: 700; color: #F0F0F5; }
.ssi-hist-date { font-size: 10px; color: rgba(240,240,245,0.4); margin-top: 2px; }
.ssi-hist-score { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(34,197,94,0.1); color: #22C55E; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
  .ssi-sim-row { flex-direction: column; }
  .ssi-strengths { grid-template-columns: 1fr; }
  .ssi-trajectory-chart { gap: 3px; }
  .ssi-traj-bar { width: 20px; }
}
