/* GPT Offer Search v3 - Card Layout (mirrors giftcard/cashback design) */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    --gptv3-navy-dark: #1e3a5f;
    --gptv3-navy: #2C5282;
    --gptv3-navy-light: #e8f0f7;
    --gptv3-gray-50: #f8fafc;
    --gptv3-gray-100: #f1f5f9;
    --gptv3-gray-200: #e2e8f0;
    --gptv3-gray-300: #d1d5db;
    --gptv3-gray-500: #64748b;
    --gptv3-gray-700: #374151;
    --gptv3-success: #27ae60;
    --gptv3-success-dark: #229954;
    --gptv3-radius-md: 10px;
    --gptv3-radius-lg: 12px;
    /* Legacy tokens used by detail pages */
    --primary-blue: #007cba;
    --primary-blue-dark: #005a87;
    --success-green: #27ae60;
    --success-green-dark: #229954;
    --text-dark: #2c3e50;
    --text-muted: #666;
    --text-light: #999;
    --border-color: #ddd;
    --background-light: #f8f9fa;
    --background-gray: #f9f9f9;
    --table-header: #34495e;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.gptv3-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gptv3-gray-700);
}

@media (max-width: 768px) {
    .gptv3-container {
        padding-bottom: 70px;
    }
}

.gptv3-hidden {
    display: none !important;
}

/* ==========================================================================
   DESKTOP HERO HEADER (hidden by template on desktop, hidden on mobile)
   ========================================================================== */

.gptv3-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2C5282 100%);
    border-radius: var(--gptv3-radius-lg);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
    color: #fff;
}

.gptv3-hero-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
}

.gptv3-hero-count {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 4px;
    color: #fff;
}

.gptv3-hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-bottom: 16px;
}

.gptv3-hero-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gptv3-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gptv3-hero-pill:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .gptv3-hero {
        display: none;
    }
}

/* ==========================================================================
   MOBILE STICKY HEADER
   ========================================================================== */

.gptv3-mobile-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #1e3a5f 0%, #2C5282 100%);
    padding: 12px 16px 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.admin-bar .gptv3-mobile-header {
    top: 46px;
}

.gptv3-mobile-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.gptv3-mobile-header-info {
    flex: 1;
    min-width: 0;
}

.gptv3-mobile-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.gptv3-mobile-header-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.3;
}

.gptv3-mobile-header-count {
    font-weight: 700;
    color: #fff;
}

.gptv3-mobile-header-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 10px;
}

.gptv3-mobile-about-btn,
.gptv3-mobile-filter-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.gptv3-mobile-about-btn svg,
.gptv3-mobile-filter-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.gptv3-filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile search input */
.gptv3-mobile-search {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    background: rgba(255,255,255,0.95);
    color: #333;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.gptv3-mobile-search::placeholder {
    color: #999;
}

/* Quick filter pills */
.gptv3-quick-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.gptv3-quick-filters::-webkit-scrollbar {
    display: none;
}

.gptv3-quick-filters button {
    flex-shrink: 0;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.gptv3-quick-filters button.active {
    background: rgba(255,255,255,0.95);
    color: var(--gptv3-navy);
    border-color: transparent;
    font-weight: 600;
}

.gptv3-quick-divider {
    flex-shrink: 0;
    width: 1px;
    background: rgba(255,255,255,0.3);
    margin: 4px 2px;
}

@media (min-width: 769px) {
    .gptv3-mobile-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .gptv3-mobile-header {
        display: block;
    }
}

/* ==========================================================================
   BONUSES SECTION (Recommended Sites)
   ========================================================================== */

.gptv3-bonuses {
    background: var(--gptv3-gray-50);
    border: 1px solid var(--gptv3-gray-200);
    border-radius: var(--gptv3-radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.gptv3-bonuses-header {
    text-align: center;
    margin-bottom: 12px;
}

.gptv3-bonuses-subtitle {
    font-size: 13px;
    color: var(--gptv3-gray-500);
    margin: 0;
}

.gptv3-bonuses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gptv3-bonus-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--gptv3-gray-300);
    border-radius: 6px;
    padding: 8px;
    text-decoration: none !important;
    transition: all 0.2s;
    color: inherit;
}

.gptv3-bonus-card:hover {
    transform: translateY(-2px);
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16,185,129,0.2) !important;
    text-decoration: none !important;
    color: inherit;
}

