@charset "utf-8";
/*
Theme Name: Aryan Child
Theme URI: http://exactthemes.com/aryan/
Description: Aryan - Listing & Directory WordPress Theme
Author: Exact Themes
Author URL: http://exactthemes.com
Version: 1.4
License:
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: featured-images, theme-options
Tested up to: 5.5.8.1
Requires PHP: 7.0
Template:     aryan
Text Domain: aryanchild
*/

/* Hero/Banner Section - Half Height */
.et-home-slider {
    height: 700px !important;
}

@media (max-width: 768px) {
    .et-home-slider {
        height: 400px !important;
    }
}

/* Hide preloader completely */
.et-preloader,
.preloader,
#preloader,
.loader,
#loader,
.page-loader,
.site-preloader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: transparent !important;
}

/* Prevent red flash during page load */
body.loading,
body.et-loading,
html.loading {
    background-color: #ffffff !important;
}

/* =============================================
   Listing Detail Page - Card Borders
   ============================================= */

/* Add border to all card sections on listing detail */
.et-content-tabs .card.card-border-radius {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.et-content-tabs .card.card-border-radius:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Sidebar widgets on listing detail */
.et-content-tabs .sidebar-widget,
.et-content-tabs .widget {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Review section card */
.et-content-tabs #pills-reviews .card {
    border: 1px solid #e2e8f0 !important;
}

/* Contact info / business hours cards */
.et-content-tabs .listing-detail-contact,
.et-content-tabs .listing-detail-hours {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


/* =============================================
   BizScoreAI Business Profile Page
   Business-first. AI Score is a subtle hook.
   ============================================= */

.bsai-profile {
    background: #f5f6f8;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* ---- Hero: Clean identity bar ---- */
.bsai-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 0;
    color: #fff;
}

.bsai-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bsai-hero-identity {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.bsai-logo {
    width: 180px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.bsai-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bsai-logo-placeholder {
    font-size: 2rem;
    color: #ccc;
}

.bsai-hero-text {
    flex: 1;
    min-width: 0;
}

.bsai-business-name, .bsai-hero h1.bsai-business-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
    color: #ffffff !important;
}

.bsai-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.bsai-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bsai-badge-cat { background: #f0f0f5; color: #444; }
.bsai-badge-loc { background: #ff0036; color: #fff; }
.bsai-badge-verified { background: #28a745; color: #fff; }

.bsai-sidebar-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bsai-tagline, .bsai-hero .bsai-tagline {
    color: #ffffff !important;
    font-size: 0.85rem;
    margin: 4px 0 0;
    line-height: 1.3;
}

/* Hero action buttons: compact pills */
.bsai-hero-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bsai-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.bsai-btn-call {
    background: #2563eb;
    color: #fff;
}
.bsai-btn-call:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
}

.bsai-btn-web {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.bsai-btn-web:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-1px);
}

.bsai-btn-dir {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.bsai-btn-dir:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-1px);
}

.bsai-btn-email {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.bsai-btn-email:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Main layout ---- */
.bsai-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px;
}

.bsai-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

/* ---- Cards ---- */
.bsai-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    border: 1px solid #e8eaed;
    border-top: 3px solid #6366f1;
}

.bsai-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsai-card h2 i {
    color: #FF0036;
    font-size: 0.95rem;
}

/* ---- Description ---- */
.bsai-description {
    line-height: 1.8;
    color: #444;
    font-size: 0.93rem;
}

.bsai-description p { margin-bottom: 12px; }

/* ---- Selling Points ---- */
.bsai-selling-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bsai-selling-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #374151;
}

.bsai-selling-points i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---- Reviews ---- */
.bsai-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 14px;
}

