/* ============================================================
   Today SEO World — Compare Agencies / Compare Tools
   File:   woodmart-child/assets/css/tsw-compare.css
   Loaded: pages with [tsw_compare_agencies] or [tsw_compare] (inc/tsw-compare.php), after tsw-hubs.css
   Prefix: tswcmp-
   ============================================================ */

.tswcmp-hero { padding-bottom: 30px; }
.tswx .tswcmp .tswx-h1 { max-width: none; }

/* Search box with suggestions */
.tswx .tswcmp-form { position: relative; }
.tswx .tswcmp-form .tswx-search-btn .tswh-ico { margin-left: -2px; }
.tswcmp-suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 360px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid #d9e3f3; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .25); }
.tswcmp-suggest[hidden] { display: none; }
.tswcmp-suggest li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--tswx-ink); }
.tswcmp-suggest li.is-active, .tswcmp-suggest li:hover { background: #eff6ff; }
.tswcmp-suggest li.is-taken { opacity: .55; cursor: default; }
.tswcmp-suggest .tswcmp-s-logo { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f1f5f9; border-radius: 8px; font-size: 12px; font-weight: 800; color: var(--tswx-blue); }
.tswcmp-suggest .tswcmp-s-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.tswcmp-suggest .tswcmp-s-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.tswcmp-suggest strong { font-size: 14px; }
.tswcmp-suggest small { font-size: 12px; color: var(--tswx-muted); }
.tswcmp-suggest .tswcmp-s-none { cursor: default; color: var(--tswx-muted); font-size: 13.5px; }

.tswcmp-full { font-size: 14px; color: var(--tswx-muted); }
.tswcmp-miss { margin-top: 10px !important; padding: 10px 14px; max-width: 620px; font-size: 14px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; }

/* Selected */
.tswx .tswcmp-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.tswcmp-picked li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; font-size: 13.5px; font-weight: 600; color: var(--tswx-ink); background: #fff; border: 1px solid #dbe4f3; border-radius: 999px; }
.tswx .tswcmp-picked .tswcmp-clear { padding: 0; border: 0; background: none; }
.tswx .tswcmp-clear a { font-size: 13px; font-weight: 600; color: var(--tswx-blue); text-decoration: underline; }
.tswx .tswcmp-x { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; color: var(--tswx-muted); border-radius: 50%; }
.tswx .tswcmp-x:hover { color: #b91c1c; background: #fee2e2; }

/* Table */
.tswcmp-sec { padding-top: 32px; }
.tswcmp-swipe { display: none; margin-bottom: 8px !important; font-size: 13px; font-weight: 600; color: var(--tswx-muted); }
.tswcmp-scroll { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--tswx-line); border-radius: 16px; box-shadow: var(--tswx-shadow); }
.tswcmp-scroll:focus-visible { outline: 3px solid rgba(29, 78, 216, .45); outline-offset: 2px; }
.tswcmp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14px; line-height: 1.5; }
.tswcmp-table--3 { min-width: 820px; }
.tswcmp-table--4 { min-width: 1000px; }
.tswcmp-table th, .tswcmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef2f7; color: var(--tswx-text); }
.tswcmp-table tbody th { position: sticky; left: 0; z-index: 2; width: 190px; font-size: 13.5px; font-weight: 700; color: var(--tswx-ink); background: #f8fafc; border-right: 1px solid #eef2f7; }
.tswcmp-corner { position: sticky; left: 0; z-index: 3; width: 190px; background: #f8fafc; border-right: 1px solid #eef2f7; }
.tswcmp-table thead th { position: relative; padding-top: 22px; text-align: center; vertical-align: bottom; background: #fff; }
.tswcmp-table thead .tswx-logo { margin: 0 auto 10px; width: 60px; height: 60px; }
.tswx .tswcmp-name { display: block; font-family: var(--tswx-title); font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--tswx-ink); }
.tswx .tswcmp-name:hover { color: var(--tswx-blue); }
.tswx .tswcmp-x--col { position: absolute; top: 8px; right: 8px; }
.tswcmp-table tbody tr:last-child th, .tswcmp-table tbody tr:last-child td { border-bottom: 0; }
.tswcmp-table td a { color: var(--tswx-blue); }
.tswcmp-table td a:hover { text-decoration: underline; }
.tswcmp-actions td { padding-top: 16px; padding-bottom: 18px; }
.tswx .tswcmp-actions .tswx-btn { padding: 11px 12px; font-size: 13.5px; }
.tswcmp-muted { color: #94a3b8; }
.tswcmp-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.tswcmp-rating strong { color: var(--tswx-ink); }
.tswcmp-yes { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--tswx-blue); }
.tswx .tswcmp-ul { margin: 0; padding-left: 18px; list-style: disc; }
.tswx .tswcmp-ul li { margin-bottom: 3px; }

/* Empty */
.tswcmp-empty { padding: 28px 30px; background: #fff; border: 1px solid var(--tswx-line); border-radius: 16px; box-shadow: var(--tswx-shadow); }
.tswx .tswcmp-how { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 22px; list-style: decimal; }
.tswcmp-how li { padding-left: 4px; font-size: 14.5px; color: var(--tswx-text); }
.tswx .tswcmp-how a { font-weight: 600; color: var(--tswx-blue); text-decoration: underline; }
.tswcmp-ideas-label { margin: 22px 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--tswx-muted); }
.tswx .tswcmp-ideas { display: flex; flex-wrap: wrap; gap: 10px; }
.tswx .tswcmp-ideas a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; font-size: 14px; font-weight: 600; color: var(--tswx-ink); background: #fff; border: 1px solid #c7d7f7; border-radius: 10px; }
.tswx .tswcmp-ideas a:hover { border-color: var(--tswx-blue); color: var(--tswx-blue); }
.tswcmp-ideas b { font-size: 17px; line-height: 1; color: var(--tswx-blue); }

@media (max-width: 760px) {
	.tswcmp-swipe { display: block; }
	.tswcmp-table tbody th, .tswcmp-corner { width: 128px; }
	.tswcmp-table th, .tswcmp-table td { padding: 12px; font-size: 13.5px; }
	.tswcmp-table { min-width: 560px; }
	.tswcmp-table--3 { min-width: 700px; }
	.tswcmp-table--4 { min-width: 860px; }
	.tswcmp-empty { padding: 20px; }
}
