/* Main Wrapper */
#tfe-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.tfe-main-title {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0 10px;
}

.tfe-main-desc {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Intro Content for Strategy Pages */
.tfe-intro-content {
    background: #e8f4f8;
    border-left: 4px solid #0066cc;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 1em;
    color: #333;
    line-height: 1.6;
}

.tfe-intro-content p {
    margin: 0;
}

.tfe-intro-content strong {
    color: #0066cc;
    font-weight: 600;
}

/* Filter Toggle Button */
.tfe-filter-toggle-wrapper {
    margin-bottom: 15px;
    text-align: center;
}

.tfe-filter-toggle-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tfe-filter-toggle-btn:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.tfe-filter-toggle-btn:active {
    transform: translateY(1px);
}

.tfe-toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.tfe-filter-toggle-btn[aria-expanded="true"] .tfe-toggle-icon {
    transform: rotate(180deg);
}

/* Filter Panel (Collapsible) */
.tfe-filter-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-bottom: 0;
}

.tfe-filter-panel.visible {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 30px;
}

.tfe-filter-panel.hidden {
    display: none;
}

/* Filter Bar */
.tfe-filter-bar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.tfe-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.tfe-col {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
}

.tfe-col label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.tfe-col select, 
.tfe-col input[type="text"],
.tfe-col input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tfe-profile-help {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #555;
}

/* Range Sliders */
input[type=range] {
    width: 100%;
    cursor: pointer;
    /* on touch devices avoid the page moving when dragging the thumb */
    touch-action: none;
}

/* Period Radio Options */
.tfe-period-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.tfe-radio-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    background: #fff;
}

.tfe-radio-label:hover {
    background: #f8f9fa;
    border-color: #bbb;
}

.tfe-radio-label input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
    accent-color: #2196f3;
}

.tfe-radio-label input[type="radio"]:checked {
    accent-color: #2196f3;
}

/* Style the label when radio is checked */
.tfe-radio-label input[type="radio"]:checked ~ * {
    font-weight: 600;
}

.tfe-radio-label:has(input[type="radio"]:checked) {
    background: #e3f2fd;
    border-color: #2196f3;
    font-weight: 600;
}

/* Results Grid */
.tfe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tfe-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Tipster Card */
.tfe-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tfe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tfe-card-header {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    background: #fdfdfd;
}

.tfe-card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.tfe-card-title h2 {
    margin: 0;
    font-size: 1.1em;
}

.tfe-card-title h2 a {
    text-decoration: none;
    color: #2c3e50;
}

.tfe-sport-badge {
    background: #e8f5e9;
    color: #2ecc71;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.tfe-card-stats {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-box {
    text-align: center;
}

.stat-box .label {
    display: block;
    font-size: 0.8em;
    color: #7f8c8d;
    text-transform: uppercase;
}

.stat-box .value {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
}

.tfe-card-footer {
    padding: 15px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tfe-card-desc {
    padding: 0 15px 15px;
    font-size: 0.9em;
    color: #555;
}

/* card description */
.tfe-card-description {
    padding: 0 15px 10px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}
.tfe-card-description p {
    margin: 0;
}

/* pros and cons */
.tfe-card-pros-cons {
    padding: 0 15px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.85em;
}
.tfe-card-pros-cons .tfe-pro,
.tfe-card-pros-cons .tfe-con {
    padding: 10px;
    border-radius: 4px;
}
.tfe-card-pros-cons .tfe-pro {
    background: #e8f5e9;
    border-left: 3px solid #4caf50;
}
.tfe-card-pros-cons .tfe-pro strong {
    color: #2ecc71;
    display: block;
    margin-bottom: 5px;
}
.tfe-card-pros-cons .tfe-con {
    background: #ffebee;
    border-left: 3px solid #f44336;
}
.tfe-card-pros-cons .tfe-con strong {
    color: #e74c3c;
    display: block;
    margin-bottom: 5px;
}
.tfe-card-pros-cons p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    word-wrap: break-word;
}

.tfe-card-footer a.read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9em;
}

/* count display */
#tfe-count {
    font-weight: 600;
    margin-bottom: 15px;
    color: #34495e;
}

/* Pagination */
#tfe-pagination {
    margin-top: 30px;
    text-align: center;
}

#tfe-pagination button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    margin: 0 2px;
    cursor: pointer;
    border-radius: 4px;
}

#tfe-pagination button:hover {
    background: #f0f0f0;
}

#tfe-pagination .current {
    background: #3498db;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 2px;
}

/* shortlist heart */
.shortlist-heart {
    font-size: 1.5em;
    color: #bbb;
    cursor: pointer;
    margin-right: 10px;
}
.shortlist-heart.selected {
    color: #e74c3c;
}

/* compare panel */
.tfe-compare-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.tfe-compare-panel.hidden { display: none; }
.tfe-compare-panel ul { list-style: none; padding: 0; margin: 0 0 10px; }
.tfe-compare-panel ul li { margin-bottom: 5px; }
.tfe-compare-panel button { margin-right: 10px; }
#tfe-compare-chart.hidden { display: none; }