.bsai-review-score {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.bsai-review-stars { color: #ffc107; font-size: 1rem; margin-bottom: 2px; }
.bsai-review-count { color: #666; font-size: 0.82rem; }

/* ---- Map ---- */
.bsai-map-wrap {    border-radius: 8px;    overflow: hidden;}.bsai-static-map {    width: 100%;    height: 280px;    background-size: cover;    background-position: center;    background-repeat: no-repeat;    border-radius: 8px;    cursor: pointer;}

/* ---- AI Score Teaser Card (subtle, after business content) ---- */
.bsai-score-teaser {
    border-left: 3px solid #667eea;
    background: linear-gradient(135deg, #fafbff 0%, #f5f6ff 100%);
}

.bsai-score-teaser h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 4px;
}

.bsai-score-teaser h2 i {
    color: #667eea;
}

.bsai-score-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bsai-score-teaser-left { flex: 1; }

.bsai-score-teaser-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.bsai-score-mini-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid #667eea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
}

.bsai-score-mini-circle[data-tier="high"] { border-color: #10b981; }
.bsai-score-mini-circle[data-tier="medium"] { border-color: #f59e0b; }
.bsai-score-mini-circle[data-tier="low"] { border-color: #f97316; }
.bsai-score-mini-circle[data-tier="critical"] { border-color: #ef4444; }

.bsai-score-mini-num {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #1a1a2e;
}

.bsai-score-mini-max {
    font-size: 0.65rem;
    color: #9ca3af;
}

.bsai-score-rank {
    color: #92400e;
    background: #fef3c7;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: inline-block;
}

.bsai-score-rank i { color: #d97706; margin-right: 4px; }

.bsai-score-metrics {
    margin-bottom: 8px;
}

.bsai-score-metric-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.bsai-score-metric-label {
    width: 100px;
    font-size: 0.74rem;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1;
}

.bsai-score-bar {
    flex: 1;
    height: 5px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    min-width: 60px;
}

.bsai-score-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.bsai-score-bar-fill.reputation { background: linear-gradient(90deg, #667eea, #764ba2); }
.bsai-score-bar-fill.presence { background: linear-gradient(90deg, #10b981, #059669); }
.bsai-score-bar-fill.visibility { background: linear-gradient(90deg, #f59e0b, #d97706); }
.bsai-score-bar-fill.competitive { background: linear-gradient(90deg, #3b82f6, #2563eb); }

.bsai-score-metric-val {
    width: 28px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
    text-align: right;
    flex-shrink: 0;
    line-height: 1;
}

.bsai-score-tips {
    background: #f0f1ff;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.bsai-score-tips h4 {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: #374151;
    font-weight: 600;
}

.bsai-score-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: #4b5563;
    line-height: 1.4;
}

.bsai-score-tip:last-child { margin-bottom: 0; }

.bsai-score-tip-pts {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bsai-score-cta {
    text-align: center;
    margin-bottom: 8px;
}

.bsai-score-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bsai-score-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    color: #fff !important;
}

.bsai-score-powered {
    text-align: center;
    font-size: 0.68rem;
    color: #9ca3af;
    margin-top: 8px;
}

/* ---- Sidebar: Contact List ---- */
.bsai-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bsai-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.bsai-contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.bsai-contact-list i { width: 16px; color: #FF0036; margin-top: 3px; flex-shrink: 0; }
.bsai-contact-list a { color: #2563eb; text-decoration: none; }
.bsai-contact-list a:hover { text-decoration: underline; }

/* ---- Hours ---- */
.bsai-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bsai-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.83rem;
}

.bsai-hours-list li:last-child { border-bottom: none; }
.bsai-hours-day { font-weight: 600; color: #333; }
.bsai-hours-time { color: #666; }

/* ---- Social ---- */
.bsai-social-links { display: flex; flex-wrap: wrap; gap: 8px; }

.bsai-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #555;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.bsai-social:hover { transform: translateY(-2px); }
.bsai-social.facebook:hover { background: #1877f2; color: #fff; }
.bsai-social.linkedin:hover { background: #0a66c2; color: #fff; }
.bsai-social.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.bsai-social.twitter:hover { background: #1da1f2; color: #fff; }
.bsai-social.youtube:hover { background: #ff0000; color: #fff; }

/* ---- Claim Card ---- */
.bsai-claim-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fed7aa;
    text-align: center;
}

.bsai-claim-icon { font-size: 1.6rem; color: #ea580c; margin-bottom: 6px; }

.bsai-claim-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #9a3412;
    margin: 0 0 6px;
}

.bsai-claim-card p {
    font-size: 0.8rem;
    color: #78350f;
    margin: 0 0 12px;
    line-height: 1.4;
}

.bsai-claim-btn {
    display: inline-block;
    background: #ea580c;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: background 0.2s;
}

.bsai-claim-btn:hover { background: #c2410c; color: #fff !important; }

/* ---- Lead Form ---- */
.bsai-form-group { margin-bottom: 10px; }

.bsai-lead-form input[type="text"],
.bsai-lead-form input[type="email"],
.bsai-lead-form input[type="tel"],
.bsai-lead-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fafafa;
}

.bsai-lead-form input:focus,
.bsai-lead-form textarea:focus {
    border-color: #667eea;
    outline: none;
    background: #fff;
}

.bsai-lead-form textarea { resize: vertical; min-height: 60px; }

.bsai-form-submit {
    width: 100%;
    padding: 11px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bsai-form-submit:hover { background: #2d2d4e; }
.bsai-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.bsai-form-status {
    margin-top: 8px;
    font-size: 0.8rem;
    text-align: center;
    min-height: 18px;
}

.bsai-form-status.success { color: #10b981; font-weight: 600; }
.bsai-form-status.error { color: #ef4444; font-weight: 600; }

.bsai-unclaimed-note {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #92400e;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bsai-unclaimed-note i {
    color: #d97706;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .bsai-grid { grid-template-columns: 1fr; }

    .bsai-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bsai-hero-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .bsai-hero { padding: 20px 0; }

    .bsai-hero-identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bsai-hero-badges { justify-content: center; }

    .bsai-hero-actions {
        justify-content: center;
        width: 100%;
    }

    .bsai-hero-btn {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .bsai-business-name, .bsai-hero h1.bsai-business-name { font-size: 1.3rem; }
    .bsai-logo { width: 100px; height: 100px; }
    .bsai-card { padding: 16px; }
    .bsai-main { padding: 16px 12px; }
}

/* Hide old footer-injected score widget */
.bsai-profile ~ #bizscoreai-visibility-score,
.bsai-profile #bizscoreai-visibility-score {
    display: none !important;
}

/* =============================================
   SEO Score Card - Blue accent
   ============================================= */
.bsai-seo-score-card {
    border-left: 3px solid #2196F3;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f5ff 100%);
}

.bsai-seo-score-card h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 4px;
}

.bsai-seo-score-card h2 i {
    color: #2196F3;
}

/* SEO bar fills */
.bsai-score-bar-fill.seo-onpage { background: linear-gradient(90deg, #2196F3, #1976D2); }
.bsai-score-bar-fill.seo-technical { background: linear-gradient(90deg, #42A5F5, #1E88E5); }
.bsai-score-bar-fill.seo-performance { background: linear-gradient(90deg, #66BB6A, #43A047); }
.bsai-score-bar-fill.seo-content { background: linear-gradient(90deg, #AB47BC, #8E24AA); }

/* =============================================
   Local SEO Coverage Card - Green accent
   ============================================= */
.bsai-local-seo-card {
    border-left: 3px solid #4CAF50;
    background: linear-gradient(135deg, #f6fdf6 0%, #f0f9f0 100%);
}

.bsai-local-seo-card h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 4px;
}

.bsai-local-seo-card h2 i {
    color: #4CAF50;
}

/* Local SEO bar fills */
.bsai-score-bar-fill.local-coverage { background: linear-gradient(90deg, #4CAF50, #388E3C); }
.bsai-score-bar-fill.local-accuracy { background: linear-gradient(90deg, #66BB6A, #43A047); }
.bsai-score-bar-fill.local-consistency { background: linear-gradient(90deg, #81C784, #66BB6A); }

/* Directories found badge */
.bsai-directories-found {
    background: #e8f5e9;
    color: #2E7D32;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsai-directories-found i { color: #4CAF50; }

/* =============================================
   Empty score circle (question mark)
   ============================================= */
.bsai-score-empty {
    border-color: #d1d5db;
    border-style: dashed;
}

.bsai-score-empty .bsai-score-mini-num {
    color: #9ca3af;
    font-size: 1.8rem;
}

/* =============================================
   Scan prompt & loading states
   ============================================= */
.bsai-scan-prompt {
    text-align: center;
    padding: 16px 0;
}

.bsai-scan-prompt p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.5;
}

.bsai-scan-note {
    font-size: 0.78rem;
    color: #9ca3af;
    font-style: italic;
}

.bsai-scan-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #2196F3;
    background: #fff;
    color: #2196F3;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.bsai-scan-button:hover {
    background: #2196F3;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.bsai-scan-btn-local {
    border-color: #4CAF50;
    color: #4CAF50;
}

.bsai-scan-btn-local:hover {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.bsai-scanning {
    text-align: center;
    padding: 20px 0;
}

.bsai-scanning-spinner {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 8px;
}

.bsai-scanning p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

/* =============================================
   Service CTA blocks (Fix My X)
   ============================================= */
.bsai-service-cta {
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid;
}

.bsai-service-cta-text {
    margin-bottom: 10px;
}

.bsai-service-cta-text strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.bsai-service-cta-text p {
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}

.bsai-service-cta-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: all 0.2s;
    color: #fff !important;
}

.bsai-service-cta-btn:hover {
    transform: translateY(-1px);
    color: #fff !important;
}

.bsai-service-cta-btn i {
    margin-left: 4px;
    font-size: 0.75rem;
}

/* AI Visibility CTA - Purple */
.bsai-cta-ai {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #c4b5fd;
}

.bsai-cta-ai .bsai-service-cta-text strong { color: #5b21b6; }
.bsai-cta-ai .bsai-service-cta-text p { color: #6d28d9; }

.bsai-cta-btn-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bsai-cta-btn-ai:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* SEO Score CTA - Blue */
.bsai-cta-seo {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.bsai-cta-seo .bsai-service-cta-text strong { color: #1e40af; }
.bsai-cta-seo .bsai-service-cta-text p { color: #1d4ed8; }

.bsai-cta-btn-seo {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.bsai-cta-btn-seo:hover {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

/* Local SEO CTA - Green */
.bsai-cta-local {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.bsai-cta-local .bsai-service-cta-text strong { color: #166534; }
.bsai-cta-local .bsai-service-cta-text p { color: #15803d; }

.bsai-cta-btn-local {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.bsai-cta-btn-local:hover {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Verified badge inline with business name in hero */
.bsai-verified-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #28a745;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 10px;
    letter-spacing: 0.02em;
    position: relative;
    top: -2px;
}

.bsai-closed-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 10px;
    letter-spacing: 0.02em;
    position: relative;
    top: -2px;
}
.bsai-closed-inline i {
    font-size: 0.6rem;
}
.bsai-closed-banner {
    background: #fff3cd;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 12px 20px;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bsai-closed-badge-card {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.bsai-verified-inline i {
    font-size: 0.6rem;
}

/* Hero meta badges (category + location below business name) */
.bsai-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.bsai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

.bsai-hero-badge i {
    font-size: 0.7rem;
    opacity: 0.8;
}

.bsai-hero-badge-loc {
    background: rgba(255,0,54,0.3);
    border-color: rgba(255,0,54,0.4);
}

/* Login/Claim CTA for scan buttons */
.bsai-scan-login-cta {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
}
.bsai-scan-login-cta i.fa-lock {
    font-size: 24px;
    color: #6c757d;
    margin-bottom: 8px;
    display: block;
}
.bsai-scan-login-cta p {
    color: #495057;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
.bsai-scan-login-cta a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}
.bsai-scan-login-cta a:hover {
    text-decoration: underline;
}

/* Hero right column: action buttons + claim */
.bsai-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.bsai-btn-claim {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid rgba(255,255,255,0.6);
    font-size: 0.78rem;
    padding: 7px 14px;
    width: 100%;
    text-align: center;
    justify-content: center;
}
.bsai-btn-claim:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.bsai-btn-claim i {
    color: #667eea;
}

@media (max-width: 992px) {
    .bsai-hero-right {
        align-items: flex-start;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .bsai-hero-right {
        align-items: center;
    }
    .bsai-btn-claim {
        width: auto;
    }
}

/* Tighten top nav around logo */
.lf-navbar { padding: 8px 0 !important; }
.lf-navbar .navbar-inner { padding: 0 15px !important; align-items: center; }
.lf-navbar .ext-logo-set { display: flex; align-items: center; }
.lf-navbar .ext-logo-set img.toplogo { max-height: none; width: auto; }


/* ========== Achievements Card ========== */
.bsai-achievements-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bsai-achievements-card h3 i {
    color: #f59e0b;
}
.bsai-achievements-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bsai-achievements-list .bsai-earned-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.2s;
}
.bsai-achievements-list .bsai-earned-badge:hover {
    background: #f1f5f9;
}
.bsai-achievements-list .bsai-earned-badge .badge-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}
.bsai-achievements-list .bsai-earned-badge .badge-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
}
.bsai-achievements-list .bsai-earned-badge .badge-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* BizScore card specific */
.bsai-bizscore-card {
    border-top: 3px solid #6366f1;
}

/* ========== BizScore Card (Main Content) ========== */
.bsai-bizscore-main {
    border-top: 3px solid #6366f1;
}

/* Top section: score circle + metrics side by side */
.bsai-bizscore-top {
    display: flex;
    align-items: center;
    gap: 24px;
}
.bsai-bizscore-score {
    flex-shrink: 0;
    text-align: center;
    min-width: 100px;
}
.bsai-bizscore-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    background: linear-gradient(135deg, #f0f0ff, #e8e8ff);
    border: 3px solid #6366f1;
}
.bsai-bizscore-circle[data-tier="excellent"] { border-color: #10b981; background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.bsai-bizscore-circle[data-tier="good"] { border-color: #3b82f6; background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.bsai-bizscore-circle[data-tier="average"] { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.bsai-bizscore-circle[data-tier="poor"] { border-color: #ef4444; background: linear-gradient(135deg, #fef2f2, #fee2e2); }
.bsai-bizscore-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
}
.bsai-bizscore-label {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.bsai-bizscore-score h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}
.bsai-bizscore-rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 2px;
}
.bsai-bizscore-rank i { font-size: 10px; }
.bsai-bizscore-metrics {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

/* Divider between score and achievements */
.bsai-bizscore-achievements {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.bsai-bizscore-achievements h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}
.bsai-bizscore-achievements h3 i {
    color: #6366f1;
    margin-right: 6px;
}

/* Badge grid: columns and rows */
.bsai-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    justify-items: center;
}

/* Closest-to-earning inline layout */
.bsai-badge-closest-inline {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bsai-badge-progress-info {
    flex: 1;
    min-width: 0;
}
.bsai-badge-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.bsai-badge-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 3px;
    transition: width 0.5s ease;
    min-width: 2px;
}
.bsai-badge-progress-msg {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 6px;
    line-height: 1.4;
}
.bsai-badge-progress-msg i {
    color: #f59e0b;
    margin-right: 4px;
}
.bsai-badge-claim-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
}
.bsai-badge-claim-link:hover { text-decoration: underline; }
.bsai-badge-claim-link i { font-size: 10px; }

/* Rosette badge graphics */
.bsai-badge-shield {
    transition: transform 0.2s;
    cursor: pointer;
}
a.bsai-badge-shield {
    text-decoration: none;
    color: inherit;
}
a.bsai-badge-shield:hover { text-decoration: none; }
.bsai-badge-shield:hover { transform: scale(1.08); }
.bsai-badge-shield img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
    border: none;
    outline: none;
}
a.bsai-badge-shield,
a.bsai-badge-shield:focus,
a.bsai-badge-shield:active {
    border: none;
    outline: none;
    box-shadow: none;
}
.bsai-badge-shield img,
.bsai-badge-shield img.lazyload,
.bsai-badge-shield img.smush-detected-img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Kill Smush orange highlights on maps and all non-content images */
.bsai-map-wrap img,
.gm-style img,
img.smush-detected-img {
    box-shadow: none !important;
}
.bsai-badge-shield-locked { cursor: default; }
.bsai-badge-shield-locked img {
    filter: grayscale(100%) drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}
.bsai-badge-shield-locked:hover { transform: none; }
.bsai-badge-shield-label {
    max-width: 130px;
    margin: 0 auto;
    word-wrap: break-word;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .bsai-bizscore-top {
        flex-direction: column;
        text-align: center;
    }
    .bsai-badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bsai-badge-closest-inline {
        flex-direction: column;
        text-align: center;
    }
}

/* Badge type colors */
.bsai-earned-badge[data-type="verified"] { border-left: 3px solid #10b981; }
.bsai-earned-badge[data-type="top_rated"] { border-left: 3px solid #f59e0b; }
.bsai-earned-badge[data-type="ai_ready"] { border-left: 3px solid #8b5cf6; }
.bsai-earned-badge[data-type="seo_excellence"] { border-left: 3px solid #3b82f6; }
.bsai-earned-badge[data-type="best_of_year"] { border-left: 3px solid #f97316; }
.bsai-earned-badge[data-type="local_presence"] { border-left: 3px solid #14b8a6; }


/* ========== Featured Listings ========== */

/* Featured ribbon on hero */
.bsai-featured-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.3px;
}
.bsai-featured-ribbon.bsai-ribbon-pro {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}
.bsai-featured-ribbon i {
    margin-right: 4px;
}

/* Featured hero border glow */
.bsai-hero-featured {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}
.bsai-hero-featured_pro {
    border: 2px solid #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Inline featured badge next to business name */
.bsai-featured-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 6px;
    vertical-align: middle;
}
.bsai-featured-badge-inline.bsai-badge-pro {
    background: #8b5cf6;
}

/* Upgrade CTA card */
.bsai-upgrade-card {
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 16px;
}

/* Browse page featured cards */
.business-card.bsai-featured {
    border: 2px solid #f59e0b;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15);
}
.business-card.bsai-featured-pro {
    border: 2px solid #8b5cf6;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.15);
}

/* Footer legal links */
.footer-legal-links { padding: 0; margin: 0; }
.footer-legal-links li { display: inline-block; margin: 0; }
.footer-legal-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    padding: 0 8px;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.3);
}
.footer-legal-links li:last-child a { border-right: none; }
.footer-legal-links li a:hover { color: #fff; }
@media (max-width: 767px) {
    .footer-legal-links { margin-top: 8px; }
    .footer-legal-links li a { font-size: 12px; padding: 0 6px; }
}

/* =============================================
   FICA Savings Calculator Card (v2.6)
   ============================================= */

.bsai-fica-calc {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid #334155 !important;
    border-top: 3px solid #2563eb !important;
    color: #ffffff !important;
    overflow: hidden;
}

.bsai-fica-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.bsai-fica-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bsai-fica-icon i {
    color: #fff !important;
    font-size: 1.3rem;
}

.bsai-fica-calc h2 {
    color: #f1f5f9 !important;
    border-bottom: none !important;
    font-size: 1.1rem;
    margin: 0 0 6px !important;
    padding-bottom: 0 !important;
}

.bsai-fica-subtitle {
    color: #ffffff !important;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.4;
}

.bsai-fica-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
}

.bsai-fica-slider-section {
    padding-right: 12px;
}

.bsai-fica-label {
    display: block;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.bsai-fica-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #334155;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.bsai-fica-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #10b981;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.5));
    transition: filter 0.15s ease;
}

.bsai-fica-slider::-webkit-slider-thumb:hover {
    filter: drop-shadow(0 3px 8px rgba(16, 185, 129, 0.7));
}

.bsai-fica-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #10b981;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    border-bottom: none;
}

.bsai-fica-slider-value {
    text-align: center;
    margin-top: 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
}

.bsai-fica-results {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 4px 0;
    overflow: hidden;
}

.bsai-fica-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bsai-fica-result-item:last-child {
    border-bottom: none;
}

.bsai-fica-result-label {
    color: #ffffff !important;
    font-size: 0.9rem;
}

.bsai-fica-result-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f5f9;
}

.bsai-fica-highlight {
    color: #2563eb !important;
}

.bsai-fica-result-big {
    background: rgba(16, 185, 129, 0.08);
}

.bsai-fica-big-number {
    font-size: 1.6rem;
    color: #60a5fa !important;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.bsai-fica-footer {
    text-align: center;
    padding-top: 4px;
}

.bsai-fica-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.bsai-fica-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: #fff !important;
    text-decoration: none !important;
}

.bsai-fica-cta-btn i {
    color: #fff !important;
    font-size: 1rem;
}

.bsai-fica-disclaimer {
    color: #f1f5f9 !important;
    font-size: 0.75rem;
    font-style: italic;
    margin: 14px 0 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .bsai-fica-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bsai-fica-slider-section {
        padding-right: 0;
    }
    .bsai-fica-result-value {
        font-size: 1.15rem;
    }
    .bsai-fica-big-number {
        font-size: 1.3rem;
    }
    .bsai-fica-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .bsai-fica-calc h2 {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .bsai-fica-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bsai-fica-slider-value {
        font-size: 1.25rem;
    }
    .bsai-fica-result-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}


/* ========== Navbar container aligned with site content ========== */
.lf-navbar .container-no {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
@media (max-width: 1399px) {
    .lf-navbar .container-no { max-width: 1200px !important; }
}
@media (max-width: 1199px) {
    .lf-navbar .container-no { max-width: 960px !important; }
}
@media (max-width: 991px) {
    .lf-navbar .container-no { max-width: 720px !important; }
}
@media (max-width: 767px) {
    .lf-navbar .container-no { max-width: 540px !important; }
}
@media (max-width: 575px) {
    .lf-navbar .container-no { max-width: 100% !important; padding-left: 15px !important; padding-right: 15px !important; }
}

/* === BizScoreAI: Real data only (2026-03-24) === */
.bsai-not-scanned-note {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 8px;
    padding: 6px 0;
    font-style: italic;
    border-top: 1px solid #f3f4f6;
}
.bsai-not-scanned-note i {
    margin-right: 4px;
    color: #d1d5db;
}
.bsai-dash-scan-btn {
    background: #3b82f6 !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    padding: 4px 10px !important;
}
.bsai-dash-scan-btn:hover {
    background: #2563eb !important;
}

/* Blog card title — full title, wrap to 2 lines max */
.blog-grid .content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: 2.7em;
}
