/* my_transits.css v2 — light-theme to match site's warm #fff7ed background */

/* ── Form card ───────────────────────────────────────────────── */
.mt-form-card {
  background: #fff;
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 24px 24px 20px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(154,52,18,0.08);
}
.mt-form-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #9a3412;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

.mt-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.mt-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #44403c;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.mt-form-grid input {
  padding: 10px 13px;
  border: 2px solid #d6d3d1;
  border-radius: 8px;
  background: #fff;
  color: #292524;
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.mt-form-grid input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.mt-form-grid input::placeholder { color: #a8a29e; }

.mt-loc-wrap { grid-column: 1 / -1; }
.mt-loc-wrap label { width: 100%; }

.mt-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.mt-submit-btn {
  padding: 11px 28px;
  background: linear-gradient(135deg, #ea580c, #9a3412);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(154,52,18,0.3);
}
.mt-submit-btn:hover {
  background: linear-gradient(135deg, #f97316, #b45309);
  box-shadow: 0 4px 14px rgba(154,52,18,0.4);
  transform: translateY(-1px);
}
.mt-submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.mt-hint {
  font-size: 12px;
  color: #78716c;
  line-height: 1.6;
}

/* ── Results area ────────────────────────────────────────────── */
#mt-results { display: none; }

.mt-report-header {
  background: #fff;
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(154,52,18,0.08);
}
.mt-score-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--score-color, #f97316);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff7ed;
}
.mt-score-pct {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--score-color, #f97316);
  line-height: 1;
}
.mt-score-label {
  font-size: 9px;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.mt-report-meta h3 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: #292524;
  margin: 0 0 4px;
}
.mt-report-meta p {
  font-size: 13px;
  color: #44403c;
  margin: 0 0 8px;
  line-height: 1.5;
}
.mt-overall-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--score-color, #f97316);
  color: var(--score-color, #f97316);
  background: #fff7ed;
}

/* Key notes */
.mt-key-notes {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.mt-key-notes h4 {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #166534;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mt-key-notes ul { margin: 0; padding: 0 0 0 16px; }
.mt-key-notes li {
  font-size: 13px;
  color: #292524;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Planet cards */
.mt-planets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.mt-planet-card {
  background: #fff;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(154,52,18,0.06);
}
.mt-planet-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--planet-color, #f97316);
  border-radius: 12px 0 0 12px;
}
.mt-planet-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mt-planet-symbol {
  font-size: 22px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.mt-planet-info { flex: 1; }
.mt-planet-name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 2px;
}
.mt-planet-pos {
  font-size: 11px;
  color: #78716c;
  font-weight: 600;
}
.mt-planet-house {
  font-size: 13px;
  font-weight: 700;
  color: #9a3412;
  text-align: right;
  flex-shrink: 0;
}
.mt-planet-house small {
  display: block;
  font-size: 10px;
  color: #a8a29e;
  font-weight: 400;
}
.mt-quality-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.mt-qdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mt-qdot.good        { background: #16a34a; }
.mt-qdot.neutral     { background: #78716c; }
.mt-qdot.challenging { background: #dc2626; }

.mt-area {
  font-size: 11px;
  font-weight: 700;
  color: #44403c;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mt-desc {
  font-size: 13px;
  color: #44403c;
  line-height: 1.65;
  margin: 0;
}
.mt-retro {
  display: inline-block;
  font-size: 9px;
  padding: 1px 5px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 4px;
  color: #991b1b;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}

.mt-kundli-link {
  text-align: center;
  padding: 14px;
  font-size: 13px;
  color: #78716c;
}
.mt-kundli-link a { color: #9a3412; font-weight: 600; text-decoration: none; }
.mt-kundli-link a:hover { text-decoration: underline; }

.mt-error {
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 14px 18px;
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.mt-loading {
  text-align: center;
  padding: 40px;
  color: #78716c;
  font-size: 14px;
}
.mt-spinner {
  width: 28px; height: 28px;
  border: 3px solid #fed7aa;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: mt-spin .8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes mt-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .mt-form-grid { grid-template-columns: 1fr 1fr; }
  .mt-planets-grid { grid-template-columns: 1fr; }
  .mt-report-header { flex-direction: column; align-items: flex-start; }
}