/* compare table grid */
#tfe-compare-table-wrapper { overflow-x: auto; margin-bottom: 10px; }
#tfe-compare-table { width: 100%; border-collapse: collapse; }
#tfe-compare-table th, #tfe-compare-table td { border: 1px solid #ddd; padding: 8px; text-align: left; word-wrap: break-word; white-space: normal; }
#tfe-compare-table th { font-weight: 600; text-align: center; }
#tfe-compare-table td { font-size: 0.9em; vertical-align: top; }
#tfe-compare-table .remove-col { cursor: pointer; color: #e74c3c; }

/* star rating icons */
.tfe-stars {
    letter-spacing: 2px;
    font-size: 1.1em;
    color: #f39c12;
}

/* best value highlight in compare table */
#tfe-compare-table .tfe-best {
    background-color: #c8e6c9;
    font-weight: 600;
    color: #1b5e20;
}

/* Monthly Performance SEO Comparison Tables */
.tfe-seo-comparison {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.tfe-seo-comparison header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007bff;
}

.tfe-seo-comparison h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    color: #1a202c;
}

.tfe-comparison-intro {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.tfe-seo-table-wrap {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tfe-seo-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
}

.tfe-seo-table caption.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tfe-seo-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.tfe-seo-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tfe-seo-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.tfe-seo-table tbody tr:hover {
    background-color: #f7fafc;
}

.tfe-seo-table tbody tr:last-child {
    border-bottom: none;
}

.tfe-seo-table td {
    padding: 1rem 0.75rem;
    color: #2d3748;
}

.tfe-seo-table tbody th[scope="row"] {
    background: none;
    color: inherit;
    font-weight: normal;
}

.tfe-seo-table tbody th a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.tfe-seo-table tbody th a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Reality Check Boxes Section */
.tfe-reality-boxes {
    margin-top: 3rem;
}

.tfe-reality-heading {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #1a202c;
}

.tfe-reality-intro {
    margin: 0 0 2rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.tfe-reality-box {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-left: 4px solid #007bff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tfe-reality-box h4 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #2d3748;
}

.tfe-reality-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.tfe-reality-table caption.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tfe-reality-table th,
.tfe-reality-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.tfe-reality-table tr:last-child th,
.tfe-reality-table tr:last-child td {
    border-bottom: none;
}

.tfe-reality-table th {
    width: 50%;
    font-weight: 600;
    color: #4a5568;
    background: #f7fafc;
}

.tfe-reality-table td {
    width: 50%;
    color: #2d3748;
}

/* Psychological Difficulty Badges */
.tfe-difficulty-manageable {
    color: #38a169;
}

.tfe-difficulty-moderate {
    color: #d69e2e;
}

.tfe-difficulty-hard {
    color: #dd6b20;
}

.tfe-difficulty-extreme {
    color: #c53030;
    font-weight: 700;
}

/* Responsive Design for SEO Tables */
@media (max-width: 768px) {
    .tfe-seo-table thead {
        display: none;
    }

    .tfe-seo-table,
    .tfe-seo-table tbody,
    .tfe-seo-table tr,
    .tfe-seo-table td,
    .tfe-seo-table th {
        display: block;
        width: 100%;
    }

    .tfe-seo-table tbody tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 0.5rem;
    }

    .tfe-seo-table td {
        text-align: right;
        padding: 0.5rem 0.75rem;
        position: relative;
        padding-left: 50%;
    }

    .tfe-seo-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.75rem;
        width: calc(50% - 1.5rem);
        font-weight: 600;
        text-align: left;
        color: #4a5568;
    }

    .tfe-seo-table tbody th[scope="row"] {
        text-align: left;
        padding: 0.75rem;
        font-size: 1.1rem;
        border-bottom: 2px solid #e2e8f0;
    }

    .tfe-reality-table th,
    .tfe-reality-table td {
        display: block;
        width: 100%;
    }

    .tfe-reality-table th {
        padding-bottom: 0.25rem;
        font-size: 0.875rem;
    }

    .tfe-reality-table td {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .tfe-seo-comparison {
        border: none;
        box-shadow: none;
    }

    .tfe-seo-table thead {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .tfe-reality-box {
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .tfe-col {
        flex: 1 1 100%;
    }
}

/* ===================================
   NEW: Server-side Table Styles
   =================================== */

/* Submit and Reset Buttons */
.tfe-submit-btn {
    background: #2196f3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 10px;
}

.tfe-submit-btn:hover {
    background: #1976d2;
}

.tfe-reset-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.tfe-reset-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

/* Results Header */
.tfe-results-header {
    margin: 20px 0;
}

.tfe-count {
    font-size: 1.1em;
    color: #333;
    padding: 10px 0;
}

/* Results Container */
.tfe-results {
    margin-top: 30px;
}

.tfe-initial-state,
.tfe-no-results {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 1.1em;
}

/* Table Styles */
.tfe-results-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.tfe-tipsters-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.tfe-tipsters-table caption {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tfe-tipsters-table thead {
    background: #2c3e50;
    color: white;
}

.tfe-tipsters-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.tfe-tipsters-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.tfe-tipsters-table tbody tr:hover {
    background: #f8f9fa;
}

.tfe-tipsters-table td {
    padding: 15px 12px;
    vertical-align: middle;
}

/* Tipster Info Column */
.tfe-col-tipster {
    min-width: 250px;
}

.tfe-tipster-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tfe-tipster-logo {
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: contain;
}

.tfe-tipster-details {
    flex: 1;
    min-width: 0;
}

.tfe-tipster-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.tfe-tipster-name a {
    color: #2196f3;
    text-decoration: none;
}

.tfe-tipster-name a:hover {
    text-decoration: underline;
}

.tfe-profile-badge {
    display: inline-block;
    margin: 0 0 8px;
    padding: 3px 10px;
    background: #f0f7e8;
    color: #3f6b1b;
    border: 1px solid #cfe2bb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.tfe-description {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Sport Badge */
.tfe-sport-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Numeric Values */
.tfe-profit-value,
.tfe-roi-value {
    font-size: 16px;
    font-weight: 700;
}

.tfe-profit-value.positive,
.tfe-roi-value.positive {
    color: #4caf50;
}

.tfe-profit-value.negative,
.tfe-roi-value.negative {
    color: #f44336;
}

/* Ratings */
.tfe-ratings-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tfe-rating-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.tfe-rating-label {
    color: #666;
    min-width: 60px;
}

.tfe-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 14px;
    line-height: 1;
}

.tfe-stars .star.filled {
    color: #ffc107;
}

.tfe-stars .star.empty {
    color: #ddd;
}

/* Action Buttons */
.tfe-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #2196f3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.tfe-btn:hover {
    background: #1976d2;
    color: white;
}

.tfe-btn-primary {
    background: #4caf50;
}

.tfe-btn-primary:hover {
    background: #45a049;
}

/* Pagination */
.tfe-pagination {
    margin: 30px 0;
    text-align: center;
}

.tfe-page-numbers {
    display: inline-flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.tfe-page-numbers li {
    display: inline-block;
}

.tfe-page-numbers a,
.tfe-page-numbers span {
    display: inline-block;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #2196f3;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.tfe-page-numbers a:hover {
    background: #2196f3;
    color: white;
    border-color: #2196f3;
}

.tfe-current-page {
    background: #2196f3 !important;
    color: white !important;
    border-color: #2196f3 !important;
    font-weight: 600;
}

.tfe-dots {
    border: none !important;
    background: transparent !important;
    color: #999 !important;
    cursor: default !important;
}

.tfe-prev-page,
.tfe-next-page {
    font-weight: 600;
}

/* Responsive Table */
@media (max-width: 900px) {
    .tfe-tipsters-table {
        border: 0;
    }
    
    .tfe-tipsters-table thead {
        display: none;
    }
    
    .tfe-tipsters-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .tfe-tipsters-table td {
        display: block;
        text-align: right;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .tfe-tipsters-table td:last-child {
        border-bottom: none;
    }
    
    .tfe-tipsters-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #666;
    }
    
    .tfe-col-tipster {
        min-width: auto;
    }
    
    .tfe-col-tipster,
    .tfe-col-tipster .tfe-tipster-info {
        text-align: left !important;
    }

    .tfe-col-rank {
        text-align: right;
    }
    
    .tfe-col-tipster td::before {
        display: none;
    }
}

/* ===================================
   Shortlist & Comparison Features
   =================================== */

/* Shortlist Heart Icon */
.tfe-col-shortlist {
    width: 40px;
    text-align: center;
}

.tfe-col-rank {
    width: 64px;
    text-align: center;
    font-weight: 700;
}

.tfe-shortlist-heart {
    display: inline-block;
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.tfe-shortlist-heart:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

.tfe-shortlist-heart.selected {
    color: #ff4757;
    animation: heartBeat 0.3s;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Expandable Details Row */
.tfe-details-row {
    background: #f8f9fa;
}

.tfe-details-content {
    padding: 20px !important;
}

.tfe-pros-cons-wrapper {
    max-width: 100%;
}

.tfe-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tfe-pro-section,
.tfe-con-section {
    padding: 15px;
    border-radius: 6px;
    background: white;
}

.tfe-pro-section {
    border-left: 4px solid #4caf50;
}

.tfe-con-section {
    border-left: 4px solid #f44336;
}

.tfe-section-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.tfe-pro-section .tfe-section-title {
    color: #4caf50;
}

.tfe-con-section .tfe-section-title {
    color: #f44336;
}

.tfe-pro-section p,
.tfe-con-section p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.tfe-full-description {
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.tfe-full-description h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.tfe-full-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* View Details Button */
.tfe-btn-details {
    background: #607d8b;
    margin-right: 10px;
}

.tfe-btn-details:hover {
    background: #455a64;
}

/* Comparison Panel */
.tfe-compare-panel {
    background: white;
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #2196f3;
}

.tfe-compare-panel.hidden {
    display: none;
}

.tfe-compare-panel h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 24px;
}

#tfe-shortlist-count {
    color: #2196f3;
    font-weight: 600;
}

#tfe-compare-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

#tfe-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#tfe-compare-table thead {
    background: #2c3e50;
    color: white;
}

#tfe-compare-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    position: relative;
}

#tfe-compare-table th:first-child {
    width: 150px;
}

.tfe-remove-col {
    display: inline-block;
    margin-left: 8px;
    color: #ff4757;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.tfe-remove-col:hover {
    transform: scale(1.3);
    color: #ff3838;
}

#tfe-compare-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

#tfe-compare-table tbody tr:hover {
    background: #f8f9fa;
}

#tfe-compare-table .tfe-best {
    background: #fff3cd;
    font-weight: 700;
    color: #856404;
}