.gptv3-bonus-card img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: contain;
    flex-shrink: 0;
}

.gptv3-bonus-card-info {
    min-width: 0;
    line-height: 1.3;
}

.gptv3-bonus-card-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gptv3-navy);
}

.gptv3-bonus-card-desc {
    display: block;
    font-size: 10px;
    color: var(--gptv3-gray-500);
}

.gptv3-bonus-card-offer {
    display: block;
    font-size: 11px;
    color: #059669;
    font-weight: 500;
}

/* Bonus extras - hidden until "more" is clicked */
.gptv3-bonus-extra {
    display: none;
}

.gptv3-bonuses-grid.show-all .gptv3-bonus-extra {
    display: flex;
}

.gptv3-bonus-more {
    cursor: pointer;
    justify-content: center;
    border-style: dashed;
}

.gptv3-bonus-more:hover {
    background: #fff;
    border-color: var(--gptv3-navy);
    transform: none;
    box-shadow: none !important;
}

.gptv3-bonus-more-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gptv3-navy);
}

/* ==========================================================================
   SEARCH & FILTER SECTION
   ========================================================================== */

.gptv3-search-heading,
.gptv3-card-list-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--gptv3-gray-700);
    margin: 0 0 12px 0;
}

.gptv3-search-section {
    margin-bottom: 12px;
}

.gptv3-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gptv3-gray-200);
    border-radius: var(--gptv3-radius-md);
    font-size: 15px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}

.gptv3-search-input:focus {
    outline: none;
    border-color: var(--gptv3-navy);
}

/* Collapsible filter details */
.gptv3-filter-section {
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
}

/* Desktop: always show filters, hide summary toggle */
@media (min-width: 769px) {
    .gptv3-filter-section summary {
        display: none;
    }

    .gptv3-filter-section .gptv3-filter-content {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
        align-items: end;
        padding: 0 0 16px 0;
    }

    .gptv3-filter-section .gptv3-filter-close {
        display: none;
    }

    .gptv3-filter-section {
        border-bottom: none;
    }
}

.gptv3-filter-section summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: var(--gptv3-gray-700);
    padding: 16px 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gptv3-filter-section summary:hover {
    color: var(--gptv3-navy);
}

.gptv3-filter-section summary::-webkit-details-marker {
    display: none;
}

.gptv3-filter-section summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #9ca3af;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gptv3-filter-section[open] summary::after {
    content: '\2212';
}

.gptv3-filter-content {
    padding: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
}

.gptv3-filter-close {
    display: none;
}

.gptv3-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gptv3-filter-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gptv3-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gptv3-filter-field select {
    padding: 8px 12px;
    border: 1px solid var(--gptv3-gray-200);
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: var(--gptv3-gray-700);
    cursor: pointer;
}

.gptv3-filter-field select:focus {
    outline: none;
    border-color: var(--gptv3-navy);
}

.gptv3-filter-field select.filter-active {
    border-color: var(--gptv3-navy);
    background: var(--gptv3-navy-light);
}

.gptv3-filter-reset {
    padding: 8px 16px;
    background: var(--gptv3-navy);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    height: fit-content;
    align-self: end;
}

.gptv3-filter-reset:hover {
    background: var(--gptv3-navy-dark);
}

/* Active filter pills */
.gptv3-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.gptv3-active-filters:empty {
    display: none;
}

.gptv3-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--gptv3-navy-light);
    border: 1px solid var(--gptv3-navy);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gptv3-navy);
}

.gptv3-filter-pill-remove {
    background: none;
    border: none;
    color: var(--gptv3-navy);
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
    line-height: 1;
}

/* ==========================================================================
   MOBILE FILTER OVERLAY
   ========================================================================== */

