/*
Theme Name: Listing By Atul Ingale
Theme URI: https://crminfo.in/
Author: Atul Ingale
Author URI: https://crminfo.in/
Description: A premium, mobile-first custom booking theme replacing ListingPro's legacy frontend. Acts as an independent Master Theme.
Version: 1.0.0
Text Domain: listing-by-atul-ingale
*/

/* Core Global Reset */
:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary-color: #0f172a;
    --border-color: #f1f5f9;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

/* ============================================================
   SUPPRESS LISTINGPRO INJECTED ELEMENTS
   These are injected as siblings of #page by the ListingPro
   plugin ecosystem and conflict with our custom mobile theme.
   ============================================================ */
body > .header-container,
body > .lp-home-banner-contianer,
body > .lp-search-bar,
body > .lp-section-search-result,
body > .lp-search-section,
body > #lp-app,
body > .md-overlay,
body > .md-modal,
body > .lp-main-search-section {
    display: none !important;
}

/* Ensure #page has no unexpected top spacing from LP styles */
#page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Base Universal Desktop Constraint for App View */
@media (min-width: 768px) {
    #page {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0,0,0,0.15);
        min-height: 100vh;
        position: relative;
        background: #fff;
    }

    .ail-app-header,
    .ail-bottom-nav,
    .ail-single-bottom-bar {
        max-width: 480px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}

/* ========================================================
   HOMEPAGE: HEADER (Location + Search)
   ======================================================== */
.ail-app-header {
    background: var(--card-bg);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.ail-location-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.ail-pin-icon {
    font-size: 20px;
    margin-right: 10px;
}

.ail-loc-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ail-loc-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.ail-loc-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.ail-profile-icon {
    font-size: 28px;
    color: var(--text-primary);
}

.ail-search-input {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ail-search-input i {
    color: var(--text-secondary);
}

.ail-search-input input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
    outline: none;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-primary);
}

.ail-search-bar { position: relative; }
.ail-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 8px;
    z-index: 1000;
    overflow: hidden;
    max-height: 350px;
    overflow-y: auto;
}
.ail-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
}
.ail-autocomplete-item:last-child { border-bottom: none; }
.ail-autocomplete-item:hover, .ail-autocomplete-item:active { background: #f8fafc; }
.ail-autocomplete-img {
    width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #f1f5f9;
}
.ail-autocomplete-text h4 { margin: 0; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.ail-autocomplete-text p { margin: 0; font-size: 12px; color: var(--text-secondary); }

/* ========================================================
   HOMEPAGE: CONTENT AREAS
   ======================================================== */
.ail-app-content {
    padding: 20px;
    padding-bottom: 120px !important;
}

.ail-section-title {
    padding: 0 16px;
    margin: 32px 0 18px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Banner */
.ail-hero-banner {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ail-hero-banner img {
    width: 100%;
    display: block;
}

/* Category Grid */
.ail-category-grid-section {
    margin-bottom: 30px;
}

.ail-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 10px;
}

.ail-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.ail-cat-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s ease;
}

.ail-cat-icon:active { transform: scale(0.92); }

.ail-cat-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ail-cat-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* Ad Block */
.ail-ad-block {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
}

.ail-ad-block img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* New & Noteworthy */
.ail-noteworthy-section {
    margin-bottom: 30px;
}
.ail-noteworthy-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.ail-noteworthy-scroll::-webkit-scrollbar { display: none; }

.ail-noteworthy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-bottom: 20px;
}
.ail-nw-grid-card {
    width: 100%;
}
@media (max-width: 480px) {
    .ail-noteworthy-grid {
        grid-template-columns: 1fr;
    }
}

.ail-noteworthy-card {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
    position: relative;
}
.ail-noteworthy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
}
.ail-noteworthy-card:active { transform: scale(0.98); }

.ail-noteworthy-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ail-noteworthy-card:hover img {
    transform: scale(1.04);
}

/* Image overlay gradient for text readability */
.ail-noteworthy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.04) 100%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
}

.ail-nw-info {
    padding: 14px 16px 16px;
}

.ail-nw-info h3 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.ail-nw-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================
   QUICK SERVICES (Category Grid / Carousel)
   ======================================================== */
.ail-quick-services {
    margin-bottom: 24px;
}

/* --- Grid Layout --- */
.ail-qs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
}

/* --- Carousel (Horizontal Scroll) Layout --- */
.ail-qs-scroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ail-qs-scroll::-webkit-scrollbar { display: none; }

.ail-qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
    min-width: 72px;
}
.ail-qs-item:active { transform: scale(0.94); }

.ail-qs-icon {
    width: 56px;
    height: 56px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ail-qs-item:hover .ail-qs-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.ail-qs-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.3;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Featured Category Glow --- */
.ail-qs-featured .ail-qs-icon {
    box-shadow: 0 0 0 2px rgba(16,185,129,0.25), 0 4px 12px rgba(16,185,129,0.15);
}
.ail-qs-featured .ail-qs-title {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 480px) {
    .ail-qs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 10px;
    }
}

/* ========================================================
   TRUST & SAFETY BADGES
   ======================================================== */
.ail-trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 12px 8px;
    margin: 15px 16px 28px;
    gap: 8px;
}

.ail-trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #064e3b;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(16,185,129,0.06);
    flex: 1;
    white-space: nowrap;
}

.ail-trust-icon {
    font-size: 14px;
    line-height: 1;
}

/* ========================================================
   HOW IT WORKS
   ======================================================== */
.ail-how-it-works {
    margin: 0 20px 32px;
    background: #fff;
    border-radius: 20px;
    padding: 24px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.ail-how-it-works .ail-section-title {
    color: #8a2be2;
    margin: 0 0 24px;
    padding: 0;
}

.ail-hiw-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.ail-hiw-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.ail-hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.ail-hiw-icon {
    width: 56px;
    height: 56px;
    background: #f3f0ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(138,43,226,0.08);
}

.ail-hiw-step h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: #8a2be2;
}

.ail-hiw-step p {
    margin: 0;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

/* ========================================================
   POPULAR CITIES
   ======================================================== */
.ail-popular-cities {
    margin-bottom: 32px;
}

.ail-cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ail-city-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 90px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.ail-city-card:active { transform: scale(0.97); }

.ail-city-bg {
    position: absolute;
    inset: 0;
    border-radius: 16px;
}

.ail-city-info {
    position: relative;
    z-index: 2;
    padding: 12px 16px;
    color: #fff;
}

.ail-city-info h3 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ail-city-info span {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
}

/* ========================================================
   TRENDING SECTION
   ======================================================== */
.ail-trending-section {
    margin-bottom: 32px;
}

.ail-trending-scroll, .ail-noteworthy-scroll {
    overflow: visible !important;
}

/* ========================================================
   CARD BADGES (Verified / Featured Ribbons)
   ======================================================== */
.ail-card-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 240px;
    width: 240px;
}

.ail-card-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ail-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ail-badge-verified {
    background: rgba(16,185,129,0.9);
    color: #fff;
}

.ail-badge-featured {
    background: rgba(245,158,11,0.9);
    color: #fff;
}

/* ========================================================
   FAVORITE BUTTON
   ======================================================== */
.ail-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.ail-fav-btn:active { transform: scale(0.85); }
.ail-fav-btn.active {
    background: rgba(239,68,68,0.1);
}

/* ========================================================
   VENDOR CTA (Join as Professional)
   ======================================================== */
.ail-vendor-cta {
    margin: 32px 0;
    padding: 32px 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    text-align: center;
}

.ail-vcta-content h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.ail-vcta-content p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.ail-vcta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.ail-vcta-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}

/* ========================================================
   AI RECOMMENDATIONS SECTION
   ======================================================== */