.tfe-compare-actions {
    margin: 20px 0;
    text-align: center;
}

#tfe-clear-shortlist {
    background: #f44336;
    color: white;
}

#tfe-clear-shortlist:hover {
    background: #d32f2f;
}

/* Chart */
#tfe-compare-chart {
    margin: 30px auto;
    max-width: 800px;
    display: block;
}

#tfe-compare-chart.hidden {
    display: none;
}

/* Responsive Comparison Panel */
@media (max-width: 768px) {
    .tfe-pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    #tfe-compare-table {
        display: block;
        overflow-x: auto;
    }
    
    .tfe-compare-panel {
        padding: 15px;
    }
}

/* ===================================
   Strategy Navigation
   =================================== */

/* Single Tipster jump pills */
.tfe-jump-pills {
    margin: 12px 0 18px;
    padding: 12px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
}

.tfe-jump-pills-title {
    margin: 0 0 10px;
    font-size: 13px;
    color: #4c5d70;
    font-weight: 600;
}

.tfe-jump-pills-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tfe-jump-pills-list li {
    margin: 0;
}

.tfe-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid #c8d9ee;
    background: #ffffff;
    color: #1e4f8a;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tfe-jump-pill i {
    color: #2f6db3;
    font-size: 11px;
}

.tfe-jump-pill:hover,
.tfe-jump-pill:focus {
    color: #0f3e75;
    border-color: #9bbbe3;
    background: #eef5ff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .tfe-jump-pills {
        padding: 10px;
    }

    .tfe-jump-pills-list {
        gap: 6px;
    }

    .tfe-jump-pill {
        padding: 7px 10px;
        font-size: 11px;
    }
}