@media (max-width: 768px) {
    .gptv3-filter-section {
        border: none;
        border-radius: 0;
        margin: 0;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .gptv3-filter-section.gptv3-filter-open {
        transform: translateX(0);
    }

    .gptv3-filter-section summary {
        display: none;
    }

    .gptv3-filter-section[open] summary {
        display: none;
    }

    .gptv3-filter-content {
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .gptv3-filter-close {
        display: block;
        background: none;
        border: none;
        font-size: 16px;
        font-weight: 600;
        color: var(--gptv3-navy);
        cursor: pointer;
        padding: 0;
        margin-bottom: 8px;
    }

    .gptv3-filter-field select {
        padding: 12px;
        font-size: 16px;
    }
}

/* ==========================================================================
   CARD LIST
   ========================================================================== */

#gptv3-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.gptv3-card {
    border: 1px solid var(--gptv3-gray-200);
    border-radius: var(--gptv3-radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background: #fff;
}

.gptv3-card:hover {
    border-color: var(--gptv3-navy);
    box-shadow: 0 2px 8px rgba(44,82,130,0.1);
}

.gptv3-card.expanded {
    border-color: var(--gptv3-navy);
    box-shadow: 0 4px 16px rgba(44,82,130,0.12);
}

.gptv3-card-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
}

/* Card offer section (left) */
.gptv3-card-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gptv3-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gptv3-gray-100);
}

.gptv3-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gptv3-card-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--gptv3-gray-700);
    line-height: 1.3;
}

.gptv3-card-meta {
    font-size: 12px;
    color: var(--gptv3-gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.gptv3-card-source {
    font-weight: 500;
}

.gptv3-card-expand-hint {
    font-size: 11px;
    color: var(--gptv3-navy);
    font-weight: 500;
}

/* Badges in card */
.gptv3-rec-badge,
.gptv3-boosted-badge,
.gptv3-ath-badge,
.gptv3-money-badge,
.gptv3-new-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

.gptv3-rec-badge {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: #fff;
}

.gptv3-boosted-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
}

.gptv3-ath-badge {
    background: linear-gradient(135deg, #f1c40f, #d4ac0d);
    color: #333;
}

.gptv3-money-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.gptv3-new-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    animation: gptv3-pulse 2s ease-in-out infinite;
}

@keyframes gptv3-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* Card payout section (centre) */
.gptv3-card-payout {
    text-align: center;
    flex-shrink: 0;
    min-width: 70px;
}

.gptv3-card-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--gptv3-success);
    line-height: 1.2;
}

.gptv3-card-payout-label {
    font-size: 11px;
    color: var(--gptv3-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card action section (right) */
.gptv3-card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.gptv3-card-best-site {
    font-size: 11px;
    color: var(--gptv3-gray-500);
    font-weight: 500;
    text-align: center;
}

.gptv3-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--gptv3-success), #2ecc71);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(39,174,96,0.2);
}