.ail-ai-recommendations {
    margin-bottom: 32px;
}

.ail-trend-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.ail-trend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.ail-trend-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.ail-trend-info {
    padding: 12px 14px;
}
.ail-trend-info h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ail-trend-rating {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

/* ========================================================
   GENERIC PAGE TEMPLATE
   ======================================================== */
.ail-page-content {
    padding: 30px 20px;
    min-height: 60vh;
}

.ail-page-content h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.ail-page-content p,
.ail-page-content ul,
.ail-page-content ol {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}


/* ========================================================
   SINGLE LISTING PROFILE
   ======================================================== */
.ail-single-hero {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ail-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ail-single-content {
    background: #fff;
    border-radius: 24px 24px 0 0;
    margin-top: -30px;
    position: relative;
    padding: 25px 20px;
    min-height: 500px;
}

.ail-single-header-info {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.ail-listing-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.ail-listing-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.ail-meta-rating {
    color: #10b981;
}

.ail-listing-contact-strip {
    margin-top: 15px;
}

.ail-quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ail-section-subtitle {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}

.ail-description-body {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.ail-booking-injection-area {
    margin-top: 30px;
}

/* Sticky Bottom Bar */
.ail-single-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px 25px 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    z-index: 100;
    
    /* Inherit max-width limit on desktop */
    max-width: 480px;
    margin: 0 auto;
}

.ail-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    flex-grow: 1;
}

.ail-action-chat {
    background: #f1f5f9;
    color: #0f172a;
    flex-grow: 0;
    width: 60px;
}

.ail-action-book {
    background: #0f172a;
    color: #fff;
}

/* ========================================================
   SEARCH RESULTS (CATEGORY PAGE)
   ======================================================== */
.ail-taxonomy-page {
    background: #f8fafc;
    min-height: 100vh;
}

.ail-listing-results-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ail-result-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.ail-rc-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.ail-rc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ail-rc-info {
    flex-grow: 1;
    padding: 0 15px;
}

.ail-rc-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ail-rc-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.ail-rc-rating {
    color: #10b981;
}

.ail-rc-action i {
    font-size: 24px;
    color: #cbd5e1;
}

/* Navigation Paginator */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.pagination span.current {
    background: #0f172a;
    color: #fff;
}

/* ========================================================
   DASHBOARD (SINGLE PAGE APP)
   ======================================================== */
.ail-dashboard-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 120px !important; /* prevent fixed bottom-nav overlap */
}

.ail-dash-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 30px 20px 25px 20px;
    color: #fff;
}

.ail-dash-profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ail-dash-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.ail-dash-profile-info {
    flex-grow: 1;
}