.tfe-strategy-nav {
    background: #f0f4f8;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.tfe-nav-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.tfe-strategy-links {
    display: block;
}

.tfe-strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.tfe-strategy-item {
    margin: 0;
}

.tfe-strategy-link {
    display: block;
    padding: 12px 16px;
    background: white;
    color: #2196f3;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.tfe-strategy-link:hover {
    background: #2196f3;
    color: white;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.tfe-strategy-link.active {
    background: #2196f3;
    color: white;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.5);
}

/* ===================================
   Page-Specific Content Sections
   =================================== */

/* General Page Section Styling */
.tfe-page-section {
    background: white;
    padding: 35px 30px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tfe-page-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #2196f3;
}

.tfe-page-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin: 25px 0 15px 0;
}

.tfe-page-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 15px 0;
}

.tfe-page-section ul {
    margin: 15px 0 15px 25px;
    line-height: 1.8;
}

.tfe-page-section li {
    margin: 8px 0;
    color: #444;
}

.tfe-page-section strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Why Follow Section */
.tfe-why-follow {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 5px solid #4caf50;
}

/* Explore More Section */
.tfe-explore-more {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-left: 5px solid #2196f3;
}

.tfe-page-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.tfe-link-category {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.tfe-link-category:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2196f3;
}

.tfe-link-category h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2196f3;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.tfe-link-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tfe-link-category li {
    margin: 0 0 10px 0;
}

.tfe-link-category a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
    padding-left: 25px;
}

.tfe-link-category a::before {
    content: "→";
    position: absolute;
    left: 8px;
    color: #2196f3;
    font-weight: bold;
}

.tfe-link-category a:hover {
    background: #e3f2fd;
    color: #1976d2;
    padding-left: 30px;
}

/* FAQ Section */
.tfe-faq {
    background: #fafafa;
    border-left: 5px solid #ff9800;
}

.tfe-faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.tfe-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #ff9800;
}

.tfe-faq-item:last-child {
    margin-bottom: 0;
}

.tfe-faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-left: 30px;
    position: relative;
}

.tfe-faq-item h3::before {
    content: "Q:";
    position: absolute;
    left: 0;
    font-size: 22px;
    color: #ff9800;
    font-weight: 800;
}

.tfe-faq-item p:last-child,
.tfe-faq-item ul:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Page Sections */
@media (max-width: 768px) {
    .tfe-page-section {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .tfe-page-section h2 {
        font-size: 24px;
    }
    
    .tfe-page-section h3 {
        font-size: 18px;
    }
    
    .tfe-page-section p {
        font-size: 15px;
    }
    
    .tfe-page-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tfe-faq-item {
        padding: 20px 15px;
    }
    
    .tfe-faq-item h3 {
        font-size: 18px;
        padding-left: 25px;
    }
    
    .tfe-faq-item h3::before {
        font-size: 20px;
    }
}

/* Related Strategies Section for Internal Linking */
.tfe--strategies {
    margin-top: 50px;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.tfe-related-strategies h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.tfe-related-strategies ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tfe-related-strategies li {
    margin: 0;
}

.tfe-related-strategies a {
    display: block;
    padding: 12px 16px;
    background: white;
    color: #0066cc;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
}

.tfe-related-strategies a:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.25);
    text-decoration: none;
}