.gptv3-card-btn:hover {
    background: linear-gradient(135deg, var(--gptv3-success-dark), var(--gptv3-success));
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(39,174,96,0.3);
    color: #fff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   CARD DETAILS (expanded)
   ========================================================================== */

.gptv3-card-details {
    border-top: 1px solid var(--gptv3-gray-200);
    padding: 16px;
    background: var(--gptv3-gray-50);
}

.gptv3-detail-section {
    margin-bottom: 14px;
}

.gptv3-detail-section:last-child {
    margin-bottom: 0;
}

.gptv3-detail-section h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--gptv3-gray-700);
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gptv3-detail-section p {
    font-size: 14px;
    color: var(--gptv3-gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Completions info */
.gptv3-detail-completions {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.gptv3-detail-completions .completions-label {
    font-weight: 600;
    color: var(--gptv3-gray-700);
}

/* Goals/tasks list */
.gptv3-detail-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gptv3-detail-tasks li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gptv3-gray-200);
    font-size: 13px;
}

.gptv3-detail-tasks li:last-child {
    border-bottom: none;
}

.gptv3-task-name {
    color: var(--gptv3-gray-700);
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.gptv3-task-payout {
    font-weight: 700;
    color: var(--gptv3-success);
    white-space: nowrap;
}

/* Site comparison in details */
.gptv3-detail-sites {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gptv3-detail-site-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--gptv3-gray-200);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.gptv3-detail-site-row:hover {
    border-color: var(--gptv3-success);
    text-decoration: none;
    color: inherit;
}

.gptv3-detail-site-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gptv3-detail-site-info [class*="_image"] {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.gptv3-detail-site-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gptv3-gray-700);
}

.gptv3-detail-site-rank {
    font-size: 11px;
    color: var(--gptv3-gray-500);
    margin-left: 6px;
}

.gptv3-detail-site-payout {
    font-weight: 700;
    font-size: 14px;
    color: var(--gptv3-success);
}

/* Money maker details in card */
.gptv3-detail-money-maker {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 12px;
}

.gptv3-detail-money-maker h4 {
    color: #166534;
}

.gptv3-mm-task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.gptv3-mm-task-name {
    color: #1e293b;
    flex: 1;
    min-width: 100px;
}

.gptv3-mm-calc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.gptv3-mm-cost { color: #dc2626; }
.gptv3-mm-arrow { color: #94a3b8; }
.gptv3-mm-reward { color: #059669; }
.gptv3-mm-profit {
    color: #fff;
    background: #059669;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
}

/* View full details link */
.gptv3-detail-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--gptv3-navy) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.2s;
}

.gptv3-detail-link:hover {
    color: var(--gptv3-navy-dark) !important;
    text-decoration: underline !important;
}

/* Payout history info (in card details) */
.mobile-payout-history-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    background: #e3f2fd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 13px;
}

.mobile-payout-history-info .payout-status {
    font-weight: bold;
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-payout-history-info .payout-status.payout-up {
    color: #27ae60;
    background: #e8f5e9;
}

.mobile-payout-history-info .payout-status.payout-down {
    color: #e74c3c;
    background: #ffebee;
}

.mobile-payout-history-info .payout-status.payout-stable {
    color: #666;
    background: #f5f5f5;
}

.mobile-payout-history-info .payout-label {
    font-weight: 600;
    color: #333;
}

.mobile-payout-history-info .payout-current {
    font-weight: 700;
    color: var(--gptv3-navy);
}

.mobile-payout-history-info .payout-max {
    font-size: 11px;
    color: #888;
}

.mobile-payout-history-info .payout-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.mobile-payout-history-info .payout-change.change-positive {
    color: #27ae60;
    background: #e8f5e9;
}

.mobile-payout-history-info .payout-change.change-negative {
    color: #e74c3c;
    background: #ffebee;
}

.mobile-payout-history-info .payout-history-count {
    font-size: 11px;
    color: #888;
    margin-left: auto;
}

/* ==========================================================================
   RESULTS INFO & PAGINATION
   ========================================================================== */

.gptv3-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: var(--gptv3-gray-500);
}

.gptv3-last-updated {
    font-size: 12px;
    color: var(--gptv3-gray-500);
}

.gptv3-pagination-bottom {
    padding: 8px 0 16px;
}

.gptv3-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.gptv3-pagination button {
    padding: 8px 14px;
    border: 1px solid var(--gptv3-gray-200);
    background: #fff;
    color: var(--gptv3-navy);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gptv3-pagination button:hover:not(.current):not(:disabled) {
    background: var(--gptv3-navy-light);
    border-color: var(--gptv3-navy);
}

.gptv3-pagination button.current {
    background: var(--gptv3-navy);
    color: #fff;
    border-color: var(--gptv3-navy);
}

.gptv3-pagination button:disabled {
    color: var(--gptv3-gray-300);
    cursor: not-allowed;
}

/* Region flags */
.gptv3-region-flags {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--gptv3-gray-200);
    margin-top: 8px;
}

.gptv3-flag-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 36px;
    font-size: 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.gptv3-flag-link:hover {
    background: var(--gptv3-gray-100);
}

.gptv3-flag-link.active {
    background: var(--gptv3-navy-light);
    border: 1px solid var(--gptv3-navy);
}

/* ==========================================================================
   ABOUT PANEL (mobile only)
   ========================================================================== */

.gptv3-about-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #fff;
    overflow-y: auto;
    padding: 20px 16px;
}

.gptv3-about-panel.gptv3-about-open {
    display: block;
}

.gptv3-about-close {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gptv3-navy);
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
}

.gptv3-about-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gptv3-gray-700);
    margin: 20px 0 8px;
}

.gptv3-about-content h3:first-child {
    margin-top: 0;
}

.gptv3-about-content p {
    font-size: 14px;
    color: var(--gptv3-gray-500);
    line-height: 1.6;
    margin: 0 0 12px;
}

.gptv3-about-steps {
    padding-left: 20px;
    margin: 0 0 16px;
}

