/*
Theme Name: Community Resource Child Theme
Author: Offline Sharks
Version: 18.4
Author URI: http://offlinesharks.com/
Template: directorytheme
Description: Completely custom Wordpress theme built by OfflineSharks. What makes this theme special is that it was created by Offline Marketers and is designed specifically for Offline Marketers. This theme is crafted using the Bootstrap framework and has custom dynamic functions, fields, and content boxes on each page. We recommend using this theme to generate leads, prospects, and sales for any business. <a target="_blank" href="http://themepluginserver.nickponte.com/directory-theme-changelog/">Theme change log</a>
Tags: flexible-content, accessibility-ready, custom-colors, custom-logo, editor-style, featured-images, theme-options, translation-ready
*/

/* New Listing Cards */
.nl-listing {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 16px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.nl-listing:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

/* Featured Listing Cards */
.featured-listing.featured-home {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.featured-listing.featured-home:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

/* Listings Page Cards */
.featured-listing {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.featured-listing:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.featured-listing .category_display .col-md-12 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 8px 4px !important;
    scrollbar-width: none;
    gap: 4px;
}

.featured-listing .category_display .col-md-12::after {
    content: "";
    flex: 0 0 12px;
}

.featured-listing .nlplink {
    flex: 0 0 auto !important;
}

.featured-listing .nlplink span {
    background: #F5F7FA;
    color: #1A2332;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    margin: 0;
}

<!-- LMT CUSTOM PRICING PAGE — paste into WordPress page using Text/Code editor -->
<!-- Remove the pricing page template from the page settings — use Default Template instead -->


/* ===== LMT PRICING PAGE STYLES ===== */
.lmt-pricing-wrap {
    font-family: 'Poppins', sans-serif;
    padding: 40px 0 60px;
    background: transparent;
}

/* Intro section */
.lmt-pricing-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.lmt-pricing-intro .lmt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(58, 178, 106, 0.1);
    color: #3AB26A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.lmt-pricing-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1A2332;
    line-height: 1.15;
    margin: 0 0 16px;
}

.lmt-pricing-intro h2 span {
    color: #3AB26A;
}

.lmt-pricing-intro p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

/* Founding member banner */
.lmt-founding-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1A2332 0%, #243447 100%);
    border: 1px solid rgba(244, 162, 97, 0.3);
    border-radius: 10px;
    padding: 14px 24px;
    margin: 0 auto 40px;
    max-width: 620px;
}

.lmt-founding-banner .lmt-fb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F4A261;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.lmt-founding-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.5;
}

.lmt-founding-banner p strong {
    color: #F4A261;
}

/* Cards grid */
.lmt-pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

@media (max-width: 991px) {
    .lmt-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .lmt-pricing-intro h2 {
        font-size: 28px;
    }
}

/* Base card */
.lmt-plan-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid #E8EDF2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.lmt-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

/* Featured card */
.lmt-plan-card.lmt-featured {
    border-color: #3AB26A;
    box-shadow: 0 8px 40px rgba(58, 178, 106, 0.2);
    transform: translateY(-8px);
}

.lmt-plan-card.lmt-featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 50px rgba(58, 178, 106, 0.25);
}

/* Featured badge */
.lmt-featured-badge {
    background: linear-gradient(135deg, #3AB26A, #2a9158);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 16px;
}

/* Card header */
.lmt-card-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid #F0F4F8;
}

.lmt-plan-card.lmt-featured .lmt-card-header {
    background: linear-gradient(135deg, #1A2332 0%, #243447 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lmt-plan-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #94A3B8;
    margin: 0 0 10px;
}

.lmt-plan-card.lmt-featured .lmt-plan-name {
    color: rgba(255,255,255,0.5);
}

.lmt-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin: 0 0 10px;
}

.lmt-price-dollar {
    font-size: 20px;
    font-weight: 700;
    color: #1A2332;
    line-height: 1;
    padding-bottom: 6px;
}

.lmt-plan-card.lmt-featured .lmt-price-dollar {
    color: rgba(255,255,255,0.7);
}

.lmt-price-number {
    font-size: 52px;
    font-weight: 900;
    color: #1A2332;
    line-height: 1;
}

.lmt-plan-card.lmt-featured .lmt-price-number {
    color: #ffffff;
}

.lmt-price-period {
    font-size: 13px;
    color: #94A3B8;
    padding-bottom: 8px;
}

.lmt-plan-card.lmt-featured .lmt-price-period {
    color: rgba(255,255,255,0.4);
}

.lmt-plan-subtitle {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

.lmt-plan-card.lmt-featured .lmt-plan-subtitle {
    color: rgba(255,255,255,0.6);
}

/* Card body */
.lmt-card-body {
    padding: 24px 28px 28px;
}

/* Feature list */
.lmt-feature-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.lmt-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #333333;
    line-height: 1.5;
    padding: 6px 0;
    border-bottom: 1px solid #F5F7FA;
}

.lmt-feature-list li:last-child {
    border-bottom: none;
}

.lmt-feature-list li .lmt-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(58, 178, 106, 0.12);
    color: #3AB26A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 10px;
}

.lmt-feature-list li.lmt-divider {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94A3B8;
    border-bottom: none;
    padding-top: 14px;
    padding-bottom: 2px;
    border-top: 1px solid #F0F4F8;
    margin-top: 4px;
}

.lmt-feature-list li.lmt-divider .lmt-check {
    background: transparent;
    color: #94A3B8;
}

/* CTA button */
.lmt-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.lmt-cta-btn.lmt-btn-outline {
    background: transparent;
    color: #1A2332;
    border: 2px solid #E2E8F0;
}

.lmt-cta-btn.lmt-btn-outline:hover {
    background: #F5F7FA;
    border-color: #CBD5E0;
    color: #1A2332 !important;
}