@media (max-width: 768px) {
    .tfe-related-strategies {
        margin-top: 40px;
        padding: 20px 15px;
    }
    
    .tfe-related-strategies h3 {
        font-size: 1.2em;
    }
    
    .tfe-related-strategies ul {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .tfe-related-strategies ul {
        grid-template-columns: 1fr;
    }
}

/* ===================================== */
/* TOP 10 HORSE MONTHLY DEEP-DIVE STYLES */
/* ===================================== */

.tfe-top10-shortcode {
    margin: 30px 0;
}

.tfe-top10-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #34495e;
    margin: 0 0 18px 0;
}

.tfe-top10-methodology {
    background: #f5f9ff;
    border-left: 5px solid #1976d2;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.tfe-top10-signal-comparison {
    margin: 24px 0;
}

.tfe-signal-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px 0;
}

.tfe-signal-tools-help {
    margin: 0;
    color: #5a6b7d;
    font-size: 13px;
}

.tfe-sort-btn {
    background: transparent;
    border: 0;
    padding: 0;
    color: #23374d;
    font-weight: 700;
    cursor: pointer;
}

.tfe-sort-btn.is-asc::after {
    content: " \2191";
    font-size: 11px;
}

.tfe-sort-btn.is-desc::after {
    content: " \2193";
    font-size: 11px;
}

.tfe-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    border: 1px solid transparent;
}

.tfe-chip-good {
    background: #e7f6ec;
    border-color: #7ac79a;
    color: #145a32;
}

.tfe-chip-warn {
    background: #fdecec;
    border-color: #e59696;
    color: #8a1f1f;
}

.tfe-chip-neutral {
    background: #f1f4f8;
    border-color: #d6dee8;
    color: #4e5d6c;
}

.tfe-top10-signal-comparison .tfe-results-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tfe-top-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 8px 0 18px;
}

.tfe-top-panel {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(20, 33, 61, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tfe-top-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(20, 33, 61, 0.14);
    border-color: #c5d3e8;
}

@media (prefers-reduced-motion: reduce) {
    .tfe-top-panel { transition: none; }
    .tfe-top-panel:hover { transform: none; }
}

.tfe-top-panel-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf5ff;
    color: #0f4f9f;
    margin-bottom: 10px;
}

.tfe-top-panel-rank i {
    font-size: 12px;
}

.tfe-top-panel-rank.tfe-top-rank-1 {
    background: linear-gradient(135deg, #fff2b3, #ffd54f);
    color: #7a5a00;
    border: 1px solid #e3b21b;
}

.tfe-top-panel-rank.tfe-top-rank-2 {
    background: linear-gradient(135deg, #f8fafc, #d9e1ea);
    color: #475569;
    border: 1px solid #b7c3d1;
}

.tfe-top-panel-rank.tfe-top-rank-3 {
    background: linear-gradient(135deg, #f7e5d7, #d6a97a);
    color: #6f3f19;
    border: 1px solid #b57b45;
}

.tfe-top-panel-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tfe-top-panel-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dfe6ee;
    flex-shrink: 0;
}

.tfe-top-panel-name {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
}

.tfe-top-panel-desc {
    margin: 0;
    font-size: 13px;
    color: #536273;
    line-height: 1.45;
}

.tfe-top-panel-metrics {
    margin: 12px 0 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.tfe-top-panel-metrics .tfe-metric {
    background: #f8fbff;
    border: 1px solid #e6edf6;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.tfe-top-panel-metrics .tfe-metric span {
    display: block;
    font-size: 12px;
    color: #607084;
}

.tfe-top-panel-metrics .tfe-metric strong {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: #1f2d3d;
}

.tfe-top-panel-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tfe-top-panel-ratings .tfe-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tfe-top-panel-action .tfe-btn,
.tfe-top-panel-action .cppt-visit-link,
.tfe-top-panel-action .cppt-tipster-cta,
.tfe-top-panel-action a {
    display: inline-block;
}

@media (max-width: 1024px) {
    .tfe-top-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tfe-top-panel-metrics {
        grid-template-columns: 1fr;
    }
}

.tfe-signal-comparison-table {
    width: 100%;
    min-width: 980px;
}

.tfe-signal-comparison-table th,
.tfe-signal-comparison-table td {
    white-space: nowrap;
}

.tfe-top10-methodology h3,
.tfe-top10-methodology h4 {
    color: #1f2d3d;
    margin-top: 0;
}

.tfe-top10-methodology ul {
    margin: 10px 0 10px 20px;
}

.tfe-top10-charts {
    margin: 28px 0;
}

.tfe-top10-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.tfe-top10-chart-card {
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    padding: 16px;
}

.tfe-top10-chart-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.tfe-top10-chart-card p {
    margin: 12px 0 0 0;
    color: #5a6b7d;
    font-size: 14px;
}

.tfe-top10-canvas-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    max-height: 220px;
    overflow: hidden;
}

.tfe-top10-chart-card canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
}

.tfe-top10-breakdowns {
    margin: 28px 0;
}

.tfe-top10-quick-filters {
    display: flex;
    gap: 10px;
    margin: 16px 0 20px 0;
    flex-wrap: wrap;
}

.tfe-filter-btn {
    padding: 8px 18px;
    background: #f0f4f8;
    border: 2px solid #d0dae5;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #334e68;
    transition: all 0.2s ease;
}

.tfe-filter-btn:hover {
    background: #e3ebf3;
    border-color: #b0c4d8;
}

.tfe-filter-btn.active {
    background: #2196f3;
    border-color: #1976d2;
    color: #fff;
}

.tfe-top10-breakdown-card {
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    margin-bottom: 16px;
}

.tfe-top10-breakdown-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.tfe-breakdown-summary {
    color: #334e68;
    background: #f7fbff;
    border-left: 3px solid #2196f3;
    padding: 10px 12px;
    border-radius: 4px;
}

.tfe-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.tfe-breakdown-grid h5 {
    margin: 0 0 8px 0;
    color: #1f2d3d;
}

.tfe-breakdown-grid ul {
    margin: 0;
    padding-left: 18px;
}

.tfe-breakdown-grid li {
    margin-bottom: 6px;
    font-size: 14px;
}

.tfe-breakdown-analysis {
    margin-top: 14px;
    background: #f9fbfd;
    border: 1px solid #ecf0f4;
    border-radius: 6px;
    padding: 12px;
}

.tfe-breakdown-analysis h5 {
    margin: 0 0 8px 0;
}

.tfe-breakdown-chart {
    margin-top: 14px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 6px;
    padding: 14px;
}

.tfe-breakdown-chart h5 {
    margin: 0 0 10px 0;
    color: #1f2d3d;
}

.tfe-breakdown-canvas-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    max-height: 180px;
    overflow: hidden;
}