.gptv3-about-steps li {
    font-size: 14px;
    color: var(--gptv3-gray-500);
    line-height: 1.6;
    margin-bottom: 8px;
}

.gptv3-about-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.gptv3-about-link {
    display: inline-flex;
    padding: 8px 16px;
    background: var(--gptv3-gray-100);
    border: 1px solid var(--gptv3-gray-200);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gptv3-navy);
    text-decoration: none;
    transition: all 0.2s ease;
}

.gptv3-about-link:hover {
    background: var(--gptv3-navy-light);
    border-color: var(--gptv3-navy);
    text-decoration: none;
}

/* ==========================================================================
   MOBILE BOTTOM NAV
   ========================================================================== */

.gptv3-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid var(--gptv3-gray-200);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .gptv3-mobile-nav {
        display: flex;
        justify-content: space-around;
    }
}

.gptv3-mobile-nav a,
.gptv3-mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gptv3-gray-500);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gptv3-mobile-nav a svg,
.gptv3-mobile-nav button svg {
    width: 22px;
    height: 22px;
}

.gptv3-mobile-nav .active {
    color: var(--gptv3-navy);
    font-weight: 700;
}

/* ==========================================================================
   LOADING INDICATOR
   ========================================================================== */

.gptv3-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--gptv3-gray-500);
}

.gptv3-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--gptv3-gray-200);
    border-top-color: var(--gptv3-navy);
    border-radius: 50%;
    animation: gptv3-spin 0.6s linear infinite;
    margin: 0 auto 12px;
}

@keyframes gptv3-spin {
    to { transform: rotate(360deg); }
}

/* No results */
.gptv3-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--gptv3-gray-500);
    font-size: 15px;
}

/* ==========================================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .gptv3-bonuses {
        margin: 0 12px 12px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .gptv3-bonuses-subtitle {
        font-size: 11px;
        margin: 4px 0 0 0;
    }

    .gptv3-bonuses-grid {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gptv3-bonuses-grid::-webkit-scrollbar {
        display: none;
    }

    .gptv3-bonus-card {
        min-width: 170px;
        flex-shrink: 0;
    }

    .gptv3-bonus-card img {
        width: 28px;
        height: 28px;
    }

    .gptv3-bonus-more,
    .gptv3-bonus-extra {
        display: none !important;
    }

    .gptv3-search-panel {
        padding: 16px;
    }

    .gptv3-card-main {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 12px;
    }

    .gptv3-card-action {
        display: none;
    }

    .gptv3-card-payout {
        min-width: 60px;
    }

    .gptv3-card-amount {
        font-size: 17px;
    }

    .gptv3-card-logo {
        width: 40px;
        height: 40px;
    }

    .gptv3-card-name {
        font-size: 14px;
    }

    .gptv3-card-details {
        padding: 12px;
    }

    /* Badges smaller on mobile */
    .gptv3-rec-badge,
    .gptv3-boosted-badge,
    .gptv3-ath-badge,
    .gptv3-money-badge,
    .gptv3-new-badge {
        font-size: 8px;
        padding: 1px 4px;
        margin-left: 4px;
    }
}

@media (max-width: 480px) {
    .gptv3-card-logo {
        width: 36px;
        height: 36px;
    }

    .gptv3-card-name {
        font-size: 13px;
    }

    .gptv3-card-amount {
        font-size: 16px;
    }
}

/* ==========================================================================
   PRESERVED: LEGACY BADGE STYLES (used by detail pages + card JS rendering)
   ========================================================================== */

.gpt_badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.gpt_badge a {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue) !important;
    text-decoration: underline !important;
}

.gpt_badge a:hover {
    color: var(--primary-blue-dark) !important;
}

.gpt_badge span[class*="_image"] {
    text-decoration: none !important;
}

.offerwall-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--gptv3-gray-500);
    font-weight: 500;
}

/* RECOMMENDED badge (legacy, used in JS) */
.gpt-rec-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.gpt-boosted-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.gpt-ath-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f1c40f, #d4ac0d);
    color: #333;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
    vertical-align: middle;
}

.gpt-money-maker-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.gpt-money-maker-repeatable {
    background: linear-gradient(135deg, #059669, #047857);
    animation: pulse-profit 2s ease-in-out infinite;
}

@keyframes pulse-profit {
    0%, 100% { box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4); }
}

