/* Marketplace — Light theme (icopify.co)
   =================================== */

.marketplace-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 12px;
}

body.dashboard-home.marketplace-page .filters-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

body.dashboard-home.marketplace-page .filters-header {
    background: #f8fafc;
    color: #1e293b;
    cursor: default;
    border-bottom: 1px solid #e2e8f0;
}

body.dashboard-home.marketplace-page .filters-header h3 {
    color: #1e293b;
}

body.dashboard-home.marketplace-page .filters-body {
    background: #fff;
}

body.dashboard-home.marketplace-page .filters-body .form-control {
    background: #fff;
    border-color: #e2e8f0;
    color: #1e293b;
}

body.dashboard-home.marketplace-page .filters-body label {
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

body.dashboard-home.marketplace-page .marketplace-toolbar .form-control {
    background: #fff;
    border-color: #e2e8f0;
    color: #1e293b;
}

body.dashboard-home.marketplace-page .results-info {
    color: #64748b;
}

/* FAQ bar */
.marketplace-faq-wrap {
    margin-bottom: 16px;
}

.marketplace-faq-bar {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
}

.marketplace-faq-bar.open {
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.marketplace-faq-bar-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.marketplace-faq-bar-caret {
    display: inline-block;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.marketplace-faq-bar.open .marketplace-faq-bar-caret {
    transform: rotate(90deg);
}

.marketplace-faq-body {
    display: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-top: -4px;
    overflow: hidden;
}

.marketplace-faq-body.open {
    display: block;
}

.marketplace-faq-list {
    margin: 0;
}

.marketplace-faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.marketplace-faq-item:last-child {
    border-bottom: none;
}

.marketplace-faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
}

.marketplace-faq-question:hover {
    background: #f8fafc;
}

.marketplace-faq-item.open .marketplace-faq-question {
    background: #f8fafc;
}

.marketplace-faq-caret {
    flex-shrink: 0;
    width: 12px;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.4;
    transition: transform 0.2s ease;
}

.marketplace-faq-item.open .marketplace-faq-caret {
    transform: rotate(90deg);
}

.marketplace-faq-q-text {
    flex: 1;
    line-height: 1.45;
}

.marketplace-faq-answer {
    display: none;
    padding: 0 18px 16px 40px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748b;
}

.marketplace-faq-item.open .marketplace-faq-answer {
    display: block;
}

.marketplace-faq-answer p {
    margin: 0 0 10px;
}

.marketplace-faq-answer p:last-child {
    margin-bottom: 0;
}

.marketplace-faq-answer ul {
    margin: 0;
    padding-left: 18px;
}

.marketplace-faq-answer li {
    margin-bottom: 8px;
}

.marketplace-faq-answer li:last-child {
    margin-bottom: 0;
}

.marketplace-faq-answer strong {
    color: #334155;
}

.marketplace-faq-fallback {
    padding: 16px 18px;
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}

.marketplace-faq-fallback a {
    color: #2563eb;
}

/* Syndication banner */
.syndication-banner {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.syndication-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.syndication-banner .btn {
    background: #fff;
    color: #1d4ed8;
    font-weight: 700;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

/* Marketplace table */
.marketplace-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.marketplace-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.marketplace-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.marketplace-table th {
    background: #1e40af;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.marketplace-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.marketplace-table tr:hover td {
    background: #f8fafc;
}

.marketplace-table .site-url {
    color: #2563eb;
    font-weight: 600;
    word-break: break-all;
}

.marketplace-table .site-url:hover {
    text-decoration: underline;
}

.marketplace-table .row-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.marketplace-table .row-actions button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
}

.marketplace-table .row-actions button:hover {
    color: #2563eb;
}

.marketplace-table .row-actions .saved {
    color: #f59e0b;
}

.mp-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
}

.mp-badge.dr { background: #22c55e; }
.mp-badge.da { background: #3b82f6; }

.mp-category-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #475569;
    margin: 2px;
}

body.dashboard-home.marketplace-page .pagination button {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

body.dashboard-home.marketplace-page .pagination button.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

body.dashboard-home.marketplace-page .empty-state,
body.dashboard-home.marketplace-page .loading-state {
    padding: 48px 20px;
    text-align: center;
    color: #64748b;
}

body.dashboard-home.marketplace-page .search-box .btn-primary {
    background: #22c55e;
    border-color: #22c55e;
}

body.dashboard-home.marketplace-page .filters-actions .btn-primary {
    background: #22c55e;
    border-color: #22c55e;
}

.marketplace-page-heading {
    margin-bottom: 16px;
}

.marketplace-page-heading h1 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: #1e293b;
}

.marketplace-page-heading p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

body.dashboard-home.marketplace-page .publishers-grid {
    padding: 16px;
}

body.dashboard-home.marketplace-page .publisher-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

body.dashboard-home.marketplace-page .publisher-card:hover {
    border-color: #cbd5e1;
}

body.dashboard-home.marketplace-page .publisher-card-header h3 {
    color: #1e293b;
}

body.dashboard-home.marketplace-page .metric,
body.dashboard-home.marketplace-page .publisher-stats strong {
    color: #1e293b;
}

body.dashboard-home.marketplace-page .category-tag {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

body.dashboard-home.marketplace-page .marketplace-publishers-wrap .results-info {
    padding: 0 16px 8px;
}

body.dashboard-home.marketplace-page .order-website-info,
body.dashboard-home.marketplace-page .order-summary {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Verified Websites — hero layout */
body.marketplace-hero-page .dashboard-content {
    padding-top: 56px !important;
}

.marketplace-hero-block {
    margin: 0 -24px 24px;
    position: relative;
}

.marketplace-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 48px 24px 120px;
    overflow: hidden;
}

.marketplace-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.82) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80') center/cover no-repeat;
    z-index: 0;
}

.marketplace-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.marketplace-hero h1 {
    margin: 0 0 12px;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.marketplace-hero-sub {
    margin: 0 0 10px;
    font-size: 1.05rem;
    opacity: 0.95;
    font-weight: 400;
}

.marketplace-hero-badge {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

.filters-panel-publishers {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.filters-panel-publishers .filters-body-hero {
    padding: 24px 28px 20px;
}

.verified-marketplace-table .th-sort-col .verified-view-select {
    width: 100%;
    font-size: 0.78rem;
    padding: 5px 8px;
    margin-top: 4px;
}

body.dashboard-home.marketplace-page .filters-panel-publishers .btn-search-hero {
    background: #2563eb;
    border-color: #2563eb;
}

.filters-panel-hero {
    margin: -96px 24px 0;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    border: none;
}

.filters-body-hero {
    padding: 24px 28px 20px;
}

.filters-grid-hero .form-group-wide,
.filters-grid-standard .form-group-wide {
    grid-column: 1 / -1;
}

.marketplace-results-deferred {
    display: none !important;
}

.marketplace-hero-badge strong {
    font-weight: 700;
    color: #fbbf24;
}

/* Verified — hero filter rows (3 + 4 + 4 + full) */
.filters-grid-hero-verified {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filters-grid-hero-verified .filter-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.filters-grid-hero-verified .filter-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.filters-grid-hero-verified .filter-row-full {
    display: block;
}

/* Verified — results section */
.marketplace-verified-results {
    margin-top: 8px;
}

.verified-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.verified-results-toolbar .verified-view-select {
    min-width: 180px;
    background: #fff;
    border-color: #e2e8f0;
}

.syndication-banner-verified {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.syndication-verified-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.syndication-verified-text strong {
    font-size: 1.1rem;
}

.syndication-verified-text em {
    color: #fbbf24;
    font-style: normal;
    font-weight: 600;
}

.syndication-verified-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.syndication-order-btn {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.syndication-from-price-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
}

.syndication-from-price-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.verified-table-wrap {
    overflow-x: auto;
}

.verified-marketplace-table th {
    background: #1e3a8a;
    vertical-align: top;
    padding: 10px 12px;
}

.verified-marketplace-table .th-url-col {
    min-width: 220px;
}

.verified-marketplace-table .th-url-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
}

.verified-marketplace-table .th-search-box {
    max-width: 100%;
}

.verified-marketplace-table .th-search-box .form-control {
    font-size: 0.8rem;
    padding: 6px 10px;
}

.verified-marketplace-table .th-buy-col {
    min-width: 130px;
    text-align: center;
}

.verified-site-url {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
}

.verified-site-url:hover {
    text-decoration: underline;
}

.verified-url-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

.verified-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.verified-example-link {
    font-size: 0.75rem;
    color: #2563eb;
}

.verified-cat-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-size: 0.75rem;
    margin: 2px;
}

.verified-traffic-label {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.verified-traffic-value {
    font-weight: 700;
    color: #ea580c;
    font-size: 0.9rem;
}

.verified-traffic-value i {
    margin-right: 4px;
}

.verified-metric-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    margin-right: 4px;
    vertical-align: middle;
}

.verified-metric-badge.ahrefs { background: #2563eb; }
.verified-metric-badge.moz { background: #3b82f6; }

.verified-metric-cell {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.verified-lang-cell {
    font-size: 0.85rem;
    white-space: nowrap;
}

.verified-buy-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    width: 100%;
    margin-bottom: 8px;
}

.verified-buy-btn:hover {
    background: #1d4ed8;
}

.verified-row-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.verified-row-actions button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px;
}

.verified-row-actions button:hover {
    color: #2563eb;
}

.verified-row-actions button.saved {
    color: #ef4444;
}

.verified-row td {
    vertical-align: top;
    padding: 16px 12px;
}

@media (max-width: 992px) {
    .filters-grid-hero-verified .filter-row-3,
    .filters-grid-hero-verified .filter-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .media-hero-filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Media Placement — hero + compact filter bar */
.marketplace-hero-media .marketplace-hero-bg {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.85) 100%),
        url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1600&q=80') center/cover no-repeat;
}

.filters-panel-media-bar {
    margin-top: -72px;
    border-top: 3px solid #2563eb;
    border-bottom: 3px solid #2563eb;
}

.filters-body-media {
    padding: 14px 18px;
}

.media-hero-filter-bar {
    display: grid;
    grid-template-columns: minmax(160px, 1.5fr) repeat(6, minmax(100px, 1fr));
    gap: 10px;
    align-items: end;
}

.media-filter-item label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.media-filter-item .form-control {
    font-size: 0.82rem;
    padding: 7px 10px;
}

.media-filter-url .search-box {
    max-width: none;
}

.media-filter-url .btn-search-hero {
    padding: 7px 12px;
}

body.marketplace-hero-page .marketplace-breadcrumb {
    margin-bottom: 10px;
}

body.marketplace-hero-page .marketplace-faq-bar {
    margin-bottom: 12px;
}

.filter-info-icon {
    color: #2563eb;
    font-size: 0.75rem;
    margin-left: 4px;
    cursor: help;
}

.filters-actions-hero {
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.filters-actions-hero .btn-reset-hero {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
}

.filters-actions-hero .btn-reset-hero:hover {
    background: #334155;
    border-color: #334155;
    color: #fff;
}

.filters-actions-hero .btn-search-hero {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    padding: 10px 24px;
    font-weight: 600;
}

.filters-actions-hero .btn-search-hero:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

body.marketplace-hero-page .filters-panel-hero .filters-actions .btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 992px) {
    .marketplace-hero-block { margin: 0 -16px 20px; }
    .filters-panel-hero { margin: -72px 16px 0; }
    .marketplace-hero h1 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .marketplace-hero { padding-bottom: 100px; min-height: 240px; }
    .filters-panel-hero { margin-top: -56px; }
}

@media (max-width: 992px) {
    .marketplace-table-wrap { overflow-x: auto; }
    .filters-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .filters-grid { grid-template-columns: 1fr !important; }
}

/* Link Insertions — page heading + table header filters */
body.marketplace-link-page .dashboard-content {
    padding-top: 76px !important;
}

.link-insertions-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.link-insertions-header h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.link-insertions-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.link-found-count {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.marketplace-link-results {
    margin-top: 0;
}

.link-insertions-table .th-filter-col {
    min-width: 110px;
    vertical-align: top;
}

.link-insertions-table .th-filter-col .form-control {
    font-size: 0.78rem;
    padding: 5px 8px;
    margin-top: 4px;
    width: 100%;
}

.link-insertions-table thead th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .link-insertions-header h1 {
        font-size: 1.35rem;
    }
}

/* Press Release banner */
.press-release-banner {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 16px 22px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.press-release-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    flex: 1;
    min-width: 200px;
}

.press-release-text i {
    font-size: 1.25rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.press-release-text strong {
    font-weight: 700;
}

.press-release-actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.press-release-order-btn {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 10px 20px;
    border-radius: 6px 0 0 6px;
    font-weight: 700;
    cursor: pointer;
}

.press-release-from-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: none;
    padding: 10px 18px;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    cursor: pointer;
}

.press-release-from-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Top Publishers table */
.top-publishers-table-wrap {
    margin-bottom: 24px;
}

.top-publishers-table-desc {
    background: #1e3a8a;
    color: #fff;
    padding: 14px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.top-publishers-table th {
    background: #1e3a8a;
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    white-space: nowrap;
}

.top-publishers-table td {
    padding: 14px;
    font-size: 0.9rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.top-publishers-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.top-publishers-table tbody tr:hover {
    background: #f1f5f9;
}

.tp-username-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-fav-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    font-size: 0.95rem;
}

.tp-fav-btn.saved {
    color: #ef4444;
}

.tp-fav-btn:hover {
    color: #ef4444;
}

.tp-username {
    font-weight: 600;
    color: #1e293b;
}

.tp-completion-rate {
    color: #ea580c;
    font-weight: 700;
}

.tp-view-profile-btn {
    display: inline-block;
    background: #1e3a8a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tp-view-profile-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width: 992px) {
    .top-publishers-table-wrap {
        overflow-x: auto;
    }
}

/* Favorite Publishers list */
.fav-publishers-wrap {
    margin-bottom: 24px;
}

.fav-publishers-header {
    background: #1e3a8a;
    color: #fff;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.fav-publishers-body {
    background: #fff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.fav-publishers-body:has(#favPublishersTableWrap:not([hidden])) {
    display: block;
    padding: 0;
    min-height: auto;
}

.fav-publishers-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
}

.fav-publishers-table-wrap {
    overflow-x: auto;
}

.fav-publishers-table-wrap .top-publishers-table th {
    background: #1e3a8a;
}

/* Content Syndication banner — publisher pages */
.syndication-banner-publishers .syndication-verified-text-inline {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.syndication-network-icon {
    font-size: 1.35rem;
    opacity: 0.95;
    flex-shrink: 0;
}

.syndication-banner-publishers .syndication-verified-text-inline span {
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .syndication-banner-publishers .syndication-verified-text-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Favorite Websites */
.fav-websites-intro {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-align: center;
    padding: 28px 24px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.fav-websites-intro h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.fav-websites-intro p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.marketplace-fav-websites-results {
    margin-top: 0;
}

.fav-websites-table-wrap {
    margin-bottom: 24px;
}

.fav-websites-table th {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.fav-websites-table td {
    vertical-align: top;
    padding: 16px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.fav-websites-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.fav-url-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fav-thumb-badge {
    color: #2563eb;
    font-size: 0.9rem;
}

.fav-buy-split {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.fav-buy-label {
    flex: 1;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
}

.fav-buy-price {
    background: #1e40af;
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
}

.fav-buy-label:hover,
.fav-buy-price:hover {
    filter: brightness(1.05);
}

.fav-row-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fav-remove-btn,
.fav-report-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 2px 4px;
}

.fav-remove-btn:hover {
    color: #ef4444;
}

.fav-report-btn:hover {
    color: #2563eb;
}

.fav-website-action-cell {
    min-width: 140px;
}

.fav-websites-empty-row {
    padding: 0 !important;
    border: none !important;
}

.fav-websites-empty {
    text-align: center;
    padding: 56px 24px;
    color: #64748b;
}

.fav-websites-empty p {
    margin: 0;
    font-size: 0.95rem;
}

.fav-websites-empty-hint {
    margin-top: 8px !important;
    font-size: 0.8125rem !important;
    color: #94a3b8 !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.fav-websites-empty-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.fav-websites-empty-link:hover {
    background: #1d4ed8;
}

.fav-list-meta {
    margin: 10px 0 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
}

.fav-websites-intro:not(.saved-list-intro) .fav-list-meta {
    color: #64748b;
}

/* Blacklist intro + row accents */
.saved-list-intro {
    background: linear-gradient(135deg, #475569, #334155);
}

.saved-list-intro h2,
.saved-list-intro p {
    color: #f8fafc;
}

.fav-ban-badge {
    color: #dc2626;
    font-size: 0.9rem;
}

.fav-website-row-blacklist {
    background: #fef2f2;
}

.fav-website-row-blacklist:nth-child(even) {
    background: #fff1f2;
}

.marketplace-bl-websites-page .results-info {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.marketplace-fav-websites-page .results-info {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.9rem;
}