.tfe-breakdown-chart canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
}

.tfe-breakdown-chart-radar .tfe-breakdown-chart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr);
    gap: 14px;
    align-items: start;
}

.tfe-radar-explainer {
    background: #f8fbff;
    border: 1px solid #dce8f5;
    border-radius: 6px;
    padding: 12px;
    color: #23374d;
    font-size: 13px;
}

.tfe-radar-guide-title {
    margin: 0 0 6px 0;
}

.tfe-radar-guide-list,
.tfe-radar-benchmark ul {
    margin: 0;
    padding-left: 18px;
}

.tfe-radar-guide-list li,
.tfe-radar-benchmark li {
    margin-bottom: 4px;
}

.tfe-radar-strength {
    margin: 10px 0;
}

.tfe-radar-benchmark {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 6px;
    padding: 10px;
}

.tfe-radar-benchmark p {
    margin: 0 0 8px 0;
}

.tfe-radar-vs-average {
    margin: 8px 0 0 0;
}

.tfe-breakdown-actions {
    margin-top: 14px;
}

.tfe-top10-faq {
    margin: 26px 0;
}

.tfe-top10-faq-item {
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    background: #fff;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.tfe-top10-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #23374d;
}

.tfe-top10-faq-item p {
    margin: 10px 0 0 0;
    color: #4a5a6a;
}