.new-offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ==========================================================================
   PRESERVED: PLATFORM ICONS
   ========================================================================== */

.platform-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.platform-ios {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512"><rect width="512" height="512" fill="%23555" rx="15%25"/><path fill="%23f2f2f2" d="M410 334s-10 29-30 59c-5 9-29 43-58 43-21 0-35-15-62-15-33 0-46 15-67 15-11 1-22-5-34-16-77-73-81-181-52-225 18-29 48-47 81-48 26 0 54 17 65 17 8 0 50-20 74-18 33 3 56 15 73 38-49 24-66 117 10 150zM329 56c8 32-27 93-79 90-3-43 34-87 79-90z"/></svg>');
}

.platform-android {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512"><rect width="512" height="512" rx="15%25" fill="%23a4c639"/><g stroke="%23fff" stroke-linecap="round"><path stroke-width="58" d="M107 212v106m299-106v106m-107 66v56m-85-56v56"/><path stroke-width="8" d="M203 88l-17-32m123 32l18-32"/></g><path fill="%23fff" d="M257 76c-76 0-115 60-115 105h229c0-47-42-104-114-105zM142 191v164c0 16 13 29 28 29h172c16 0 29-13 29-29V191z"/><g fill="%23a4c639"><circle cx="204" cy="130" r="9"/><circle cx="309" cy="130" r="9"/></g></svg>');
}

.platform-desktop {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512"><rect width="512" height="512" rx="15%25" fill="%23666"/><rect x="64" y="96" width="384" height="256" rx="16" fill="%23fff"/><rect x="80" y="112" width="352" height="200" fill="%23333"/><rect x="208" y="368" width="96" height="16" rx="8" fill="%23fff"/><rect x="160" y="384" width="192" height="48" rx="24" fill="%23fff"/></svg>');
}

/* Heat Indicator */
.heat-indicator {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    margin-right: 6px;
    padding: 2px;
}

.heat-bar {
    width: 4px;
    background: #ddd;
    border-radius: 1px;
}

.heat-bar.active {
    background: currentColor;
}

