.tc-compare-wrap {display:flex;gap:20px;align-items: flex-start;margin:0 auto;}
.tc-search-column { flex:1; }
.tc-search-input {font-family: 'Poppins';width: 100% !important;padding: 15px !important;font-size: 16px;box-sizing:border-box;background: transparent;border: 1px solid #41d79e !important;color: #ffffff;}
.tc-search-input::placeholder {color: #ffffff;}
.tc-results { background:#fff; border:1px solid #eee; margin-top:8px; max-height:300px; overflow:auto; }
.tc-result-item {display: flex;gap: 10px;padding: 8px;align-items: center;border-bottom: 1px solid rgba(0, 0, 0, 0.04);}
.tc-thumb {flex-shrink: 0;width: 44px;height: 44px;object-fit: cover;border-radius: 6px;}
.tc-thumb.placeholder { background:#f0f0f0; width:48px; height:48px; border-radius:6px; }
.tc-meta { flex:1; }
.tc-title {font-family: 'Poppins';display:block;font-size: 14px;}
.tc-excerpt {font-family: 'Poppins';font-size: 12px;color: #000000;margin-top:4px;}
.tc-add-btn {font-family: 'Poppins';font-size: 14px;margin-top:8px;padding:6px 10px;cursor:pointer;border: 1px solid #000000;color: #000000;}
.tc-add-btn:hover {background-color: #000000;cursor:pointer;border: 1px solid #ffffff;color: #ffffff;}
.tc-compare-action { display:flex; align-items:center;gap: 10px; }
.tc-btn {font-family: 'Poppins';font-size:16px;cursor:pointer;background-image: linear-gradient(280deg, var(--e-global-color-accent) 25%, var(--e-global-color-primary) 300%);border-style: solid;border-width: 1px 1px 0px 1px;border-color: #41D79E;border-radius: 50px 50px 50px 50px;padding: 15px 30px 15px 30px;color: #ffffff;box-shadow: 0 0 5px 0 #41d79e;}
.tc-btn:hover {
    background-color: transparent;
    background-image: linear-gradient(180deg, var(--e-global-color-primary) 0%, var(--e-global-color-accent) 100%);
    box-shadow: 0px 0px 10px 0px rgba(65.00000000000003, 215, 158.00000000000014, 0.7215686274509804);
}
.tc-search-column label {
    font-family: 'Poppins';
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.tc-search-column .tc-clear-btn {
    font-family: 'Poppins';
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Compare page - modern 2-column layout, responsive */

/* Container */
.compare-container {
  max-width: 1200px;
  margin: 28px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(18, 18, 18, 0.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #1d1d1f;
}

/* Page title */
.compare-title {
  font-family: 'Poppins';
  font-size: 30px;
  margin: 0 0 20px 0;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: center;
}

.compare-column a {
    color: #000000;
    border: 1px solid #000000;
    padding: 10px 20px;
}

.compare-column a:hover {
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: #000000;
}

/* Small meta / badges row */
.compare-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.compare-meta .badge {
  background: #f3f6ff;
  color: #1b3db6;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Top grid: logos and quick info */
.compare-grid {
  display: flex;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.compare-column {
  font-family: 'Poppins';
  background: #fbfbff;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  min-height: 120px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
}
.compare-column h2 {
  font-family: 'Poppins';
  font-size: 18px;
  margin: 8px 0 6px 0;
  font-weight: 700;
}
.compare-column .logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.compare-column img {
  max-width: 250px !important;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(18,18,18,0.04);
}

/* Score / rating badge */
.tc-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.tc-rating .score {
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid rgba(27,61,182,0.08);
  padding: 8px 12px;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px;
  color: #123a9a;
}

/* Compare table - main section */
.tc-compare-table {
  font-family: 'Poppins';
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  table-layout: fixed;
  background: transparent;
}
.tc-compare-table thead th {
  text-align: left;
  padding: 14px 18px;
  background: transparent;
  font-weight: 700;
  color: #111;
  vertical-align: middle;
  border-bottom: 2px solid #f2f5fb;
}
.tc-compare-table thead th:first-child {
  width: 22%;
}
.tc-compare-table tbody td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid #f4f6fb;
  background: #fff;
  font-size: 15px;
  color: #333;
}

/* Feature labels column */
.tc-compare-table tbody td:first-child {
  font-weight: 700;
  background: #fbfdff;
  color: #000000;
  width: 22%;
}

/* Clean lists for pros / cons / features */
.tc-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-right: 6px;
}
.tc-list li::before {
  content: "•";
  font-size: 18px;
  line-height: 1;
  color: #6b8aff;
  margin-top: 2px;
}

/* Pricing box */
.tc-price {
  display: inline-block;
  background: linear-gradient(180deg,#fff,#fbfdff);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #eef3ff;
  font-weight: 700;
  font-size: 18px;
  color: #0f2b75;
}

/* Action buttons - top right (if you add) */
.tc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.tc-btn-ghost {
  background: transparent;
  border: 1px solid #e6e9f2;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.tc-btn-primary {
  background: #1542d6;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 800;
}

/* Highlight differences - optional: add class 'tc-highlight' on cells you want to emphasize */
.tc-highlight {
  background: linear-gradient(90deg, rgba(21,66,214,0.06), rgba(255,255,255,0));
  border-left: 4px solid rgba(21,66,214,0.12);
  padding-left: 14px;
}

/* Error message */
.tc-error {
  color: #8a0b0b;
  background: #fff1f1;
  border: 1px solid #ffd3d3;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tv-feature-list {
    font-family: 'Poppins';
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #333;
}
.tv-feature-list li {
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.tv-check {
    color: #0d5ef4;
    font-weight: 700;
    margin-right: 6px;
}
.tv-cross {
    color: #000000;
    font-weight: 700;
    margin-right: 6px;
}

.tc-stars {
  display: flex;
  gap: 4px;
  font-size: 18px;
  color: #ffb400;
}
.tc-stars .star.empty {
  color: #dcdcdc;
}
.tc-stars .star.half {
  color: #ffb400;
}

/* Expand rows hidden by default */
.tc-expandable { display: none; }
.tc-expandable.is-open { display: table-row; }

.tc-expand-toggle-row td{
  background: #fbfbff;
  text-align: center;
  padding: 14px 18px;
}

.tc-expand-btn{
  background: #111;
  color:#fff;
  border:0;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.tc-expand-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}
.tc-expand-btn:focus{
  outline: 3px solid rgba(0,0,0,.18);
}

/* Pills for support options */
.tc-support{ display:flex; flex-wrap:wrap; gap:8px; }
.tc-pill{
  background:#f3f6ff;
  border:1px solid rgba(0,0,0,.06);
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

/* Quote */
.tc-quote{ margin-top:8px; font-size:13px; color:#5a6475; }

/* Top Visit button */
.tc-visit-btn{
  display:inline-block;
  margin-top: 12px;
  background:#111;
  color:#fff !important;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration:none;
}
.tc-visit-btn:hover{ opacity:.92; transform: translateY(-1px); }

/* Fix compare-grid responsive (it is flex, not grid) */
@media (max-width: 900px){
  .compare-grid{ flex-direction: column; }
}


/* Responsive */
@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .tc-compare-table thead th:first-child,
  .tc-compare-table tbody td:first-child {
    display: none;
  }
  .tc-compare-table tbody td {
    /*display: block;*/
    width: 100%;
    padding: 12px 10px;
    border-left: 0;
  }
  .tc-compare-table tbody tr {
    border-bottom: 1px solid #f3f5fb;
    margin-bottom: 8px;
  }
  .compare-container {
    padding: 18px;
  }
}

/* Small utility */
.text-muted { color: #687185; font-size: 13px; }


@media(max-width:800px) { 
    .tc-compare-wrap { 
        flex-direction:column;
        align-items: stretch;
    } 
    .tc-compare-action {
        flex-direction: column;
        justify-content: center;
    }
}