/* File: comparison-table.css */
/* Description: Standalone comparison table styles for Basic / Premium / Smart listings. */

/* ───────────────────────────────────────────────────────────
   Base comparison table
   ─────────────────────────────────────────────────────────── */

/* Text content inside plan cells (e.g. notes or pricing text) */
.ll-compare__text {
  font-size: 1.6rem;
  text-align: center;
  display: inline-block;
}

.ll-compare {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow: hidden;

  /* base sizing */
  font-size: 1rem;
}

/* 4-column layout: Feature | Basic | Premium | Smart */
.ll-compare__head,
.ll-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
}

.ll-compare__head {
  background: #fff;
  color: #0b5c7a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-bottom: 1px solid #e2e8f0;
}

.ll-compare__title {
  padding: 10px 14px;
}

.ll-compare__plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}

.ll-compare__basic,
.ll-compare__premium {
  background: transparent;
}

.ll-compare__planPrice {
  font-size: 1.5rem;
  line-height: 1.15;
}

.ll-compare__planMeta {
  font-size: 1.4rem;
  opacity: .9;
}

/* Zebra striping for non-group rows only */
.ll-compare__row:not(.ll-compare__row--group):nth-child(even) {
  background: #f8fafc;
}

.ll-compare__cell {
  padding: 6px 14px;
  border-bottom: 1px solid #eef2f7;
}

.ll-compare__feature {
  font-size: 16px;
  font-weight: 500;
}

/* Make sure feature labels stay left-aligned */
.ll-compare__feature {
  text-align: left;
}

.ll-compare__check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ll-ok,
.ll-no {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: .85rem;
}

.ll-ok {
  background: #16a34a;
}
.ll-ok::before {
  content: "✓";
}

.ll-no {
  background: #ef4444;
}
.ll-no::before {
  content: "✕";
}

/* Notes under table */
.ll-compare__note {
  padding: 8px 16px;
  font-size: 1.5rem;
  color: #64748b;
  text-align: left; /* left-justify notes */
}

/* Light highlight for Smart column (optional) */
.ll-compare__smart {
  background: #f0f8ff;
}

/* Responsive: tighten columns on smaller screens */
@media (max-width: 720px) {
  .ll-compare__head,
  .ll-compare__row {
    grid-template-columns: 1.2fr .7fr .7fr .7fr;
  }
}

/* ───────────────────────────────────────────────────────────
   Group heading rows
   ─────────────────────────────────────────────────────────── */

.ll-compare__row--group {
  grid-template-columns: 1fr;     /* Single full-width column for heading */
  background: #e5effa;            /* Light blue band for separation */
}

.ll-compare__row--group .ll-compare__cell {
  border-bottom: 1px solid #c7d2fe;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

/* Group heading text: bold + centered */
.ll-compare__groupTitle {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 14px;
}