.lmt-cta-btn.lmt-btn-primary {
    background: linear-gradient(135deg, #3AB26A, #2a9158);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(58, 178, 106, 0.35);
}

.lmt-cta-btn.lmt-btn-primary:hover {
    background: linear-gradient(135deg, #2a9158, #1f7a46);
    box-shadow: 0 6px 20px rgba(58, 178, 106, 0.45);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.lmt-cta-btn.lmt-btn-spotlight {
    background: linear-gradient(135deg, #F4A261, #e8843a);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(244, 162, 97, 0.35);
}

.lmt-cta-btn.lmt-btn-spotlight:hover {
    background: linear-gradient(135deg, #e8843a, #d4692a);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.45);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Bottom note */
.lmt-pricing-footer {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

.lmt-pricing-footer p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 6px;
}

.lmt-pricing-footer a {
    color: #3AB26A;
    text-decoration: none;
}

.lmt-pricing-footer a:hover {
    text-decoration: underline;
}


    padding: 0 20px;/* Force pricing grid layout */
.lmt-pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    align-items: start !important;
    float: none !important;
    width: 100% !important;
}

.lmt-pricing-grid > div {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

/* Fix price display broken by WP converting br tags */
.lmt-plan-price {
    display: flex !important;
    align-items: flex-end !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
}

.lmt-plan-price br {
    display: none !important;
}

/* Remove WordPress auto-inserted paragraph wrappers in pricing page */
.lmt-pricing-wrap p:empty,
.lmt-pricing-wrap > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix founding banner text color */
.lmt-founding-banner,
.lmt-founding-banner p,
.lmt-founding-banner p strong,
.lmt-founding-banner strong,
.lmt-founding-banner * {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.lmt-founding-banner strong {
    color: #F4A261 !important;
    font-weight: 700 !important;
}

/* Downey Thrive universal homepage/listings search test */
.dt-universal-search-wrap .dt-universal-search-input {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
}
/* Thrive dashboard listing action buttons */
/* Keep only the cleaner bottom action row to avoid duplicate button sets. */
.custom-tab-wrapper .dkp_btn {
    display: none !important;
}

.custom-tab-wrapper .mob_btn {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid #edf2f7 !important;
}

.custom-tab-wrapper .thrive-dashboard-view-btn,
.custom-tab-wrapper .thrive-dashboard-edit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 16px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    border: 1px solid transparent !important;
    box-shadow: 0 2px 6px rgba(26,35,50,0.10) !important;
    transition: all 0.18s ease !important;
}

.custom-tab-wrapper .thrive-dashboard-view-btn {
    background: #ffffff !important;
    border-color: #dbe3ea !important;
    color: #1A2332 !important;
}

.custom-tab-wrapper .thrive-dashboard-view-btn:hover {
    background: #F5F7FA !important;
    border-color: #cbd5e1 !important;
    color: #1A2332 !important;
    transform: translateY(-1px) !important;
}

.custom-tab-wrapper .thrive-dashboard-edit-btn {
    background: #3AB26A !important;
    border-color: #3AB26A !important;
    color: #ffffff !important;
}

.custom-tab-wrapper .thrive-dashboard-edit-btn:hover {
    background: #2a9158 !important;
    border-color: #2a9158 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 600px) {
    .custom-tab-wrapper .mob_btn {
        gap: 8px !important;
    }

    .custom-tab-wrapper .thrive-dashboard-view-btn,
    .custom-tab-wrapper .thrive-dashboard-edit-btn {
        width: 100% !important;
        min-height: 42px !important;
    }
}


/* =========================================================
   Thrive Business Dashboard Cards v3
   Full-width business cards
========================================================= */

.thrive-account-listing-card-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    display: block !important;
}

.new-listing-section .row,
.new-listing-section-draft .row {
    width: 100%;
}

.new-listing-section .nl-listing,
.new-listing-section-draft .nl-listing {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin-bottom: 26px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.new-listing-section .nl-listing:hover,
.new-listing-section-draft .nl-listing:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) !important;
}

.new-listing-section .nl-img img,
.new-listing-section-draft .nl-img img {
    width: 100% !important;
    min-height: 150px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.new-listing-section .new-listing-entry h3,
.new-listing-section-draft .new-listing-entry h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.new-listing-section .new-listing-entry h3 a,
.new-listing-section-draft .new-listing-entry h3 a {
    color: #1A2332 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.new-listing-section .nlplink a,
.new-listing-section-draft .nlplink a,
.new-listing-section .cat a,
.new-listing-section-draft .cat a {
    display: inline-block !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin: 4px 6px 8px 0 !important;
    text-decoration: none !important;
}

.thrive-dashboard-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #eef0f3 !important;
}

.thrive-dashboard-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 16px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.thrive-dashboard-actions .thrive-view-listing {
    background: #ffffff !important;
    color: #1A2332 !important;
    border: 1px solid #d9dee7 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.thrive-dashboard-actions .thrive-edit-listing {
    background: #3AB26A !important;
    color: #ffffff !important;
    border: 1px solid #3AB26A !important;
    box-shadow: 0 1px 3px rgba(58,178,106,0.25) !important;
}

.thrive-dashboard-actions a:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
}

@media (max-width: 991px) {
    .new-listing-section .nl-img img,
    .new-listing-section-draft .nl-img img {
        margin-bottom: 16px !important;
        max-height: 260px !important;
    }

    .new-listing-section .new-listing-entry h3 a,
    .new-listing-section-draft .new-listing-entry h3 a {
        font-size: 21px !important;
    }
}


/* =========================================================
   Thrive Dashboard Cards v4 SAFE
   Visual polish only - no risky template restructuring
========================================================= */

/* Give each card a more business-dashboard feel without changing PHP structure */
.new-listing-section .nl-listing,
.new-listing-section-draft .nl-listing {
    position: relative !important;
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 18px !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 14px rgba(26,35,50,0.06) !important;
}

/* Make the inside row behave more like a dashboard card */
.new-listing-section .nl-listing .row,
.new-listing-section-draft .nl-listing .row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
}

/* Visual column */
.new-listing-section .nl-img,
.new-listing-section-draft .nl-img {
    width: 300px !important;
    max-width: 300px !important;
    flex: 0 0 300px !important;
}

/* Image polish */
.new-listing-section .nl-img img,
.new-listing-section-draft .nl-img img {
    width: 100% !important;
    height: 170px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    display: block !important;
}

/* Info column */
.new-listing-section .new-listing-entry,
.new-listing-section-draft .new-listing-entry {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-top: 4px !important;
}

/* Business name */
.new-listing-section .new-listing-entry h3,
.new-listing-section-draft .new-listing-entry h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.new-listing-section .new-listing-entry h3 a,
.new-listing-section-draft .new-listing-entry h3 a {
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #1A2332 !important;
    text-decoration: none !important;
}

/* Listing meta */
.new-listing-section .new-listing-entry p,
.new-listing-section-draft .new-listing-entry p,
.new-listing-section .new-listing-entry li,
.new-listing-section-draft .new-listing-entry li {
    font-size: 15px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* Category chips */
.new-listing-section .nlplink,
.new-listing-section-draft .nlplink {
    margin-top: 12px !important;
}

.new-listing-section .nlplink a,
.new-listing-section-draft .nlplink a,
.new-listing-section .cat a,
.new-listing-section-draft .cat a {
    display: inline-block !important;
    background: #f4f7fb !important;
    color: #374151 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin: 4px 6px 8px 0 !important;
    text-decoration: none !important;
}

/* Keep current working button row */
.thrive-dashboard-actions {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid #edf0f5 !important;
}

/* Mobile stack */
@media (max-width: 991px) {
    .new-listing-section .nl-listing .row,
    .new-listing-section-draft .nl-listing .row {
        display: block !important;
    }

    .new-listing-section .nl-img,
    .new-listing-section-draft .nl-img {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 18px !important;
    }

    .new-listing-section .nl-img img,
    .new-listing-section-draft .nl-img img {
        height: auto !important;
        max-height: 260px !important;
    }

    .new-listing-section .new-listing-entry h3 a,
    .new-listing-section-draft .new-listing-entry h3 a {
        font-size: 22px !important;
    }
}


/* =========================================================
   Thrive Dashboard Clean Cards v7
   Direct clean card structure via safe front-end rewrite
========================================================= */

.thrive-clean-card-ready {
    background: #ffffff !important;
    border: 1px solid #dfe6ef !important;
    border-radius: 18px !important;
    padding: 26px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 5px 18px rgba(26,35,50,0.06) !important;
}

.thrive-clean-card-top {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) 230px !important;
    gap: 28px !important;
    align-items: start !important;
}

.thrive-clean-card-image .nl-img,
.thrive-clean-card-image .nl-img a {
    display: block !important;
    width: 100% !important;
}

.thrive-clean-card-image img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    display: block !important;
}

.thrive-clean-card-info .new-listing-entry {
    padding: 0 !important;
    margin: 0 !important;
}

.thrive-clean-card-info h3 {
    margin: 0 0 14px 0 !important;
}

.thrive-clean-card-info h3 a {
    color: #1A2332 !important;
    font-size: 28px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.thrive-clean-card-info address,
.thrive-clean-card-info .nl-info,
.thrive-clean-card-info .nl-info a {
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #4b5563 !important;
    text-decoration: none !important;
}

.thrive-status-panel {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.thrive-status-pill {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.thrive-status-active {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.thrive-status-editable {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.thrive-status-note {
    display: block !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    margin-top: 4px !important;
}

.thrive-clean-card-bottom {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid #edf0f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.thrive-clean-card-categories {
    flex: 1 1 auto !important;
    min-width: 240px !important;
}

.thrive-clean-card-categories .category_display {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.thrive-clean-card-categories .category_display .row,
.thrive-clean-card-categories .category_display .col-md-9,
.thrive-clean-card-categories .category_display .col-6,
.thrive-clean-card-categories .category_display .col-md-4 {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

.thrive-clean-card-categories a.nlplink {
    display: inline-block !important;
    margin: 0 8px 8px 0 !important;
    background: transparent !important;
}

.thrive-clean-card-categories a.nlplink span {
    display: inline-block !important;
    background: #f4f7fb !important;
    color: #374151 !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.thrive-clean-card-actions {
    flex: 0 0 auto !important;
}

.thrive-clean-card-actions .dkp_btn {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
}

.thrive-clean-card-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 10px 16px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.thrive-clean-card-actions .thrive-dashboard-view-btn {
    background: #ffffff !important;
    color: #1A2332 !important;
    border: 1px solid #d9dee7 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.thrive-clean-card-actions .thrive-dashboard-edit-btn {
    background: #3AB26A !important;
    color: #ffffff !important;
    border: 1px solid #3AB26A !important;
    box-shadow: 0 1px 3px rgba(58,178,106,0.25) !important;
}

.thrive-clean-card-actions a:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
}

/* Hide leftover mobile button source once card is rebuilt */
.thrive-clean-card-ready .mob_btn {
    display: none !important;
}

@media (max-width: 991px) {
    .thrive-clean-card-top {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .thrive-clean-card-image img {
        height: auto !important;
        max-height: 260px !important;
    }

    .thrive-clean-card-info h3 a {
        font-size: 23px !important;
    }

    .thrive-clean-card-bottom {
        align-items: stretch !important;
    }

    .thrive-clean-card-actions,
    .thrive-clean-card-actions .dkp_btn {
        width: 100% !important;
    }

    .thrive-clean-card-actions a {
        flex: 1 1 auto !important;
    }
}


/* =========================================================
   Thrive Visibility Readiness v1
========================================================= */

.thrive-visibility-panel {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 16px !important;
}

.thrive-panel-label {
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}

.thrive-profile-count {
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    color: #1A2332 !important;
    margin-bottom: 12px !important;
}

.thrive-check-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.thrive-check-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.thrive-check-icon {
    flex: 0 0 auto !important;
    font-weight: 900 !important;
}

.thrive-check-item.is-complete {
    color: #166534 !important;
}

.thrive-check-item.is-complete .thrive-check-icon {
    color: #16a34a !important;
}

.thrive-check-item.is-missing {
    color: #64748b !important;
}

.thrive-check-item.is-missing .thrive-check-icon {
    color: #94a3b8 !important;
}

.thrive-panel-divider {
    height: 1px !important;
    background: #e5e7eb !important;
    margin: 14px 0 !important;
}

@media (max-width: 991px) {
    .thrive-visibility-panel {
        width: 100% !important;
    }

    .thrive-profile-count {
        font-size: 18px !important;
    }
}


/* =========================================================
   Thrive Visibility Refinements v9
========================================================= */

.thrive-profile-count-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.thrive-profile-subcount {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-align: right !important;
}

.thrive-progress-bar-wrap {
    position: relative !important;
    width: 100% !important;
    height: 10px !important;
    background: #e5e7eb !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
}

.thrive-progress-bar-fill {
    height: 100% !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #3AB26A 0%, #4fd182 100%) !important;
    transition: width 0.3s ease !important;
}

.thrive-next-step {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    font-weight: 700 !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
}

@media (max-width: 991px) {
    .thrive-profile-count-row {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .thrive-profile-subcount {
        text-align: left !important;
    }
}


/* =========================================================
   Thrive Dashboard Overview Header v10
========================================================= */

.thrive-dashboard-overview {
    background: linear-gradient(135deg, #1A2332 0%, #243249 100%) !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 28px 30px !important;
    margin: 10px 0 28px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    box-shadow: 0 8px 24px rgba(26,35,50,0.14) !important;
}

.thrive-dashboard-overview-main {
    max-width: 680px !important;
}

.thrive-dashboard-eyebrow {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #3AB26A !important;
    margin-bottom: 8px !important;
}

.thrive-dashboard-overview h2 {
    color: #ffffff !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
}

.thrive-dashboard-overview p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.thrive-dashboard-overview-actions {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}

.thrive-overview-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 11px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.thrive-overview-btn-primary {
    background: #3AB26A !important;
    color: #ffffff !important;
    border: 1px solid #3AB26A !important;
}

.thrive-overview-btn-secondary {
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
}

.thrive-overview-btn:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .thrive-dashboard-overview {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px !important;
    }

    .thrive-dashboard-overview h2 {
        font-size: 24px !important;
    }

    .thrive-dashboard-overview-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .thrive-overview-btn {
        flex: 1 1 auto !important;
    }
}


/* =========================================================
   Thrive Dashboard Summary Stats v11
========================================================= */

.thrive-dashboard-overview-side {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: flex-end !important;
}

.thrive-dashboard-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(95px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 360px !important;
}

.thrive-dashboard-stat {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    border-radius: 14px !important;
    padding: 13px 14px !important;
    text-align: left !important;
}

.thrive-stat-label {
    display: block !important;
    color: rgba(255,255,255,0.68) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    margin-bottom: 6px !important;
}

.thrive-stat-value {
    display: block !important;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.thrive-dashboard-overview-side .thrive-dashboard-overview-actions {
    width: 100% !important;
}

@media (max-width: 991px) {
    .thrive-dashboard-overview-side {
        width: 100% !important;
        align-items: stretch !important;
    }

    .thrive-dashboard-stats {
        min-width: 0 !important;
        grid-template-columns: 1fr !important;
    }

    .thrive-dashboard-overview-side .thrive-dashboard-overview-actions {
        justify-content: flex-start !important;
    }
}

/* Thrive Dashboard v12: live stats includes approved claimed listings. */


/* =========================================================
   Thrive Dashboard Quick Actions v12
   Built on v11.1 live stats baseline
========================================================= */

.thrive-dashboard-overview {
    flex-wrap: wrap !important;
}

.thrive-dashboard-quick-actions {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
}

.thrive-quick-actions-label {
    color: rgba(255,255,255,0.68) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 12px !important;
}

.thrive-quick-actions-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

.thrive-quick-action-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    padding: 14px 15px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    min-height: 58px !important;
}

.thrive-quick-action-card:hover {
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,0.09) !important;
    border-color: rgba(255,255,255,0.22) !important;
    text-decoration: none !important;
}

.thrive-quick-action-primary {
    background: rgba(58,178,106,0.16) !important;
    border-color: rgba(58,178,106,0.35) !important;
}

.thrive-quick-action-primary:hover {
    background: rgba(58,178,106,0.22) !important;
}

.thrive-quick-action-icon {
    font-size: 20px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

.thrive-quick-action-text {
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

@media (max-width: 991px) {
    .thrive-quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

@media (max-width: 640px) {
    .thrive-quick-actions-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Thrive Dashboard v12.1
   Overview header wrap fix
========================================================= */

/* Keep the welcome text and stat cards on one row at normal desktop widths */
.thrive-dashboard-overview {
    align-items: flex-start !important;
}

.thrive-dashboard-overview-main {
    flex: 1 1 420px !important;
    min-width: 0 !important;
    max-width: none !important;
}

.thrive-dashboard-overview-side {
    flex: 0 0 390px !important;
    max-width: 390px !important;
    min-width: 360px !important;
}

.thrive-dashboard-stats {
    min-width: 0 !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.thrive-dashboard-stat {
    padding: 12px 12px !important;
}

.thrive-stat-label {
    font-size: 9px !important;
    letter-spacing: 0.055em !important;
}

.thrive-stat-value {
    font-size: 23px !important;
}

/* Quick actions remain full-width underneath */
.thrive-dashboard-quick-actions {
    flex-basis: 100% !important;
}

/* Only stack the header once the screen is actually narrow */
@media (max-width: 860px) {
    .thrive-dashboard-overview {
        flex-direction: column !important;
    }

    .thrive-dashboard-overview-main,
    .thrive-dashboard-overview-side {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    .thrive-dashboard-stats {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Thrive Visibility Opportunities v13
========================================================= */

.thrive-dashboard-opportunities {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    padding: 22px !important;
    margin: 0 0 26px 0 !important;
    box-shadow: 0 3px 14px rgba(26,35,50,0.05) !important;
}

.thrive-opportunities-heading {
    margin-bottom: 16px !important;
}

.thrive-opportunities-eyebrow {
    display: inline-block !important;
    color: #3AB26A !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 6px !important;
}

.thrive-opportunities-heading h3 {
    color: #1A2332 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.thrive-opportunities-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.thrive-opportunity-card {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 15px !important;
}

.thrive-opportunity-success {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.thrive-opportunity-action {
    background: #fffbeb !important;
    border-color: #fde68a !important;
}

.thrive-opportunity-neutral {
    background: #f8fafc !important;
    border-color: #e5e7eb !important;
}

.thrive-opportunity-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.thrive-opportunity-card strong {
    display: block !important;
    color: #1A2332 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin-bottom: 5px !important;
}

.thrive-opportunity-card p {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .thrive-opportunities-list {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Thrive Dashboard v14
   Business-specific card actions
========================================================= */

.thrive-card-business-actions {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid #edf0f5 !important;
}

.thrive-card-business-actions-label {
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 12px !important;
}

.thrive-card-business-actions-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.thrive-card-business-action {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 48px !important;
    padding: 11px 13px !important;
    border-radius: 13px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1A2332 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    transition: all 0.2s ease !important;
}

.thrive-card-business-action:hover {
    transform: translateY(-1px) !important;
    background: #ffffff !important;
    border-color: #d8dee8 !important;
    box-shadow: 0 3px 10px rgba(26,35,50,0.07) !important;
    text-decoration: none !important;
    color: #1A2332 !important;
}

.thrive-card-business-action-primary {
    background: #ecfdf3 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.thrive-card-business-action-primary:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

.thrive-card-business-action-icon {
    font-size: 17px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

@media (max-width: 991px) {
    .thrive-card-business-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .thrive-card-business-actions-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Thrive Structured Edit Experience v15
========================================================= */
.thrive-edit-page .inner {
    max-width: 1120px !important;
}

.thrive-edit-dashboard-header {
    background: linear-gradient(135deg, #1A2332 0%, #243249 100%) !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 28px 30px !important;
    margin: 0 0 24px 0 !important;
    box-shadow: 0 8px 24px rgba(26,35,50,0.14) !important;
}

.thrive-edit-eyebrow {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #3AB26A !important;
    margin-bottom: 8px !important;
}

.thrive-edit-dashboard-header h2 {
    color: #ffffff !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
}

.thrive-edit-dashboard-header p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.thrive-edit-section-nav {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin: 0 0 22px 0 !important;
    box-shadow: 0 3px 12px rgba(26,35,50,0.04) !important;
}

.thrive-edit-section-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #1A2332 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.thrive-edit-section-nav a:hover {
    background: #ecfdf3 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
    text-decoration: none !important;
}

.thrive-edit-section-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    overflow: hidden !important;
    box-shadow: 0 3px 14px rgba(26,35,50,0.05) !important;
}

.thrive-edit-section-heading {
    background: #f8fafc !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 20px 22px !important;
}

.thrive-edit-section-heading span {
    display: inline-block !important;
    color: #3AB26A !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 6px !important;
}

.thrive-edit-section-heading h3 {
    color: #1A2332 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin: 0 0 5px 0 !important;
}

.thrive-edit-section-heading p {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.thrive-edit-section-body {
    padding: 22px !important;
}

.thrive-edit-section-card .acf-field {
    padding: 16px 0 !important;
    border-top: 1px solid #edf0f5 !important;
}

.thrive-edit-section-card .acf-field:first-child {
    border-top: none !important;
    padding-top: 0 !important;
}

.thrive-edit-save-panel {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 24px !important;
    box-shadow: 0 -4px 18px rgba(26,35,50,0.08) !important;
    text-align: right !important;
}

.thrive-edit-save-panel .acf-button {
    background: #3AB26A !important;
    border-color: #3AB26A !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 22px !important;
    font-weight: 800 !important;
    min-height: 44px !important;
}

@media (max-width: 768px) {
    .thrive-edit-dashboard-header { padding: 24px !important; }
    .thrive-edit-dashboard-header h2 { font-size: 24px !important; }
    .thrive-edit-section-nav { flex-direction: column !important; }
    .thrive-edit-section-nav a { width: 100% !important; justify-content: flex-start !important; }
    .thrive-edit-save-panel { text-align: center !important; }
    .thrive-edit-save-panel .acf-button { width: 100% !important; }
}


/* =========================================================
   Thrive Dashboard v16
   Connected Edit Workflows + Section Save Buttons
========================================================= */

.thrive-section-save-row {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid #edf0f5 !important;
}

.thrive-section-save-button {
    appearance: none !important;
    border: 1px solid #3AB26A !important;
    background: #3AB26A !important;
    color: #ffffff !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(58,178,106,0.20) !important;
    transition: all 0.2s ease !important;
}

.thrive-section-save-button:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
    box-shadow: 0 4px 12px rgba(58,178,106,0.28) !important;
}

.thrive-section-active-highlight {
    outline: 3px solid rgba(58,178,106,0.35) !important;
    box-shadow: 0 8px 28px rgba(58,178,106,0.14) !important;
    transition: all 0.25s ease !important;
}

@media (max-width: 640px) {
    .thrive-section-save-row {
        justify-content: stretch !important;
    }

    .thrive-section-save-button {
        width: 100% !important;
    }
}


/* =========================================================
   Thrive v16.1
   Exact edit anchors + section save buttons
========================================================= */

.thrive-section-save-row {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid #edf0f5 !important;
}

.thrive-section-save-button {
    appearance: none !important;
    border: 1px solid #3AB26A !important;
    background: #3AB26A !important;
    color: #ffffff !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(58,178,106,0.20) !important;
    transition: all 0.2s ease !important;
}

.thrive-section-save-button:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
    box-shadow: 0 4px 12px rgba(58,178,106,0.28) !important;
}

.thrive-section-active-highlight {
    outline: 3px solid rgba(58,178,106,0.35) !important;
    box-shadow: 0 8px 28px rgba(58,178,106,0.14) !important;
    transition: all 0.25s ease !important;
}

@media (max-width: 640px) {
    .thrive-section-save-row {
        justify-content: stretch !important;
    }

    .thrive-section-save-button {
        width: 100% !important;
    }
}


/* =========================================================
   Thrive v16.2
   Hide empty leftover edit-page wrappers
========================================================= */

.thrive-empty-hidden,
.thrive-edit-page .acf-fields:empty,
.thrive-edit-page .acf-field:empty,
.thrive-edit-page .thrive-edit-section-card:empty,
.thrive-edit-page .thrive-edit-section-body:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* If the original ACF field container is left empty after fields are moved, don't let it occupy sticky/blank space. */
.thrive-edit-page #acf-form > .acf-fields:not(:has(.acf-field)) {
    display: none !important;
}

/* Defensive rule for empty white panels near the bottom of the edit page */
.thrive-edit-page .acf-fields > .acf-field[style*="display: none"] {
    display: none !important;
}


/* =========================================================
   Thrive v16.3
   Bottom save panel positioning fix
========================================================= */

/* The original ACF submit panel should sit normally at the bottom, not float/stick while scrolling. */
.thrive-edit-page .acf-form-submit.thrive-edit-save-panel,
.thrive-edit-page #acf-form .acf-form-submit.thrive-edit-save-panel {
    position: static !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 18px !important;
    margin: 24px 0 0 0 !important;
    box-shadow: 0 3px 14px rgba(26,35,50,0.05) !important;
    min-height: 0 !important;
}

/* Keep the actual Update button styled cleanly. */
.thrive-edit-page .acf-form-submit.thrive-edit-save-panel input[type="submit"],
.thrive-edit-page #acf-form .acf-form-submit.thrive-edit-save-panel input[type="submit"] {
    background: #3AB26A !important;
    border-color: #3AB26A !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    min-height: 40px !important;
}

/* Prevent any inherited sticky/fixed behavior from parent theme submit wrappers. */
.thrive-edit-page .acf-form-submit,
.thrive-edit-page .acf-form-submit * {
    position: relative !important;
}

.thrive-edit-page .acf-spinner {
    position: static !important;
}

@media (max-width: 640px) {
    .thrive-edit-page .acf-form-submit.thrive-edit-save-panel,
    .thrive-edit-page #acf-form .acf-form-submit.thrive-edit-save-panel {
        justify-content: stretch !important;
    }

    .thrive-edit-page .acf-form-submit.thrive-edit-save-panel input[type="submit"],
    .thrive-edit-page #acf-form .acf-form-submit.thrive-edit-save-panel input[type="submit"] {
        width: 100% !important;
    }
}

/* Thrive Dashboard/Edit v17 incremental navigation polish */
.thrive-edit-section-nav a.thrive-active-section-link {
    background: #1A2332 !important;
    color: #ffffff !important;
    border-color: #1A2332 !important;
}

.thrive-quick-action-card[href="#"] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* =========================================================
   Thrive v17.2
   Smarter quick-action landing highlights
========================================================= */
.thrive-edit-page .thrive-edit-section-card.thrive-section-focus-active {
    border-color: rgba(58,178,106,0.45) !important;
}

.thrive-section-focus-notice {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 24px 20px 24px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(58,178,106,0.24) !important;
    border-left: 5px solid #3AB26A !important;
    border-radius: 12px !important;
    background: #f0fbf5 !important;
    color: #1A2332 !important;
    box-shadow: 0 6px 18px rgba(26,35,50,0.06) !important;
    opacity: 1 !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.thrive-section-focus-notice strong {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #1A2332 !important;
}

.thrive-section-focus-notice span {
    display: block !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #475569 !important;
}

.thrive-section-focus-notice.thrive-section-focus-notice-fade {
    opacity: 0.72 !important;
}

@media (max-width: 640px) {
    .thrive-section-focus-notice {
        margin: 0 16px 16px 16px !important;
    }
}


/* =========================================================
   Thrive v17.3
   Basic uploader polish for front-end listing edits
========================================================= */

.thrive-edit-page .acf-basic-uploader input[type="file"],
.thrive-edit-page input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    color: #334155 !important;
}

.thrive-edit-page .acf-basic-uploader {
    margin-top: 8px !important;
}

/* =========================================================
   Thrive v17.4
   Business Owner Gallery / Photos UX Cleanup
========================================================= */

.thrive-edit-page #thrive-edit-photos-media .thrive-edit-section-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.thrive-edit-page #thrive-edit-photos-media .thrive-photo-upload-guide,
.thrive-edit-page #thrive-edit-photos-media .thrive-gallery-placeholder,
.thrive-edit-page #thrive-edit-photos-media .acf-field-5a2fb52e6ede3,
.thrive-edit-page #thrive-edit-photos-media .acf-field-5a2fb53e6ede4 {
    grid-column: 1 / -1 !important;
}

.thrive-photo-upload-guide,
.thrive-gallery-placeholder {
    padding: 16px 18px !important;
    border: 1px solid #dbeafe !important;
    background: #eff6ff !important;
    border-radius: 16px !important;
    color: #1A2332 !important;
}

.thrive-photo-upload-guide strong,
.thrive-gallery-placeholder strong {
    display: block !important;
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #1A2332 !important;
}

.thrive-photo-upload-guide ul {
    margin: 0 !important;
    padding-left: 18px !important;
}

.thrive-photo-upload-guide li,
.thrive-gallery-placeholder span {
    display: list-item !important;
    margin: 4px 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #475569 !important;
}

.thrive-gallery-placeholder span {
    display: block !important;
    margin: 0 !important;
}

.thrive-edit-page #thrive-edit-photos-media .thrive-photo-field-card {
    padding: 18px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05) !important;
}

.thrive-edit-page #thrive-edit-photos-media .thrive-photo-field-card > .acf-label label {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1A2332 !important;
}

.thrive-edit-page #thrive-edit-photos-media .thrive-photo-field-card > .acf-label .description {
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #64748b !important;
}

.thrive-edit-page #thrive-edit-photos-media .acf-image-uploader,
.thrive-edit-page #thrive-edit-photos-media .acf-gallery,
.thrive-edit-page #thrive-edit-photos-media .acf-oembed {
    margin-top: 10px !important;
}

@media (max-width: 760px) {
    .thrive-edit-page #thrive-edit-photos-media .thrive-edit-section-body {
        grid-template-columns: 1fr !important;
    }
}

/* ── Thrive v17.5 — Dynamic Opportunity Card Styles ─────────────────────── */

/* Success state: all fields complete */
.thrive-opportunity-card.thrive-opportunity-success {
    background: #f0faf5;
    border: 1px solid #b7e4cc;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.thrive-opportunity-card.thrive-opportunity-success .thrive-opportunity-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.thrive-opportunity-card.thrive-opportunity-success strong {
    color: #1a6b3c;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.thrive-opportunity-card.thrive-opportunity-success p {
    color: #2d7a4f;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Action state: missing field recommendation */
.thrive-opportunity-card.thrive-opportunity-action {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #F4A261;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
    transition: box-shadow 0.15s ease;
}

.thrive-opportunity-card.thrive-opportunity-action:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.thrive-opportunity-card.thrive-opportunity-action .thrive-opportunity-icon {
    font-size: 18px;
    color: #94A3B8;
    flex-shrink: 0;
    margin-top: 2px;
}

.thrive-opportunity-card.thrive-opportunity-action strong {
    color: #1A2332;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.thrive-opportunity-card.thrive-opportunity-action p {
    color: #64748B;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Tooltip helper text on stat labels */
.thrive-stat-label[title] {
    cursor: help;
    border-bottom: 1px dotted #94A3B8;
}

/* ── END Thrive v17.5 Opportunity Card Styles ────────────────────────────── */

/* ── Thrive v17.6 — Multi-Listing Dashboard Styles ──────────────────────── */

/* Neutral / empty-state opportunity card */
.thrive-opportunity-card.thrive-opportunity-neutral {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94A3B8;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.thrive-opportunity-card.thrive-opportunity-neutral .thrive-opportunity-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.thrive-opportunity-card.thrive-opportunity-neutral strong {
    color: #1A2332;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.thrive-opportunity-card.thrive-opportunity-neutral p {
    color: #64748B;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Four-stat bar: allow wrapping on smaller screens */
.thrive-dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thrive-dashboard-stat {
    flex: 1 1 auto;
    min-width: 80px;
}

@media (max-width: 600px) {
    .thrive-dashboard-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* ── END Thrive v17.6 Multi-Listing Dashboard Styles ─────────────────────── */


/* =========================================================
   Thrive v17.9 — Operational Polish
   Save success banner, card polish, stats bar 4-col
========================================================= */

/* ── Save success banner ──────────────────────────────── */
#thrive-save-success-banner {
    position: fixed !important;
    top: -80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #1A2332 !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 14px 20px !important;
    box-shadow: 0 8px 28px rgba(26,35,50,0.22) !important;
    min-width: 280px !important;
    max-width: 520px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    white-space: nowrap !important;
}

#thrive-save-success-banner.thrive-save-banner-visible {
    top: 24px !important;
}

.thrive-save-success-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    background: #3AB26A !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    flex: 0 0 26px !important;
}

.thrive-save-success-text {
    flex: 1 1 auto !important;
}

.thrive-save-success-close {
    background: none !important;
    border: none !important;
    color: rgba(255,255,255,0.65) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

.thrive-save-success-close:hover {
    color: #ffffff !important;
}

@media (max-width: 600px) {
    #thrive-save-success-banner {
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        max-width: none !important;
        white-space: normal !important;
    }
    #thrive-save-success-banner.thrive-save-banner-visible {
        top: 12px !important;
    }
}

/* ── Dashboard listing card: button row consistency ──── */
/* Desktop: show dkp_btn, hide mob_btn (mirrors parent-theme JS) */
.new-listing-section .dkp_btn,
.new-listing-section-draft .dkp_btn {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #edf0f5 !important;
}

.new-listing-section .dkp_btn a,
.new-listing-section-draft .dkp_btn a {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile: hide dkp_btn, let mob_btn show — prevents duplicate View Details button */
@media (max-width: 991px) {
    .new-listing-section .dkp_btn a,
    .new-listing-section-draft .dkp_btn a {
        display: none !important;
    }
}

/* Address and phone meta spacing */
.new-listing-section .new-listing-entry address,
.new-listing-section-draft .new-listing-entry address,
.new-listing-section .new-listing-entry .nl-info,
.new-listing-section-draft .new-listing-entry .nl-info {
    margin-bottom: 8px !important;
    font-style: normal !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* Visibility score pill on card */
.thrive-card-score-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 999px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #166534 !important;
    margin-bottom: 12px !important;
}

.thrive-card-score-pill.thrive-score-medium {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #92400e !important;
}

.thrive-card-score-pill.thrive-score-low {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

/* ── Stats bar: 4-column support at all widths ────────── */
/* v17.6 added a 4th stat; ensure it doesn't wrap oddly */
.thrive-dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 860px) {
    .thrive-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .thrive-dashboard-stats {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── END Thrive v17.9 Operational Polish ─────────────── */


/* =========================================================
   Thrive v17.9.1 — Listing Card Layout Refinement
   Tighter spacing, better visual balance, improved mobile
========================================================= */

/* ── Card container: tighter padding on smaller screens ── */
.thrive-clean-card-ready {
    padding: 22px !important;
}

/* ── Top grid: tighten gap and reduce image column width
      so the info column gets more breathing room ────────── */
.thrive-clean-card-top {
    grid-template-columns: 240px minmax(0, 1fr) 220px !important;
    gap: 22px !important;
    align-items: start !important;
}

/* ── Image: consistent aspect ratio, no overflow ─────────── */
.thrive-clean-card-image img {
    height: 160px !important;
    border-radius: 12px !important;
}

/* ── Business name: slightly tighter, cleaner line-height ── */
.thrive-clean-card-info h3 {
    margin: 0 0 10px 0 !important;
}

.thrive-clean-card-info h3 a {
    font-size: 24px !important;
    line-height: 1.2 !important;
}

/* ── Address and phone: tighter line spacing ─────────────── */
.thrive-clean-card-info address,
.thrive-clean-card-info .nl-info,
.thrive-clean-card-info .nl-info a {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* ── Visibility panel: cleaner, more integrated look ─────── */
.thrive-visibility-panel {
    background: #f4f7fb !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px !important;
}

.thrive-panel-label {
    font-size: 10px !important;
    letter-spacing: 0.09em !important;
    margin-bottom: 5px !important;
}

.thrive-profile-count {
    font-size: 28px !important;
    margin-bottom: 4px !important;
}

.thrive-profile-subcount {
    font-size: 11px !important;
}

.thrive-progress-bar-wrap {
    height: 8px !important;
    margin-bottom: 12px !important;
}

.thrive-check-list {
    gap: 5px !important;
}

.thrive-check-item {
    font-size: 11.5px !important;
    gap: 6px !important;
}

.thrive-panel-divider {
    margin: 10px 0 !important;
}

.thrive-next-step {
    font-size: 11.5px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
}

/* ── Bottom bar: tighter top margin ──────────────────────── */
.thrive-clean-card-bottom {
    margin-top: 16px !important;
    padding-top: 14px !important;
    gap: 14px !important;
}

/* ── Category tags: tighter pill spacing ─────────────────── */
.thrive-clean-card-categories a.nlplink {
    margin: 0 6px 6px 0 !important;
}

.thrive-clean-card-categories a.nlplink span {
    padding: 5px 11px !important;
    font-size: 11.5px !important;
}

/* ── Business action grid: tighter, more compact ─────────── */
.thrive-card-business-actions {
    margin-top: 16px !important;
    padding-top: 14px !important;
}

.thrive-card-business-actions-grid {
    gap: 8px !important;
}

.thrive-card-business-action {
    min-height: 44px !important;
    padding: 9px 11px !important;
    border-radius: 11px !important;
    font-size: 11.5px !important;
    gap: 7px !important;
}

.thrive-card-business-action-icon {
    font-size: 15px !important;
}

/* ── View/Edit button row: consistent height ─────────────── */
.thrive-clean-card-actions a {
    min-height: 36px !important;
    padding: 9px 15px !important;
    font-size: 12.5px !important;
}

/* ── Mobile: stack cleanly at 860px ──────────────────────── */
@media (max-width: 860px) {
    .thrive-clean-card-ready {
        padding: 18px !important;
    }

    .thrive-clean-card-top {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .thrive-clean-card-image img {
        height: auto !important;
        max-height: 220px !important;
        width: 100% !important;
    }

    .thrive-clean-card-info h3 a {
        font-size: 21px !important;
    }

    .thrive-visibility-panel {
        width: 100% !important;
    }

    .thrive-profile-count {
        font-size: 24px !important;
    }

    .thrive-card-business-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    .thrive-clean-card-ready {
        padding: 14px !important;
    }

    .thrive-clean-card-info h3 a {
        font-size: 19px !important;
    }

    .thrive-card-business-actions-grid {
        grid-template-columns: 1fr !important;
    }

    .thrive-clean-card-bottom {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .thrive-clean-card-actions,
    .thrive-clean-card-actions .dkp_btn {
        width: 100% !important;
    }

    .thrive-clean-card-actions a {
        flex: 1 1 auto !important;
    }
}

/* ── END Thrive v17.9.1 Card Layout Refinement ───────────── */

/* ── BEGIN Thrive v18.2 Dashboard Card Layout Refactor ───────────────────── */

/* ── Row 1: Top row three-column layout ─────────────────────────────────── */
.thrive-clean-card-top {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    min-height: 0;
}

.thrive-clean-card-image {
    flex: 0 0 120px;
    max-width: 120px;
    overflow: hidden;
    border-radius: 8px 0 0 0;
    background: #f0f4f8;
}

.thrive-clean-card-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.thrive-clean-card-info {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.thrive-clean-card-status {
    flex: 0 0 180px;
    max-width: 180px;
    border-left: 1px solid #eef1f5;
    background: #f8fafc;
    border-radius: 0 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ── Compact Visibility Panel ────────────────────────────────────────────── */
.thrive-visibility-panel-compact {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    box-sizing: border-box;
}

/* Score ring + meta row */
.thrive-vp-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.thrive-vp-ring {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: conic-gradient(var(--score-color, #3AB26A) 0% var(--pct, 100%), #e8edf2 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thrive-vp-ring::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
}

.thrive-vp-ring-pct {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    color: #1A2332;
    line-height: 1;
}

.thrive-vp-score-meta {
    flex: 1 1 0;
    min-width: 0;
}

/* Next step hint — compact single line */
.thrive-next-step-sm {
    font-size: 11px;
    color: #64748B;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Collapsible checklist */
.thrive-vp-details {
    margin-top: 4px;
}

.thrive-vp-summary {
    font-size: 11px;
    font-weight: 600;
    color: #3AB26A;
    cursor: pointer;
    list-style: none;
    padding: 2px 0;
    outline: none;
}

.thrive-vp-summary::-webkit-details-marker { display: none; }
.thrive-vp-summary::before { content: '+ '; }
details[open] .thrive-vp-summary::before { content: '- '; }

.thrive-check-list-sm .thrive-check-item {
    font-size: 11px;
    padding: 2px 0;
    gap: 5px;
}

.thrive-check-list-sm .thrive-check-icon {
    font-size: 10px;
    width: 14px;
    height: 14px;
}

/* ── Row 2: Quick actions — compact full-width strip ─────────────────────── */
.thrive-card-business-actions-v2 {
    border-top: 1px solid #eef1f5;
    padding: 10px 14px;
    background: #ffffff;
}

.thrive-card-business-actions-v2 .thrive-card-business-actions-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 7px;
}

.thrive-card-business-actions-v2 .thrive-card-business-actions-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.thrive-card-business-actions-v2 .thrive-card-business-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
    line-height: 1.3;
}

.thrive-card-business-actions-v2 .thrive-card-business-action:hover {
    background: #e8edf2;
    border-color: #cbd5e0;
    color: #1A2332 !important;
}

.thrive-card-business-actions-v2 .thrive-card-business-action-primary {
    background: #1A2332;
    border-color: #1A2332;
    color: #ffffff !important;
}

.thrive-card-business-actions-v2 .thrive-card-business-action-primary:hover {
    background: #243447;
    border-color: #243447;
    color: #ffffff !important;
}

.thrive-card-business-actions-v2 .thrive-card-business-action-icon {
    font-size: 13px;
    line-height: 1;
}

/* ── Row 3: Categories + View/Edit buttons ───────────────────────────────── */
.thrive-clean-card-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 14px 10px;
    border-top: 1px solid #eef1f5;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
}

.thrive-clean-card-categories {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.thrive-clean-card-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
    align-items: center;
}

.thrive-clean-card-actions .dkp_btn {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}

.thrive-clean-card-actions a {
    white-space: nowrap;
}

/* ── Mobile responsive: stack all rows vertically ────────────────────────── */
@media (max-width: 767px) {
    .thrive-clean-card-top {
        flex-direction: column;
    }

    .thrive-clean-card-image {
        flex: 0 0 auto;
        max-width: 100%;
        border-radius: 8px 8px 0 0;
    }

    .thrive-clean-card-image img {
        height: 160px;
        width: 100%;
    }

    .thrive-clean-card-status {
        flex: 0 0 auto;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #eef1f5;
        border-radius: 0;
    }

    .thrive-card-business-actions-v2 .thrive-card-business-actions-grid {
        gap: 6px;
    }

    .thrive-card-business-actions-v2 .thrive-card-business-action {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
    }

    .thrive-clean-card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .thrive-clean-card-actions {
        width: 100%;
    }

    .thrive-clean-card-actions .dkp_btn {
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .thrive-clean-card-actions a {
        flex: 1 1 auto !important;
        text-align: center;
    }
}

/* ── END Thrive v18.2 Dashboard Card Layout Refactor ─────────────────────── */