.heat-very-hot { color: #e74c3c; }
.heat-hot { color: #f39c12; }
.heat-steady { color: #27ae60; }
.heat-cold { color: #95a5a6; }

/* Completions */
.completions-24h { font-weight: 600; color: #555; }
.completions-divider { color: #aaa; }
.completions-7d { font-weight: 500; color: #888; }
.completions-period { font-size: 11px; color: #888; }

/* ==========================================================================
   PRESERVED: DETAIL PAGE STYLES (gptv3_offer_display_shortcode)
   Everything below is used by the individual offer detail pages and must
   remain intact for /gpt-search-engine/?offer_slug=xxx pages.
   ========================================================================== */

/* Container */
.gpt-offer-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Card */
.offer-hero-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    margin-bottom: 24px;
}

.header-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.header-section .offer-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Top sites section (detail page) */
.top-sites-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
}

.top-sites-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.top-sites-list {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.top-site-link:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.top-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #fff !important;
}

.top-site-rank-1 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.top-site-rank-2 { background: linear-gradient(135deg, #2980b9, #3498db); }
.top-site-rank-3 { background: linear-gradient(135deg, #8e44ad, #9b59b6); }

.top-site-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    color: #fff !important;
    text-decoration: none !important;
}

/* Detail cards */
.offer-details-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.detail-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 120px;
    font-size: 14px;
}

.detail-value {
    color: #555;
    font-size: 14px;
    flex: 1;
}

/* Task payouts section (detail page) */
.task-payouts-section {
    margin: 30px 0;
}

.task-payouts-section h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid var(--success-green);
    padding-bottom: 8px;
}

.task-payouts-table {
    margin-top: 0;
}

.task-payouts-table h4 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 18px;
}

.payouts-grid {
    display: grid;
    gap: 1px;
    background-color: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    font-size: 16px;
}

.payouts-header {
    display: contents;
}

.task-payouts-table .payouts-grid .task-header,
.task-payouts-table .payouts-grid .site-header {
    background: var(--table-header) !important;
    color: white !important;
    padding: 12px 6px !important;
    font-weight: bold !important;
    text-align: center !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
}

.task-payouts-table .payouts-grid .task-header {
    text-align: left !important;
    justify-content: flex-start !important;
}

.payout-row {
    display: contents;
}

.task-name, .task-payout {
    background: white;
    padding: 6px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.task-name {
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
}

.task-payout {
    text-align: center;
    font-weight: bold;
    color: var(--success-green);
    font-size: 15px;
}

.payout-row:nth-child(even) .task-name,
.payout-row:nth-child(even) .task-payout {
    background-color: var(--background-light);
}

.site-header-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.task-payouts-table .payouts-grid [class*="_image"],
.task-payouts-table .payouts-grid .site-header [class*="_image"] {
    width: 32px !important;
    height: 32px !important;
    margin: 0 6px 0 0 !important;
    display: block !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Site buttons row */
.site-buttons-row { display: contents; }

.task-button-spacer {
    background: #f8f9fa !important;
    padding: 6px !important;
    border-bottom: 1px solid #eee !important;
}

.site-button-cell {
    background: #f8f9fa !important;
    padding: 6px 4px !important;
    text-align: center !important;
    border-bottom: 1px solid #eee !important;
}

.desktop-site-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid #27ae60 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.desktop-site-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

.desktop-site-btn [class*="_image"] {
    width: 20px !important;
    height: 20px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Sites overview */
.sites-overview {
    margin: 30px 0;
}

.sites-overview h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 8px;
}

.sites-grid {
    display: grid;
    gap: 1px;
    background: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.sites-grid-header, .sites-grid-row {
    display: contents;
}

/* Single site display */
.single-site-info {
    margin: 30px 0;
}

.single-site-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Compact sites table */
.compact-sites-table { margin-top: 0; }

/* Payout chart */
.payout-chart-section {
    margin: 30px 0;
}

.payout-chart-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.payout-chart-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Country flags */
.country-flag {
    font-size: 16px;
    margin-right: 2px;
}

.more-countries {
    font-size: 12px;
    color: var(--text-muted);
}

/* Content section */
.content-section {
    margin: 20px 0;
}

/* Site link styles (used in detail pages) */
.site-link {
    color: var(--primary-blue) !important;
    text-decoration: underline !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.site-link:hover {
    color: var(--primary-blue-dark) !important;
}

/* Signup buttons (detail pages) */
.signup-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #27ae60 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

/* Load more sites link */
.load-more-sites {
    text-align: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #eee;
}

.load-more-btn {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
}

.load-more-btn:hover {
    background: var(--primary-blue);
    color: white !important;
}

/* Money maker details */
.money-maker-details {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}

.money-maker-details h4 {
    color: #166534;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.money-maker-intro {
    color: #166534;
    font-size: 13px;
    margin: 0 0 12px 0;
    opacity: 0.85;
}

.money-maker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.money-maker-task {
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.mm-task-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mm-task-name {
    font-size: 13px;
    color: #1e293b;
    flex: 1;
    min-width: 120px;
}

.mm-task-calc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.mm-cost { color: #dc2626; }
.mm-arrow { color: #94a3b8; }
.mm-reward { color: #059669; }
.mm-equals { color: #94a3b8; }
.mm-profit {
    color: white;
    background: #059669;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.mm-task-repeatable {
    border-color: #34d399;
    background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

.mm-repeat-info {
    font-size: 12px;
    color: #047857;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #bbf7d0;
}

/* ==========================================================================
   PRESERVED: USER FEEDBACK SECTION (Voting & Comments)
   ========================================================================== */

.offer-feedback-section {
    margin-top: 30px;
}

.feedback-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.feedback-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-count {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 14px;
}

.vote-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.vote-btn:hover:not(:disabled) {
    border-color: #bbb;
    background: #f8f9fa;
}

.vote-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-btn.vote-up.active {
    background: #e8f5e9;
    border-color: var(--success-green);
    color: var(--success-green);
}

.vote-btn.vote-down.active {
    background: #ffebee;
    border-color: #e53935;
    color: #e53935;
}

.vote-icon { font-size: 18px; }
.vote-count { font-size: 13px; color: var(--text-muted); }

.completion-rate { margin-top: 12px; }

.rate-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.rate-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-green), #2ecc71);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rate-text {
    font-size: 13px;
    color: var(--text-muted);
}

.login-prompt {
    font-size: 14px;
    color: var(--text-muted);
    margin: 12px 0 0 0;
}

.login-prompt a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.comments-list { margin-bottom: 20px; }

.no-comments {
    color: var(--text-muted);
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-item {
    padding: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.comment-time { font-size: 12px; color: var(--text-light); }
.comment-text { font-size: 14px; color: var(--text-dark); line-height: 1.5; }

.comment-form { margin-top: 16px; }

.comment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.char-count { font-size: 12px; color: var(--text-light); }

.comment-submit-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-blue), #0091ea);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-1px);
}

.comment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .feedback-card { padding: 16px; }
    .vote-buttons { flex-direction: column; }
    .vote-btn { width: 100%; justify-content: center; }
    .comment-form-footer { flex-direction: column; gap: 10px; align-items: stretch; }
    .char-count { text-align: right; }
    .comment-submit-btn { width: 100%; }

    /* Detail page mobile */
    .top-sites-section {
        padding: 12px 14px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .task-payouts-section h3,
    .sites-overview h3 {
        font-size: 20px;
    }

    .mm-task-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .money-maker-details { padding: 12px; }
}

/* ==========================================================================
   PRESERVED: FULL PAGE PAYOUTS GRID
   ========================================================================== */

.full-payouts-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eee;
    border-radius: 8px;
    background: white;
}

.payouts-grid-full {
    display: grid;
    gap: 1px;
    background-color: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-size: 16px;
    min-width: 800px;
}

.payouts-grid-full .payouts-header { display: contents; }

.payouts-grid-full .task-header,
.payouts-grid-full .site-header {
    background: var(--table-header) !important;
    color: white !important;
    padding: 15px 8px !important;
    font-weight: bold !important;
    text-align: center !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 60px !important;
}

.payouts-grid-full .task-header {
    text-align: left !important;
    justify-content: flex-start !important;
    padding-left: 15px !important;
}

.payouts-grid-full .payout-row { display: contents; }

.payouts-grid-full .task-name,
.payouts-grid-full .task-payout {
    background: white;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.payouts-grid-full .task-name {
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 15px;
}

.payouts-grid-full .task-payout {
    text-align: center;
    font-weight: bold;
    color: var(--success-green);
    justify-content: center;
}

.payouts-grid-full .payout-row:nth-child(even) .task-name,
.payouts-grid-full .payout-row:nth-child(even) .task-payout {
    background-color: var(--background-light);
}

.payouts-grid-full .site-buttons-row { display: contents; }

.payouts-grid-full .task-button-spacer {
    background: #e9ecef !important;
    padding: 10px !important;
    border-top: 2px solid var(--border-color) !important;
}

.payouts-grid-full .site-button-cell {
    background: #e9ecef !important;
    padding: 10px 8px !important;
    text-align: center !important;
    border-top: 2px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.payouts-grid-full [class*="_image"] {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Sites table (detail page) */
.sites-table-full {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sites-table-full th {
    background: var(--table-header);
    color: white;
    padding: 15px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.sites-table-full td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 14px;
}

.sites-table-full tr:nth-child(even) { background-color: var(--background-light); }
.sites-table-full tr:hover { background-color: #e3f2fd; }

/* Ranking styles */
.rank-cell { font-weight: bold; text-align: center; font-size: 16px; }
.rank-gold { color: #ffd700; }
.rank-silver { color: #c0c0c0; }
.rank-bronze { color: #cd7f32; }
.site-cell { min-width: 150px; }
.payout-cell { text-align: center; font-weight: bold; color: var(--success-green); font-size: 16px; }
.join-cell { text-align: center; min-width: 120px; }

/* Offer meta info */
.offer-meta-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-label { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.meta-value { display: flex; align-items: center; gap: 4px; }

@media (max-width: 768px) {
    .payouts-grid-full {
        font-size: 12px;
        min-width: 600px;
    }
    .payouts-grid-full .task-header,
    .payouts-grid-full .site-header {
        padding: 8px 4px !important;
        font-size: 11px !important;
        min-height: 40px !important;
    }
    .payouts-grid-full .task-name,
    .payouts-grid-full .task-payout {
        padding: 8px 4px;
        font-size: 12px;
    }
    .sites-table-full th,
    .sites-table-full td {
        padding: 8px 6px;
    }
    .offer-meta-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