.ail-dash-name {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.ail-dash-email {
    margin: 3px 0 0 0;
    font-size: 12px;
    opacity: 0.7;
}

.ail-dash-logout-btn {
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    text-decoration: none;
}

/* Tab Navigation */
.ail-dash-tabs {
    display: flex;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ail-dash-tabs::-webkit-scrollbar { display: none; }

.ail-tab-btn {
    flex: 0 0 auto;
    min-width: 70px;
    padding: 14px 10px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ail-tab-btn.active {
    color: #0f172a;
    border-bottom-color: #0f172a;
}

.ail-tab-btn i { font-size: 18px; }

/* ============================================================
   HAMBURGER DRAWER MENU
   ============================================================ */
.ail-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ail-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ail-drawer-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -4px 0 25px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ail-drawer-menu.open {
    right: 0;
}

.ail-drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.ail-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.ail-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
}
.ail-drawer-link:hover,
.ail-drawer-link.active {
    background: #f1f5f9;
}
.ail-drawer-link i {
    font-size: 18px;
    color: #64748b;
    width: 20px;
}

/* Tab Panels */
.ail-dash-content {
    padding: 20px;
}

.ail-tab-panel {
    display: none;
}

.ail-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Stats Grid */
.ail-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ail-dash-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.ail-stat-icon { font-size: 28px; }
.ail-stat-value { font-size: 26px; font-weight: 800; color: #0f172a; }
.ail-stat-label { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }

/* Quick Actions */
.ail-quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ail-quick-action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ail-quick-action-item i { font-size: 20px; color: #64748b; }
.ail-quick-action-item span { flex-grow: 1; }
.ail-qa-arrow { color: #cbd5e1 !important; }

/* Bookings List */
.ail-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ail-booking-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ail-booking-info h4 { margin: 0 0 5px 0; font-size: 15px; font-weight: 700; }
.ail-booking-date, .ail-booking-time { margin: 0; font-size: 12px; color: #64748b; font-weight: 600; }

.ail-booking-status {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.ail-status-pending   { background: #fef3c7; color: #92400e; }
.ail-status-confirmed { background: #d1fae5; color: #065f46; }
.ail-status-completed { background: #e0e7ff; color: #3730a3; }
.ail-status-cancelled { background: #fee2e2; color: #991b1b; }

/* Empty States */
.ail-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}
.ail-empty-state p { font-size: 14px; font-weight: 600; margin-top: 10px; }

/* Profile Fields */
.ail-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ail-field-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ail-field-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ail-field-input:focus {
    border-color: #0f172a;
}

/* Bottom Nav (reusable) */
.ail-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 12px 0 25px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    z-index: 100;
    border-top: 1px solid #f1f5f9;
    max-width: 480px;
    margin: 0 auto;
    right: 0;
}

.ail-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
}

.ail-nav-item i { font-size: 20px; }
.ail-nav-item.active { color: #0f172a; }

/* ========================================================
   BOOKING BOTTOM SHEET MODAL
   ======================================================== */
.ail-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999999998 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ail-sheet-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.ail-booking-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 999999999 !important;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-width: 480px;
    margin: 0 auto;
    max-height: calc(100dvh - 20px) !important;
    display: flex;
    flex-direction: column;
}

.ail-booking-sheet.open {
    transform: translateY(0);
}

.ail-sheet-handle {
    width: 40px;
    height: 5px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 12px auto 0 auto;
    flex-shrink: 0;
}

.ail-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.ail-sheet-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.ail-sheet-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.ail-sheet-body {
    padding: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 150px !important;
}

.ail-sheet-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

/* Date Chips */
.ail-date-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}
.ail-date-scroll::-webkit-scrollbar { display: none; }

.ail-date-option {
    flex-shrink: 0;
    width: 60px;
    padding: 12px 0;
    border: 2px solid #f1f5f9;
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ail-do-day { font-size: 11px; font-weight: 600; color: #94a3b8; }
.ail-do-num { font-size: 18px; font-weight: 800; color: #0f172a; }

.ail-date-option.selected {
    background: #0f172a;
    border-color: #0f172a;
}

.ail-date-option.selected .ail-do-day,
.ail-date-option.selected .ail-do-num {
    color: #fff;
}

/* Time Slots */
.ail-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ail-time-slot {
    padding: 12px 0;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.ail-time-slot.selected {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.ail-sheet-footer {
    padding: 15px 20px 30px 20px;
    border-top: 1px solid #f1f5f9;
}

/* ========================================================
   SEARCH AUTOCOMPLETE DROPDOWN
   ======================================================== */
.ail-search-bar {
    position: relative;
}

.ail-search-form {
    width: 100%;
}

.ail-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
}

.ail-ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #0f172a;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.ail-ac-item:last-child { border-bottom: none; }
.ail-ac-item:hover { background: #f8fafc; }

.ail-ac-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ail-ac-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #f1f5f9;
    border-radius: 8px;
    flex-shrink: 0;
}

.ail-ac-title {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 600;
}

.ail-ac-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* ========================================================
   AUTH MESSAGES & SWITCH LINKS
   ======================================================== */
.ail-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-top: 20px;
}

.ail-auth-switch a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
}

.ail-msg-success {
    background: #d1fae5;
    color: #065f46;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.ail-msg-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

/* ========================================================
   CONTACT ACTION PILLS
   ======================================================== */
.ail-contact-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.ail-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.ail-contact-pill:active { transform: scale(0.95); }

.ail-pill-call {
    background: #d1fae5;
    color: #065f46;
}

.ail-pill-whatsapp {
    background: #dcfce7;
    color: #166534;
}

.ail-pill-email {
    background: #e0e7ff;
    color: #3730a3;
}

/* Share Button */
.ail-share-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========================================================
   PHOTO GALLERY
   ======================================================== */
.ail-gallery-section {
    margin-bottom: 25px;
}

.ail-gallery-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.ail-gallery-scroll::-webkit-scrollbar { display: none; }

.ail-gallery-item {
    flex: 0 0 260px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.ail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================
   REVIEWS
   ======================================================== */
.ail-reviews-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.ail-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ail-reviews-header .ail-section-subtitle {
    margin-bottom: 0;
}

.ail-write-review-btn {
    padding: 8px 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    text-decoration: none;
}

.ail-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ail-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ail-review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ail-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ail-review-author-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ail-review-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.ail-review-date {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.ail-review-stars {
    font-size: 12px;
    flex-shrink: 0;
}

.ail-review-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

/* Star Selector */
.ail-star-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.ail-star-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.ail-star-btn.active {
    opacity: 1;
}

.ail-star-btn:hover {
    transform: scale(1.2);
}

/* ========================================================
   404 PAGE
   ======================================================== */
.ail-404-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.ail-404-content {
    text-align: center;
    padding: 40px 30px;
}

.ail-404-emoji {
    font-size: 72px;
    display: block;
    margin-bottom: 20px;
}

.ail-404-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #0f172a;
}

.ail-404-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ========================================================
   VENDOR DASHBOARD
   ======================================================== */
.ail-vendor-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

/* Vendor Listing Card */
.ail-vendor-listing-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
}

.ail-vl-img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.ail-vl-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 24px;
}

.ail-vl-info {
    flex-grow: 1;
}

.ail-vl-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
}

/* Vendor Booking Card */
.ail-vendor-booking-card {
    flex-wrap: wrap;
}

.ail-vendor-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.ail-accept-reject {
    display: flex;
    gap: 6px;
}

.ail-vb-accept,
.ail-vb-reject {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.ail-vb-accept:active,
.ail-vb-reject:active {
    transform: scale(0.95);
}

.ail-vb-accept {
    background: #d1fae5;
    color: #065f46;
}

.ail-vb-reject {
    background: #fee2e2;
    color: #991b1b;
}

/* ========================================================
   MULTI-STEP FORM (Add Listing)
   ======================================================== */
.ail-step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 25px;
    padding: 0 10px;
}

.ail-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.ail-step.active {
    color: #0f172a;
}

.ail-step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.ail-step.active span {
    background: #0f172a;
    color: #fff;
}

.ail-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    max-width: 40px;
}

.ail-form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ail-form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Upload */
.ail-upload-placeholder {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.ail-upload-placeholder:hover {
    border-color: #94a3b8;
}

/* Select Dropdown */
select.ail-field-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

/* ========================================================
   CITY / LOCATION SELECTOR
   ======================================================== */
.ail-city-list {
    max-height: 350px;
    overflow-y: auto;
}

.ail-city-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 5px;
    text-decoration: none;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.ail-city-item:hover { background: #f8fafc; border-radius: 8px; }
.ail-city-item:last-child { border-bottom: none; }

.ail-city-item.active {
    color: #10b981;
    font-weight: 800;
}

.ail-city-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 50px;
}

/* ========================================================
   SKELETON LOADING
   ======================================================== */
.ail-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ail-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.ail-skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.ail-skeleton-card {
    height: 100px;
    margin-bottom: 12px;
}

.ail-skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Location bar tap hint */
.ail-loc-text {
    cursor: pointer;
}

.ail-loc-sub::after {
    content: " \25BE";
    font-size: 10px;
    color: #94a3b8;
}

/* ========================================================
   FAVORITE / HEART BUTTON
   ======================================================== */
.ail-card-wrap {
    position: relative;
    flex: 0 0 240px;
    overflow: hidden;
    border-radius: 16px;
}

.ail-card-wrap-row {
    flex: unset;
    position: relative;
}

.ail-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 5;
    transition: transform 0.2s ease;
}

.ail-fav-btn:active { transform: scale(0.85); }

.ail-fav-btn.active {
    animation: heartBounce 0.4s ease;
}

.ail-fav-row {
    top: 50%;
    transform: translateY(-50%);
}
.ail-fav-row:active {
    transform: translateY(-50%) scale(0.85);
}

.ail-hero-fav {
    top: 20px;
    right: 70px;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

@keyframes heartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* ========================================================
   DARK MODE TOGGLE
   ======================================================== */
.ail-dark-mode-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.ail-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.ail-toggle input { opacity: 0; width: 0; height: 0; }

.ail-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    border-radius: 26px;
    transition: 0.3s;
}

.ail-toggle-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.ail-toggle input:checked + .ail-toggle-slider {
    background-color: #0f172a;
}

.ail-toggle input:checked + .ail-toggle-slider::before {
    transform: translateX(22px);
}

/* ========================================================
   FRONT PAGE ENHANCEMENTS (Redesign)
   ======================================================== */
.ail-quick-services {
    padding: 15px 16px 5px;
}
.ail-qs-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.ail-qs-scroll::-webkit-scrollbar {
    display: none;
}
.ail-qs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 10px;
    padding-bottom: 10px;
}
@media (max-width: 480px) {
    .ail-qs-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 items per row on mobile looks like apps */
    }
}
.ail-qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    text-decoration: none;
}
.ail-qs-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 8px;
    transition: transform 0.2s;
}
.ail-qs-item:hover .ail-qs-icon {
    transform: scale(1.05);
}
.ail-qs-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    text-align: center;
}

.ail-trust-badges {
    display: flex;
    justify-content: space-between;
    padding: 20px 16px;
    background: #f8fafc;
    margin: 10px 16px;
    border-radius: 12px;
}
.ail-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
}
.ail-trust-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.ail-how-it-works {
    padding: 20px 16px;
}
.ail-hiw-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.ail-hiw-step {
    flex: 1;
    text-align: center;
    position: relative;
}
.ail-hiw-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #e2e8f0;
}
.ail-hiw-icon {
    width: 50px;
    height: 50px;
    background: #e0e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
}
.ail-hiw-step h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}
.ail-hiw-step p {
    margin: 4px 0 0;
    font-size: 11px;
    color: var(--text-secondary, #64748b);
}

.ail-vendor-cta {
    padding: 30px 16px;
    margin-bottom: 20px;
}
.ail-vcta-content {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}
.ail-vcta-content h2 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 800;
}
.ail-vcta-content p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 20px;
}
.ail-vcta-btn {
    display: inline-block;
    background: var(--primary-color, #2563eb);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s;
}
.ail-vcta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Dark Mode fixes for new sections */
body.dark-mode .ail-qs-icon { background: #334155; }
body.dark-mode .ail-trust-badges { background: #1e293b; border-color: #334155; }
body.dark-mode .ail-trust-item { background: #334155; color: #f1f5f9; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
body.dark-mode .ail-hiw-icon { background: #334155; }
body.dark-mode .ail-hiw-step:not(:last-child)::after { background: #334155; }

/* ========================================================
   DARK MODE THEME OVERRIDES
   ======================================================== */
body.dark-mode {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --primary-color: #f1f5f9;
    --border-color: #334155;
    background-color: #0f172a;
    color: #f1f5f9;
}

body.dark-mode .ail-app-header {
    background: #1e293b;
}

body.dark-mode .ail-bottom-nav,
body.dark-mode .ail-single-bottom-bar {
    background: #1e293b;
    border-top-color: #334155;
}

body.dark-mode .ail-search-input {
    background: #334155;
}

body.dark-mode .ail-search-input input {
    color: #f1f5f9;
}

body.dark-mode .ail-cat-icon {
    background: #334155;
}

body.dark-mode .ail-noteworthy-card,
body.dark-mode .ail-result-card,
body.dark-mode .ail-review-card,
body.dark-mode .ail-booking-card,
body.dark-mode .ail-vendor-listing-card {
    background: #1e293b;
    color: #f1f5f9;
}

body.dark-mode .ail-field-input {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

body.dark-mode .ail-booking-sheet {
    background: #1e293b;
    color: #f1f5f9;
}

body.dark-mode .ail-sheet-header {
    border-bottom-color: #334155;
}

body.dark-mode .ail-dash-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body.dark-mode .ail-dash-stat-card {
    background: #1e293b;
}

body.dark-mode .ail-quick-action-item {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

body.dark-mode .ail-dash-tabs {
    background: #1e293b;
}

body.dark-mode .ail-tab-btn {
    color: #64748b;
}

body.dark-mode .ail-tab-btn.active {
    color: #f1f5f9;
}

body.dark-mode .ail-autocomplete-dropdown {
    background: #1e293b;
}

body.dark-mode .ail-ac-item {
    color: #f1f5f9;
    border-bottom-color: #334155;
}

body.dark-mode .ail-fav-btn {
    background: rgba(30,41,59,0.9);
}

body.dark-mode .ail-dark-mode-row {
    border-color: #334155;
}

body.dark-mode #page {
    background: #0f172a;
}

body.dark-mode .ail-page-content {
    color: #cbd5e1;
}

body.dark-mode .ail-page-content p,
body.dark-mode .ail-page-content ul,
body.dark-mode .ail-page-content ol {
    color: #94a3b8;
}

/* ========================================================
   TOAST NOTIFICATIONS
   ======================================================== */
#ail-toast-container {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 420px;
    pointer-events: none;
}

.ail-toast {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-family);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: toastSlideUp 0.35s ease, toastFadeOut 0.35s ease 2.65s forwards;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ail-toast-success {
    background: #065f46;
    color: #d1fae5;
}

.ail-toast-error {
    background: #991b1b;
    color: #fee2e2;
}

.ail-toast-info {
    background: #1e293b;
    color: #e2e8f0;
}

@keyframes toastSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* ========================================================
   PAGE ENTRANCE ANIMATION
   ======================================================== */
.ail-app-content,
.ail-single-content,
.ail-dashboard-page,
.ail-taxonomy-page main {
    animation: pageEnter 0.4s ease;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered card entrance */
.ail-result-card,
.ail-booking-card,
.ail-vendor-listing-card,
.ail-quick-action-item {
    animation: cardEnter 0.35s ease both;
}

.ail-result-card:nth-child(1), .ail-booking-card:nth-child(1) { animation-delay: 0.05s; }
.ail-result-card:nth-child(2), .ail-booking-card:nth-child(2) { animation-delay: 0.1s; }
.ail-result-card:nth-child(3), .ail-booking-card:nth-child(3) { animation-delay: 0.15s; }
.ail-result-card:nth-child(4), .ail-booking-card:nth-child(4) { animation-delay: 0.2s; }
.ail-result-card:nth-child(5), .ail-booking-card:nth-child(5) { animation-delay: 0.25s; }

@keyframes cardEnter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth body transition for dark mode */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================================
   PLAN SELECTION (MONETIZATION)
   ======================================================== */
.ail-plan-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.ail-plan-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ail-plan-card.selected {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05); /* very light primary */
}

body.dark-mode .ail-plan-card.selected {
    background: rgba(16, 185, 129, 0.1);
}

.ail-plan-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ail-plan-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.ail-plan-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
}

.ail-plan-duration {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.ail-plan-features {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

/* ========================================================
   APP BOTTOM NAVIGATION (Unified for Mobile & PC)
   ======================================================== */
.ail-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 5px 0;
    padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    height: calc(65px + env(safe-area-inset-bottom, 0px));
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* ── Password Strength Hint ──────────────────────────── */
.ail-pw-hint {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    min-height: 16px;
    transition: color 0.2s ease;
}
.ail-pw-hint.weak   { color: #ef4444; }
.ail-pw-hint.fair   { color: #f59e0b; }
.ail-pw-hint.strong { color: #10b981; }

.ail-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #94a3b8;
        font-size: 11px;
        flex: 1;
        transition: all 0.3s ease;
    }

    .ail-nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
        transition: all 0.3s ease;
    }

    .ail-nav-item.active {
        color: #2563eb;
        font-weight: 700;
    }

    .ail-nav-item.active i {
        color: #2563eb;
        transform: translateY(-2px);
    }

    /* Floating Center Add Button */
    .ail-nav-add-btn {
        flex: none;
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        top: -20px; /* Pulls it up above the nav bar */
    }

    .ail-add-floating-btn {
        width: 54px;
        height: 54px;
        background: linear-gradient(135deg, #2563eb, #10b981);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 15px rgba(37, 99, 235, 0.4);
        border: 4px solid #ffffff;
        transition: transform 0.3s ease;
    }
    
    .ail-add-floating-btn i {
        color: #ffffff !important;
        font-size: 26px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0;
    }

    .ail-nav-item.active .ail-add-floating-btn {
        transform: scale(1.1);
    }

    /* -------------------------------------------
       SWIPER.JS MOBILE OVERRIDES
       ------------------------------------------- */
    @media (max-width: 991px) {
        .swiper {
            width: 100%;
            padding-bottom: 20px;
        }
        #ail-mobile-swiper .swiper-slide, .ail-gallery-scroll .swiper-slide { width: 280px !important; }
        .lbai-ad-swiper .swiper-slide { width: 100% !important; }
    }

/* On Desktop: Destroy Swiper CSS manually to ensure standard grid works if JS fails or resizes */
@media (min-width: 992px) {
    #ail-mobile-swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        transform: none !important;
        width: 100%;
    }
    #ail-mobile-swiper .swiper-slide {
        width: calc(25% - 15px) !important;
        margin-right: 0 !important;
    }
}

/* ========================================================
   SMART FILTER SIDEBAR (Desktop vs Mobile Bottom-Sheet)
   ======================================================== */
.ail-floating-filter-btn {
    display: none !important;
}
.ail-search-sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}
.ail-search-sidebar .ail-sheet-handle,
.ail-search-sidebar .ail-sheet-close-btn {
    display: none;
}

@media (max-width: 991px) {
    .ail-search-layout {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .ail-search-sidebar {
        display: none; /* Hide static version natively */
    }
    
    .ail-floating-filter-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        bottom: calc(85px + env(safe-area-inset-bottom, 0px)); /* Sits above the Mobile Bottom Nav */
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-color);
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 30px;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 8888;
        cursor: pointer;
    }
    
    /* Bottom Sheet State */
    .ail-search-sidebar.ail-sheet-active {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 85vh;
        z-index: 10000;
        background: #fff;
        border-radius: 24px 24px 0 0;
        padding: 20px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
        animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        flex: none !important;
    }
    
    .ail-search-sidebar.ail-sheet-active .ail-sheet-handle,
    .ail-search-sidebar.ail-sheet-active .ail-sheet-close-btn {
        display: block;
    }
}

/* ========================================================
   LPCF PLUGIN INTEGRATION â€” Visual Compatibility
   Styles for plan-based badges, phone gating, vendor
   dashboard modules, and plugin-injected elements.
   ======================================================== */

/* --- Badges (Verified, Trusted, Premium, etc.) --- */
.ail-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1.4;
}

.ail-badge-verified {
    background: #d1fae5;
    color: #065f46;
}

.ail-badge-trusted {
    background: #dbeafe;
    color: #1e40af;
}

.ail-badge-premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.ail-badge-featured {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #6d28d9;
}

/* Badge on listing cards (front-page, search results) */
.ail-card-badge-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

/* --- Login-Gated Contact Pills --- */
.ail-login-gated {
    opacity: 0.9;
    cursor: pointer;
    position: relative;
}

.ail-login-gated .dashicons-lock {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.ail-pill-call.ail-login-gated {
    background: #fef2f2;
    color: #991b1b;
}

.ail-pill-whatsapp.ail-login-gated {
    background: #fef2f2;
    color: #991b1b;
}

.ail-login-gated:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* --- Plugin's "Login to View" btn (output buffer) --- */
.lp-login-to-view-btn {
    cursor: pointer;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: #fff !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: none;
}

.lp-login-to-view-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lp-login-to-view-btn i.fa-lock,
.lp-login-to-view-btn .dashicons-lock {
    font-size: 12px;
}

/* Plugin's login-to-view list items (sidebar context) */
.lp-login-to-view-li {
    list-style: none;
    padding: 8px 0;
}

/* --- Plan-Disabled Elements --- */
.ail-plan-disabled {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
}

.ail-plan-disabled::after {
    content: 'ðŸ”’';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

/* --- Review Login Notice (Plugin-injected) --- */
#lp-review-login-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 14px;
    margin: 15px 0;
    font-size: 14px;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

#lp-review-login-notice .lp-notice-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

#lp-review-login-notice .lp-notice-text {
    flex: 1;
    font-weight: 600;
}

#lp-review-login-notice .lp-notice-btns {
    display: flex;
    gap: 8px;
}

#lp-review-login-notice .lp-notice-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

#lp-review-login-notice .lp-notice-btn-login {
    background: #fff !important;
    color: #667eea !important;
}

#lp-review-login-notice .lp-notice-btn-signup {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
}

/* --- Vendor Dashboard â€” Plugin Module Tabs --- */
.ail-vendor-module-section {
    padding: 15px 0;
}

.ail-module-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ail-module-card h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.ail-module-empty {
    text-align: center;
    padding: 30px 15px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.ail-module-empty span {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

/* --- Coupon Cards --- */
.ail-coupon-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 2px dashed #f59e0b;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ail-coupon-icon {
    width: 44px;
    height: 44px;
    background: #f59e0b;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ail-coupon-info {
    flex: 1;
}

.ail-coupon-code {
    font-size: 16px;
    font-weight: 900;
    color: #92400e;
    letter-spacing: 1px;
}

.ail-coupon-desc {
    font-size: 12px;
    color: #a16207;
    font-weight: 600;
    margin-top: 2px;
}

.ail-coupon-copy {
    padding: 6px 14px;
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

/* --- Lead Credits Indicator --- */
.ail-lead-credits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
}

/* --- Click Stats Counter (Vendor Dashboard) --- */
.ail-click-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.ail-click-stat:last-child {
    border-bottom: none;
}

.ail-click-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ail-click-stat-icon.phone { background: #d1fae5; color: #065f46; }
.ail-click-stat-icon.whatsapp { background: #dcfce7; color: #166534; }
.ail-click-stat-icon.email { background: #e0e7ff; color: #3730a3; }

.ail-click-stat-info {
    flex: 1;
}

.ail-click-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.ail-click-stat-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* --- Dark Mode: Plugin Elements --- */
body.dark-mode .ail-badge-verified { background: rgba(16,185,129,0.2); color: #6ee7b7; }
body.dark-mode .ail-badge-trusted { background: rgba(59,130,246,0.2); color: #93c5fd; }
body.dark-mode .ail-badge-premium { background: rgba(245,158,11,0.2); color: #fcd34d; }
body.dark-mode .ail-badge-featured { background: rgba(139,92,246,0.2); color: #c4b5fd; }

body.dark-mode .ail-coupon-card {
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    border-color: #78350f;
}
body.dark-mode .ail-coupon-code { color: #fcd34d; }
body.dark-mode .ail-coupon-desc { color: #fbbf24; }

body.dark-mode .ail-module-card {
    background: #1e293b;
}

body.dark-mode .lp-login-to-view-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
}

body.dark-mode #lp-review-login-notice {
    background: linear-gradient(135deg, #4f46e5, #6d28d9) !important;
}

body.dark-mode .ail-login-gated {
    background: rgba(239,68,68,0.15) !important;
    color: #fca5a5 !important;
}

body.dark-mode .ail-lead-credits {
    background: rgba(99,102,241,0.2);
    color: #a5b4fc;
}

/* --- Suppress plugin's ListingPro-specific DOM injections --- */
/* Plugin injects elements targeting LP selectors; hide any that bleed through */
body.listing-by-atul-ingale .lp-listing-phone,
body.listing-by-atul-ingale .lp-listing-phone-whatsapp,
body.listing-by-atul-ingale .show-number-wrap,
body.listing-by-atul-ingale .lp-grid3-phone,
body.listing-by-atul-ingale .listing-app-view-new-details-bottom-phone {
    display: none !important;
}

/* =========================================================================
   LPCF PLUGIN MODULE STYLES â€” Dashboard & Listing Integration
   Styles for Chat, Boost, Coupons, Analytics, Lead Credits, Badges
   ========================================================================= */

/* --- Module Card (Shared Layout) --- */
.lpcf-vm-card, .ail-module-card {
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color, rgba(0,0,0,0.06));
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}
.lpcf-vm-card:hover, .ail-module-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.lpcf-vm-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 14px;
}

/* --- Module Empty State --- */
.ail-module-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary, #64748b);
    font-weight: 600;
    font-size: 14px;
}
.ail-module-empty span {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

/* --- Chat Module â€” Inbox List (Dashboard) --- */
.ail-chat-thread {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.04));
}
.ail-chat-thread:last-child { border-bottom: none; }
.ail-chat-thread:hover { background: rgba(37,99,235,0.04); }
.ail-chat-thread:active { transform: scale(0.99); }
.ail-chat-thread.active {
    background: rgba(37,99,235,0.08);
    border-left: 3px solid var(--primary-color, #2563eb);
}

.ail-chat-thread-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
}
.ail-chat-thread-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ail-chat-thread-info {
    flex: 1;
    min-width: 0;
}
.ail-chat-thread-info strong {
    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}
.ail-chat-thread-listing {
    font-size: 12px;
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    margin-top: 2px;
}
.ail-chat-thread-preview {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.ail-chat-thread-time {
    font-size: 11px;
    color: var(--text-secondary, #94a3b8);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.ail-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #2563eb);
    color: #fff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 800;
    padding: 0 5px;
    margin-left: 6px;
}

/* --- Chat Message Bubbles --- */
.lpcf-chat-messages {
    overflow-y: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}
.lpcf-chat-msg {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    max-width: 80%;
}
.lpcf-chat-mine { margin-left: auto; align-items: flex-end; }
.lpcf-chat-theirs { margin-right: auto; align-items: flex-start; }
.lpcf-chat-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    word-break: break-word;
}
.lpcf-chat-mine .lpcf-chat-bubble {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-bottom-right-radius: 6px;
}
.lpcf-chat-theirs .lpcf-chat-bubble {
    background: var(--border-color, #f1f5f9);
    color: var(--text-primary, #0f172a);
    border-bottom-left-radius: 6px;
}
.lpcf-chat-time {
    font-size: 10px;
    color: var(--text-secondary, #94a3b8);
    font-weight: 600;
    margin-top: 4px;
    padding: 0 6px;
}

/* Chat Send Bar */
.ail-chat-send-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

/* --- Chat FAB on Listing Page (Plugin injects via wp_footer) --- */
.lpcf-chat-fab {
    position: fixed !important;
    bottom: 90px !important;
    right: 16px !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}
.lpcf-chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,99,235,0.5);
}

/* --- Boost Module --- */
.ail-boost-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border-color: #bae6fd !important;
}
.ail-boost-active {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    border-color: #a7f3d0 !important;
}
.ail-boost-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- Coupon Module --- */
.lpcf-coupon-card {
    background: var(--card-bg, #fff);
    border: 2px dashed #d1d5db;
    border-radius: 14px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}
.lpcf-coupon-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, #10b981, #059669);
}
.lpcf-coupon-code {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color, #2563eb);
    letter-spacing: 2px;
    padding: 8px 16px;
    background: rgba(37,99,235,0.06);
    border-radius: 8px;
    display: inline-block;
    margin: 8px 0;
}
.lpcf-coupon-claim-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lpcf-coupon-claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

/* --- Analytics Module â€” Click Stats --- */
.ail-click-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.04));
}
.ail-click-stat:last-child { border-bottom: none; }
.ail-click-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.ail-click-stat-icon.phone { background: rgba(37,99,235,0.08); }
.ail-click-stat-icon.whatsapp { background: rgba(37,211,102,0.1); }
.ail-click-stat-icon.email { background: rgba(255,159,10,0.1); }
.ail-click-stat-info { flex: 1; }
.ail-click-stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}
.ail-click-stat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    margin-top: 2px;
}

/* --- Lead Credits Module --- */
.ail-lead-credits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99,102,241,0.08);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #6366f1;
}

/* --- Vendor Module â€” Plugin Injected Sidebar (suppressed) --- */
.ail-plugin-sidebar-bridge { display: none !important; }

/* --- LPCF Plugin CSS Overrides for Theme --- */
/* The plugin loads lpcf-vendor-modules.css with its own styles. 
   We override position/size values to match our mobile-first layout. */
#lpcf-vm-analytics-chart { max-width: 100% !important; }
.lpcf-vm-analytics-period-btn {
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* --- Section Title --- */
.ail-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 8px;
}

/* =========================================================================
   DARK MODE â€” LPCF Plugin Modules
   ========================================================================= */
body.dark-mode .lpcf-vm-card,
body.dark-mode .ail-module-card {
    background: var(--card-bg, #1e293b);
    border-color: var(--border-color, rgba(255,255,255,0.06));
}
body.dark-mode .lpcf-vm-card-title {
    color: var(--text-primary, #f1f5f9);
}
body.dark-mode .ail-chat-thread:hover { background: rgba(37,99,235,0.1); }
body.dark-mode .ail-chat-thread.active { background: rgba(37,99,235,0.15); }
body.dark-mode .ail-chat-thread-info strong { color: var(--text-primary, #f1f5f9); }
body.dark-mode .lpcf-chat-theirs .lpcf-chat-bubble {
    background: var(--border-color, #334155);
    color: var(--text-primary, #f1f5f9);
}
body.dark-mode .lpcf-coupon-card { border-color: #475569; }
body.dark-mode .lpcf-coupon-code {
    background: rgba(37,99,235,0.12);
    color: #93c5fd;
}
body.dark-mode .ail-boost-card {
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(37,99,235,0.1)) !important;
    border-color: #1e3a5f !important;
}
body.dark-mode .ail-boost-active {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.1)) !important;
    border-color: #065f46 !important;
}
body.dark-mode .ail-click-stat-label { color: var(--text-primary, #f1f5f9); }
body.dark-mode .ail-section-title { color: var(--text-primary, #f1f5f9); }
body.dark-mode .ail-module-empty { color: var(--text-secondary, #94a3b8); }
body.dark-mode .ail-login-gated {
    background: rgba(239,68,68,0.15) !important;
    color: #fca5a5 !important;
}
body.dark-mode .ail-lead-credits {
    background: rgba(99,102,241,0.2);
    color: #a5b4fc;
}

/* =========================================================================
   SETTINGS TAB
   ========================================================================= */
.ail-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.04));
}
.ail-settings-row:last-child { border-bottom: none; }

#tab-settings .ail-module-card h4 {
    display: flex;
    align-items: center;
    gap: 6px;
}

#tab-settings .ail-field-input {
    font-size: 14px;
}

/* Password strength indicator */
.ail-password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 6px;
    background: #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}
.ail-password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

/* Dark mode overrides for settings */
body.dark-mode #tab-settings .ail-settings-row {
    border-color: var(--border-color, rgba(255,255,255,0.06));
}

/* =========================================================================
   PLUGIN BOOKING MODULE - DARK MODE OVERRIDES & POLISH
   ========================================================================= */
body.dark-mode #lpcf-booking-widget {
    background: var(--card-bg, #1e1e1e);
    border-color: var(--border-color, rgba(255,255,255,0.06));
}
body.dark-mode #lpcf-booking-widget h3 {
    color: var(--text-primary, #ffffff) !important;
}
body.dark-mode #lpcf-booking-widget p {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: var(--text-secondary, #a3a3a3) !important;
}
body.dark-mode .lpcf-bk-modal-inner {
    background: var(--bg-color, #121212);
}
body.dark-mode .lpcf-modal-hdr {
    background: var(--bg-color, #121212);
    border-bottom-color: rgba(255,255,255,0.06);
}
body.dark-mode .lpcf-modal-hdr h3,
body.dark-mode .lpcf-step-title {
    color: var(--text-primary, #ffffff) !important;
}
body.dark-mode .lpcf-close-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary, #a3a3a3);
}
body.dark-mode .lpcf-close-btn:hover {
    background: rgba(255,255,255,0.1);
}
body.dark-mode .lpcf-prof-card {
    background: var(--card-bg, #1e1e1e);
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .lpcf-prof-card.selected,
body.dark-mode .lpcf-prof-card:hover {
    border-color: #6366f1;
    background: rgba(99,102,241,0.05);
}
body.dark-mode .lpcf-prof-name {
    color: var(--text-primary, #ffffff);
}
body.dark-mode .lpcf-field label {
    color: var(--text-secondary, #a3a3a3);
}
body.dark-mode .lpcf-field input,
body.dark-mode .lpcf-field textarea,
body.dark-mode .lpcf-t-input {
    background: var(--card-bg, #1e1e1e);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-primary, #ffffff);
}
body.dark-mode .lpcf-field input:focus,
body.dark-mode .lpcf-field textarea:focus,
body.dark-mode .lpcf-t-input:focus {
    border-color: #6366f1;
}

body.dark-mode .lpcf-slot-bk {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
    color: #555;
}
body.dark-mode .lpcf-slot-loading,
body.dark-mode .lpcf-slot-msg,
body.dark-mode .lpcf-t-label {
    color: var(--text-secondary, #a3a3a3);
}
body.dark-mode .lpcf-btn-sec {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary, #ffffff);
}

/* Vendor Dashboard Bookings Styling */
body.dark-mode .lpcf-bk-tabs {
    background: var(--card-bg, #1e1e1e) !important;
    border-color: rgba(255,255,255,0.06) !important;
}
body.dark-mode .lpcf-tab-btn {
    color: var(--text-secondary, #a3a3a3) !important;
}
body.dark-mode .lpcf-tab-btn.active {
    background: var(--bg-color, #121212) !important;
    color: var(--text-primary, #ffffff) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
body.dark-mode .lpcf-day-row {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
body.dark-mode .lpcf-day-label {
    color: var(--text-primary, #ffffff) !important;
}
body.dark-mode #lpcf-step-4 p,
body.dark-mode #lpcf-step-4 div {
    color: var(--text-secondary, #a3a3a3) !important;
}
body.dark-mode #lpcf-step-4 h3 {
    color: var(--text-primary, #ffffff) !important;
}
body.dark-mode #lpcf-bk-id {
    color: var(--text-primary, #ffffff) !important;
}

/* ========================================================
   1. FIX: Sign Up & Forgot Password Links Visibility
   ======================================================== */
.pop-form-bottom .bottom-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.pop-form-bottom .bottom-links a {
    display: inline-block !important;
    color: #667eea !important; /* Premium link color */
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pop-form-bottom .bottom-links a:hover {
    color: #764ba2 !important;
}

/* Mobile par buttons ko upar-niche dikhane ke liye taaki easily click ho */
@media (max-width: 480px) {
    .pop-form-bottom .bottom-links {
        flex-direction: column !important;
        text-align: center !important;
    }
    .pop-form-bottom .bottom-links a {
        width: 100% !important;
        padding: 8px 0 !important;
    }
}

/* ========================================================
   2. FIX: Location Search Autocomplete Dropdown (Z-Index)
   ======================================================== */
.ui-autocomplete, 
.ui-menu, 
.ui-widget-content, 
.select2-container, 
.select2-dropdown, 
.chosen-container, 
.chosen-drop,
.lp-search-results {
    z-index: 9999999999 !important; /* Sabse upar laane ke liye */
    position: absolute !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Ensure ki main search container dropdown ko hide na kare */
.lp-search-bar-all, 
.lp-search-bar, 
.header-search, 
.form-group, 
.header-container,
.lp-home-banner-contianer {
    overflow: visible !important;
}

/* Location list items hover styling */
.ui-autocomplete .ui-menu-item, 
.ui-autocomplete .ui-menu-item a {
    padding: 10px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.ui-autocomplete .ui-menu-item:hover, 
.ui-autocomplete .ui-menu-item a:hover {
    background: #f8f9fa !important;
    color: #667eea !important;
}

/* ========================================================
   FIX: Bottom Mobile Menu Overlap Issue
   ======================================================== */

/* 1. Page ke sabse niche khali jagah banayein taaki content chhupe nahi */
@media (max-width: 768px) {
    body, 
    .main-wrapper, 
    #page, 
    #content {
        padding-bottom: 80px !important; /* Bottom menu ki height jitni jagah chhod dega */
    }

    /* Location Dropdown ko screen ke andar rakhne ke liye */
    .ui-autocomplete, 
    .select2-dropdown, 
    .chosen-drop, 
    .lp-search-results {
        max-height: 50vh !important; /* Screen ke half tak hi open hoga */
        padding-bottom: 60px !important; /* Dropdown ke last option ke niche space dega */
    }
}

/* 2. Bottom Menu ka Z-Index thoda kam karein taaki Search Dropdown uske UPAR aaye */
.app-view-header,
.lp-app-menu,
.bottom-nav-mobile,
.mobile-nav-bar,
.footer-bottom-menu {
    z-index: 9990 !important; /* Isko 9990 rakha hai */
}

/* 3. Search Dropdown ka Z-Index sabse high rakhein */
.ui-autocomplete, 
.ui-menu, 
.select2-container, 
.chosen-container {
    z-index: 2147483647 !important; /* Yeh hamesha bottom menu ke upar khulega */
    max-height: 250px !important;
    overflow-y: auto !important;
}

/* 4. Hide Bottom Menu when Keyboard is Open (Screen Height Shrinks) */
@media screen and (max-width: 768px) and (max-height: 550px) {
    .app-view-header,
    .lp-app-menu,
    .bottom-nav-mobile,
    .mobile-nav-bar,
    .footer-bottom-menu,
    .ail-bottom-nav {
        display: none !important;
    }
}

/* ========================================================
   MODERN AUTH TABS (LOGIN / SIGNUP)
   ======================================================== */
.ail-auth-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin: 0 20px 20px 20px;
}

.ail-auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ail-auth-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ========================================================
   FIX: Hamburger Drawer Menu Z-Index (must be above bottom nav)
   ======================================================== */
.ail-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999998 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ail-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ail-drawer-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999999 !important;
    box-shadow: -4px 0 25px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ail-drawer-menu.open {
    right: 0;
}

/* ============================================================
   MOBILE-FIRST: VENDOR BOOKING DASHBOARD STAT GRID
   Prevents 5-column stat strip from overflowing on mobile.
   Desktop (>768px) keeps repeat(5,1fr) from the inline style.
   ============================================================ */
@media (max-width: 768px) {
    #lpcf-bk-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .lpcf-stat-card {
        padding: 10px 6px !important;
        border-radius: 10px !important;
    }
    .lpcf-stat-card .lpcf-stat-val {
        font-size: 20px !important;
    }
    .lpcf-stat-card .lpcf-stat-lbl {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    .lpcf-stat-card .lpcf-stat-ico {
        font-size: 16px !important;
    }
}

/* ============================================================
   DYNAMIC THEME COLOR — set via output_dynamic_css() in PHP.
   These overrides are applied AFTER the stylesheet so they
   win without needing !important on individual properties.
   ============================================================ */
/* Placeholder: actual values injected inline by PHP */




/* ========================================================
   PREMIUM MOBILE APP UX REFINEMENTS
   ======================================================== */
@media (max-width: 768px) {
    /* Global App Padding */
    .ail-app-content { 
        padding: 16px 5px 100px 5px !important; /* Added 5px side padding */
        overflow-x: hidden; 
    }

    /* Section Titles - Match padding alignment */
    .ail-section-title {
        margin-left: 4px;
        margin-right: 4px;
    }

    /* Ad & Hero Wrappers - Ensure they respect the new container padding */
    .ail-hero-banner, .ail-ad-block, .lbai-ad-carousel-wrap { 
        width: 100% !important; 
        margin: 0 0 24px 0 !important; 
    }

    /* Premium rounded corners and soft shadows */
    .ail-hero-banner img, .swiper-slide img { 
        border-radius: 12px !important; 
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; 
    }
}


/* Global 5px Padding requested by user */
#page {
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ========================================================
   GOOGLE FONT — PREMIUM TYPOGRAPHY
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ========================================================
   SEE MORE REVIEWS BUTTON
   ======================================================== */
.ail-see-more-reviews {
    display: block;
    width: 100%;
    padding: 14px 20px;
    margin-top: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    text-align: center;
}
.ail-see-more-reviews:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ail-see-more-reviews:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

/* Fade-in animation for AJAX-loaded review cards */
.ail-review-fade-in {
    animation: reviewFadeIn 0.4s ease forwards;
}
@keyframes reviewFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   RELATED LISTINGS SLIDER
   ======================================================== */
.ail-related-section {
    margin-top: 30px;
    padding-bottom: 10px;
}
.ail-related-swiper {
    overflow: hidden;
}
.ail-related-card {
    display: block;
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ail-related-card:active {
    transform: scale(0.97);
}
.ail-related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.ail-related-info {
    padding: 10px 12px 12px;
}
.ail-related-info h4 {
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ail-related-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}
.ail-related-rating {
    color: #10b981;
}
.ail-related-cat {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

/* ========================================================
   HOMEPAGE PREMIUM POLISH
   ======================================================== */

/* Section Title upgrade */
.ail-section-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 18px;
}

/* Category Icon hover */
.ail-cat-icon {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ail-cat-item:hover .ail-cat-icon,
.ail-cat-item:active .ail-cat-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}



/* How It Works premium redesign */
.ail-how-it-works {
    margin-bottom: 30px;
    padding: 24px 16px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.ail-hiw-steps {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}
.ail-hiw-step {
    text-align: center;
    flex: 1;
    padding: 12px 6px;
}
.ail-hiw-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border-radius: 16px;
    font-size: 24px;
    background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(99,102,241,0.1);
}
.ail-hiw-step h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}
.ail-hiw-step p {
    margin: 0;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* Vendor CTA Premium */
.ail-vendor-cta {
    margin: 0 0 30px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.ail-vendor-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.ail-vcta-content {
    padding: 28px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.ail-vcta-content h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.ail-vcta-content p {
    margin: 0 0 18px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.ail-vcta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #1e1b4b;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.ail-vcta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Quick Services Section Polish */
.ail-quick-services {
    margin-bottom: 24px;
}
.ail-qs-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ail-qs-scroll::-webkit-scrollbar { display: none; }
.ail-qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 68px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
}
.ail-qs-item:active { transform: scale(0.93); }
.ail-qs-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ail-qs-item:hover .ail-qs-icon {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.ail-qs-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
}

/* Quick Services Grid Layout */
.ail-qs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
}

/* Noteworthy Cards upgrade */
.ail-card-wrap {
    position: relative;
}
.ail-card-badge-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.ail-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ail-badge-verified {
    background: rgba(16,185,129,0.15);
    color: #065f46;
    border: 1px solid rgba(16,185,129,0.3);
}
.ail-badge-featured {
    background: rgba(245,158,11,0.15);
    color: #92400e;
    border: 1px solid rgba(245,158,11,0.3);
}

/* Fav Button positioning on cards */
.ail-fav-btn {
    position: absolute;
    bottom: 50px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.ail-fav-btn:active { transform: scale(0.88); }

/* Hero Fav positioning on single listing */
.ail-hero-fav {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: auto;
}

/* Review Cards polish */
.ail-reviews-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.ail-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.ail-write-review-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.ail-write-review-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.ail-review-card {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease;
}
.ail-review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.ail-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ail-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f5f9;
}
.ail-review-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ail-review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.ail-review-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}
.ail-review-stars {
    font-size: 12px;
}
.ail-review-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

/* Gallery Section */
.ail-gallery-section {
    margin-bottom: 25px;
}
.ail-gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.ail-gallery-scroll::-webkit-scrollbar { display: none; }
.ail-gallery-item {
    flex: 0 0 auto;
}
.ail-gallery-item img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

/* Contact Action Pills */
.ail-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.ail-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ail-contact-pill:active { transform: scale(0.95); }
.ail-pill-call {
    background: #dcfce7;
    color: #166534;
}
.ail-pill-whatsapp {
    background: #dcfce7;
    color: #166534;
}
.ail-pill-email {
    background: #dbeafe;
    color: #1e40af;
}
.ail-pill-chat {
    background: #f1f5f9;
    color: #334155;
}

/* Lead Credits Badge */
.ail-lead-credits {
    display: inline-block;
    padding: 6px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
}

/* Share button on single hero */
.ail-share-btn {
    position: absolute;
    top: 20px;
    right: 70px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========================================================
   HOMEPAGE HERO BANNER ENHANCEMENT
   ======================================================== */
.ail-hero-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}
.ail-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    pointer-events: none;
}

/* Noteworthy card hover */
.ail-noteworthy-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ail-noteworthy-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Section Dividers */
.ail-category-grid-section,
.ail-noteworthy-section,
.ail-how-it-works {
    position: relative;
}

/* Ad Block premium styling */
.ail-ad-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
}
.ail-ad-block img {
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.ail-ad-block:hover img {
    transform: scale(1.01);
}

/* Autocomplete dropdown */
.ail-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 101;
    max-height: 300px;
    overflow-y: auto;
}

/* ================================================================
   POPULAR CITIES SECTION
   ================================================================ */
.ail-popular-cities {
    padding: 0 16px;
    margin-bottom: 24px;
}
.ail-cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.ail-city-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ail-city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.ail-city-bg {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}
.ail-city-card:hover .ail-city-bg {
    opacity: 1;
}
.ail-city-info {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.ail-city-info h3 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.ail-city-info span {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

/* Desktop: 4 columns */
@media (min-width: 768px) {
    .ail-cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .ail-city-card {
        height: 120px;
    }
}

/* ================================================================
   TRENDING LISTINGS SECTION
   ================================================================ */
.ail-trending-section {
    padding: 0 16px;
    margin-bottom: 24px;
}
.ail-trending-scroll {
    overflow: visible;
}

/* ================================================================
   RATING BREAKDOWN CHART
   ================================================================ */
.ail-rating-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ail-rating-overall {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}
.ail-rating-big {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.ail-rating-stars {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.ail-rating-total {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}
.ail-rating-bars {
    flex: 2;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
.ail-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ail-rating-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 24px;
}
.ail-rating-bar-bg {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}
.ail-rating-bar-fill {
    height: 100%;
    background: #fbbf24;
    border-radius: 3px;
    transition: width 0.8s ease-out;
}
.ail-rating-pct {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: right;
}

/* Dark Mode overrides */
[data-theme="dark"] .ail-city-info {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}
[data-theme="dark"] .ail-trending-section .ail-noteworthy-card {
    background: var(--card-bg);
}
[data-theme="dark"] .ail-rating-overall {
    border-right-color: rgba(255,255,255,0.1);
}

/* Cache-safe dual logos */
.ail-logo-mobile { display: none; }
.ail-logo-desktop { display: block; max-height: 50px; width: auto; }
@media (max-width: 768px) {
    .ail-logo-desktop { display: none; }
    .ail-logo-mobile { display: block; max-height: 40px; width: auto; }
}

/* Swiper fallback to prevent layout flash */
@media (max-width: 768px) {
    .swiper:not(.swiper-initialized) .swiper-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .swiper:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar { display: none; }
    .swiper:not(.swiper-initialized) .swiper-slide { scroll-snap-align: start; flex-shrink: 0; }
}

/* ========================================================
   CUSTOMIZABLE BRAND FOOTER STYLES
   ======================================================== */
.ail-brand-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 40px 20px 30px;
    margin-top: 40px;
    font-family: inherit;
    color: #475569;
}
.ail-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.ail-footer-col {
    display: flex;
    flex-direction: column;
}
.ail-footer-brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}
.ail-footer-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px;
}
.ail-footer-pwa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color, #10b981);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16,185,129,0.15);
    transition: all 0.2s ease;
    align-self: flex-start;
}
.ail-footer-pwa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16,185,129,0.25);
}
.ail-footer-col-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ail-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ail-footer-links li {
    list-style: none !important;
}
.ail-footer-links li a {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.ail-footer-links li a:hover {
    color: var(--primary-color, #10b981);
}
.ail-footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}
.ail-footer-copy {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    font-weight: 600;
}

/* Dark Mode fixes for Brand Footer */
body.dark-mode .ail-brand-footer {
    background: #0f172a;
    border-top-color: #1e293b;
    color: #94a3b8;
}
body.dark-mode .ail-footer-brand-title,
body.dark-mode .ail-footer-col-title {
    color: #f8fafc;
}
body.dark-mode .ail-footer-bio,
body.dark-mode .ail-footer-links li a {
    color: #94a3b8;
}
body.dark-mode .ail-footer-links li a:hover {
    color: var(--primary-color, #10b981);
}
body.dark-mode .ail-footer-bottom {
    border-top-color: #1e293b;
}

@media (max-width: 768px) {
    .ail-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ail-brand-footer {
        padding: 30px 16px 20px;
        margin-top: 30px;
    }
}