@media (max-width: 900px) {
    .tfe-top10-chart-grid {
        grid-template-columns: 1fr;
    }

    .tfe-breakdown-grid {
        grid-template-columns: 1fr;
    }

    .tfe-breakdown-chart-radar .tfe-breakdown-chart-layout {
        grid-template-columns: 1fr;
    }

    /* Keep signal comparison as a scrollable matrix instead of card layout. */
    .tfe-top10-signal-comparison .tfe-signal-comparison-table {
        display: table;
        min-width: 900px;
        border: 1px solid #dfe8f3;
    }

    .tfe-top10-signal-comparison .tfe-signal-comparison-table thead {
        display: table-header-group;
    }

    .tfe-top10-signal-comparison .tfe-signal-comparison-table tr {
        display: table-row;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .tfe-top10-signal-comparison .tfe-signal-comparison-table th,
    .tfe-top10-signal-comparison .tfe-signal-comparison-table td {
        display: table-cell;
        text-align: left;
        padding: 10px 12px;
        border-bottom: 1px solid #edf2f7;
    }

    .tfe-top10-signal-comparison .tfe-signal-comparison-table td::before {
        content: none;
    }

    .tfe-signal-tools {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================= */
/* SINGLE TIPSTER REPORT STYLES */
/* ============================= */

.tfe-single-tipster-report {
    max-width: none;
    margin: 0;
    width: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Hero Section */
.tfe-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.tfe-hero-title {
    font-size: 2.5em;
    color: #ecf0f1;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.tfe-hero-sport {
    font-size: 1.2em;
    color: #ecf0f1;
    margin: 8px 0;
}

.tfe-hero-inner{
    display:flex;
    gap:24px;
    align-items:center;
}

.tfe-hero-image img{
    width:90px;
    height:auto;
    border-radius:10px;
}

.tfe-hero-content{
    flex:1;
}

.tfe-hero-snippet {
    font-size: 1.1em;
    color: #bdc3c7;
    margin: 10px 0 0 0;
    line-height: 1.6;
}

/* Section Styling */
.tfe-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 6px;
}

.tfe-section h2 {
    font-size: 1.8em;
    color: #2c3e50;
    margin: 0 0 25px 0;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 15px;
}

/* Performance Table */
.tfe-metrics-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.tfe-metrics-table th,
.tfe-metrics-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tfe-metrics-table th {
    background: #ecf0f1;
    font-weight: 600;
    color: #2c3e50;
    width: 50%;
}

.tfe-metrics-table tr:last-child th,
.tfe-metrics-table tr:last-child td {
    border-bottom: none;
}

.tfe-metrics-table tbody tr:hover {
    background: #f5f7fa;
}

/* Content Sections */
.tfe-behaviour-content,
.tfe-experience-content,
.tfe-profit-style-content,
.tfe-suitability-content {
    line-height: 1.8;
    color: #333;
}

.tfe-experience-content p,
.tfe-profit-style-content p,
.tfe-suitability-content p {
    margin: 15px 0;
}

/* Pros & Cons */
.tfe-pros-cons-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tfe-pros,
.tfe-cons {
    padding: 20px;
    background: white;
    border-radius: 6px;
}

.tfe-pros h3,
.tfe-cons h3 {
    color: #2c3e50;
    margin-top: 0;
}

.tfe-pros ul {
    list-style-type: none;
    padding-left: 0;
}

.tfe-cons ul {
    list-style-type: none;
    padding-left: 0;
}

.tfe-pros li::before {
    content: '✓ ';
    color: #27ae60;
    font-weight: bold;
    margin-right: 8px;
}

.tfe-cons li::before {
    content: '✗ ';
    color: #e74c3c;
    font-weight: bold;
    margin-right: 8px;
}

.tfe-pros li,
.tfe-cons li {
    padding: 8px 0;
    line-height: 1.6;
}

/* FAQ Accordion */
.tfe-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tfe-faq-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.tfe-faq-question {
    display: block;
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
    user-select: none;
    transition: background 0.3s;
}

.tfe-faq-question:hover {
    background: #ecf0f1;
}

.tfe-faq-item[open] > .tfe-faq-question {
    background: #0066cc;
    color: white;
}

.tfe-faq-answer {
    padding: 16px;
    color: #555;
    line-height: 1.7;
}

/* Related Tipsters */
.tfe-related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tfe-related-item {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0066cc;
}

.tfe-related-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.tfe-related-item p {
    margin: 8px 0;
    color: #666;
    font-size: 0.95em;
}

.tfe-risk {
    font-weight: 600;
    color: #0066cc;
}

.tfe-tipster-score {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid #d5e6ff;
}

.tfe-score-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.tfe-score-badge {
    min-width: 105px;
    height: 105px;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.tfe-score-badge.elite {
    background: linear-gradient(135deg, #0a8f2f, #11b13d);
}

.tfe-score-badge.strong {
    background: linear-gradient(135deg, #0b5da8, #0f7ad9);
}

.tfe-score-badge.watchlist {
    background: linear-gradient(135deg, #b07d0c, #d79c0a);
}

.tfe-score-badge.high-risk {
    background: linear-gradient(135deg, #9b1f1f, #cb2f2f);
}

.tfe-score-value {
    font-size: 1.8em;
    line-height: 1;
}

.tfe-score-max {
    font-size: 0.95em;
    opacity: 0.95;
}

.tfe-score-tier {
    margin: 0 0 6px;
}

.tfe-score-breakdown {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 12px;
}

.tfe-score-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #d9e8ff;
    border-radius: 5px;
    background: #fff;
}

.tfe-related-score {
    margin-top: 6px;
}

.tfe-score-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 700;
    color: #fff;
}

.tfe-score-pill.elite {
    background: #0d9a34;
}

.tfe-score-pill.strong {
    background: #0a68bc;
}

.tfe-score-pill.watchlist {
    background: #b88410;
}

.tfe-score-pill.high-risk {
    background: #b52b2b;
}

.tfe-community-reviews {
    background: #fbfdff;
    border: 1px solid #dbe8f7;
}

.tfe-community-note {
    margin-bottom: 14px;
    color: #425466;
}

.tfe-community-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.tfe-community-summary > div {
    background: #fff;
    border: 1px solid #dbe8f7;
    border-radius: 6px;
    padding: 10px 12px;
}

.tfe-rating-stars .on {
    color: #f4b400;
}

.tfe-rating-stars .off {
    color: #c9d3df;
}

.tfe-community-list {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.tfe-community-item {
    background: #fff;
    border: 1px solid #dde7f2;
    border-left: 4px solid #0a68bc;
    border-radius: 6px;
    padding: 12px;
}

.tfe-community-item-meta {
    color: #5c6f82;
    margin: 0 0 8px;
}

.tfe-community-form {
    background: #fff;
    border: 1px solid #dbe8f7;
    border-radius: 6px;
    padding: 14px;
}

.tfe-community-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.tfe-community-form input,
.tfe-community-form select,
.tfe-community-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccd9e6;
    border-radius: 4px;
}

.tfe-review-message {
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.tfe-review-message.success {
    background: #e9f8ee;
    border: 1px solid #b8e7c4;
    color: #1f6f35;
}

.tfe-review-message.error {
    background: #fdecec;
    border: 1px solid #f4c3c3;
    color: #8c2d2d;
}

.tfe-community-login-note {
    margin-top: 8px;
}

/* Results Placeholder */
.tipster-results {
    background: white;
    min-height: 300px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.tfe-results-note {
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Error Message */
.tfe-error {
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tfe-hero {
        padding: 30px 15px;
    }

    .tfe-hero-title {
        font-size: 1.8em;
    }

    .tfe-section {
        padding: 20px 15px;
    }

    .tfe-section h2 {
        font-size: 1.4em;
    }

    .tfe-metrics-table th,
    .tfe-metrics-table td {
        padding: 12px 8px;
        font-size: 0.9em;
    }

    .tfe-pros-cons-content {
        grid-template-columns: 1fr;
    }

    .tfe-related-list {
        grid-template-columns: 1fr;
    }

    .tfe-score-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .tfe-hero-title {
        font-size: 1.5em;
    }

    .tfe-section {
        padding: 15px 10px;
    }

    .tfe-section h2 {
        font-size: 1.2em;
    }

    .tfe-metrics-table {
        font-size: 0.85em;
    }
}

/* ========== PERFORMANCE CARDS STYLING ========== */
.tfe-performance-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tfe-performance-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tfe-performance-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.tfe-performance-card h3 {
    color: #2c3e50;
    font-size: 1.1em;
    margin: 0 0 15px;
    font-weight: 600;
}

.tfe-performance-card .card-stat {
    font-size: 1.8em;
    font-weight: 700;
    color: #0066cc;
    margin: 15px 0;
    position: relative;
}

.tfe-performance-card .card-stat .label {
    display: block;
    font-size: 0.65em;
    color: #666;
    margin-top: 5px;
}

.tfe-performance-card p {
    margin: 8px 0;
    font-size: 0.95em;
    color: #555;
}

/* ========== STAR RATINGS STYLING ========== */
.tfe-star-ratings-table,
.tfe-pass-fail-table,
.tfe-monthly-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.tfe-star-ratings-table td,
.tfe-pass-fail-table td,
.tfe-monthly-table td,
.tfe-monthly-table th {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tfe-star-ratings-table tr td:first-child,
.tfe-pass-fail-table tr td:first-child {
    font-weight: 600;
    width: 40%;
    color: #2c3e50;
}

.tfe-star-ratings-table tr:hover,
.tfe-pass-fail-table tr:hover {
    background: #f5f5f5;
}

.fas.fa-star {
    color: #ddd;
    margin-right: 5px;
    font-size: 0.9em;
}

.fas.fa-star.checked {
    color: #ffc107;
}

.tfe-pass-fail-indicator {
    margin: 20px 0;
}

.tfe-pass-fail-indicator i {
    margin-right: 8px;
}

.tfe-pass-fail-indicator strong {
    font-size: 1.1em;
}

/* ========== MONTHLY TABLE STYLING ========== */
.tfe-monthly-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.tfe-monthly-table {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tfe-monthly-table thead {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    /*color: white;*/
}

.tfe-monthly-table th {
    font-weight: 600;
    padding: 14px;
    text-align: center;
}

.tfe-monthly-table td {
    text-align: center;
    padding: 12px 14px;
}

.tfe-monthly-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.tfe-monthly-table tbody tr:hover {
    background: #e3f2fd;
}

/* ========== SERVICE EXPLANATION STYLING ========== */
.tfe-service-explanation {
    margin: 20px 0;
}

.tfe-how-to-use,
.tfe-insights {
    background: #f5f5f5;
    border-left: 4px solid #0066cc;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    line-height: 1.6;
}

.tfe-insights {
    border-left-color: #4caf50;
    background: #f1f8f4;
}

.tfe-service-explanation p {
    margin: 10px 0;
}

.tfe-service-explanation a.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.tfe-service-explanation a.wp-block-button__link:hover {
    background: #0052a3;
}

/* ========== RESPONSIVE PERFORMANCE CARDS ========== */
@media (max-width: 768px) {
    .tfe-performance-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .tfe-performance-card {
        padding: 15px;
    }

    .tfe-performance-card .card-stat {
        font-size: 1.4em;
    }

    .tfe-monthly-table {
        font-size: 0.9em;
    }

    .tfe-monthly-table th,
    .tfe-monthly-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .tfe-performance-cards-container {
        grid-template-columns: 1fr;
    }

    .tfe-monthly-table-responsive {
        overflow-x: auto;
    }

    .tfe-monthly-table {
        font-size: 0.8em;
    }

    .tfe-star-ratings-table tr td:first-child,
    .tfe-pass-fail-table tr td:first-child {
        width: auto;
    }
}

/* ========== PROFIT CHART STYLING ========== */
.tfe-profit-chart {
    margin: 25px 0;
}

.tfe-chart-container {
    width: 100%;
    min-height: 350px;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Ensure Google Charts is responsive */
.tfe-chart-container svg {
    width: 100% !important;
}

@media (max-width: 768px) {
    .tfe-chart-container {
        min-height: 300px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .tfe-chart-container {
        min-height: 250px;
        padding: 10px;
    }
}
