/* =====================================================
   NEXOR CRM RESPONSIVE STYLES
   Optimized for 320px, 360px, 375px, 390px, 414px
===================================================== */

/* Hide mobile-only elements on desktop */
.nexorcrm-mobile-only{
    display:none;
}

/* =========================================
   LARGE DESKTOP (1200px - 1500px)
========================================= */
@media (min-width:1200px) and (max-width:1500px){

    .nexorcrm-title{
        font-size:58px;
    }

    .floating-card{
        min-width:220px;
    }
}

/* =========================================
   DESKTOP / LAPTOP (992px - 1199px)
========================================= */
@media (min-width:992px) and (max-width:1199px){

    .nexorcrm-title{
        font-size:48px;
    }

    .hero-description{
        font-size:17px;
    }

    .navbar-menu ul{
        gap:16px;
    }

    .floating-card{
        min-width:200px;
        padding:14px 16px;
    }

    .card-1{ left:-20px; }
    .card-2{ right:-20px; }
    .card-3{ left:-25px; }

    .showcase-text{
        padding:60px;
    }

    .pricing-layout{
        grid-template-columns:1fr;
        max-width:760px;
        margin:0 auto 48px;
    }
}

/* =========================================
   TABLET (768px - 991px)
========================================= */
@media (min-width:768px) and (max-width:991px){

    .nexorcrm-mobile-only{
        display:block;
    }

    .nexorcrm-navbar{
        padding:14px 0;
    }

    .navbar-wrapper{
        gap:16px;
    }

    .navbar-menu{
        display:none !important;
    }

    .navbar-actions{
        gap:12px;
    }

    .demo-btn{
        padding:12px 20px;
        font-size:14px;
    }

    .nexorcrm-hero-area{
        padding-top:130px !important;
        padding-bottom:80px;
        text-align:center;
    }

    .nexorcrm-hero-content{
        max-width:100%;
        margin:0 auto;
    }

    .nexorcrm-title{
        font-size:42px;
        line-height:1.08;
    }

    .hero-description{
        max-width:680px;
        margin:0 auto 36px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        grid-template-columns:repeat(3,1fr);
    }

    .floating-card{
        display:none;
    }

    .nexorcrm-hero-thumb{
        margin-top:48px;
    }

    .bento-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .bento-large,
    .bento-wide{
        grid-column:1 / -1;
    }

    .showcase-row{
        grid-template-columns:1fr;
    }

    .showcase-image{
        height:380px;
    }

    .showcase-text{
        padding:44px 32px;
        max-width:none;
    }

    .analytics-strip{
        grid-template-columns:repeat(2,1fr);
    }

    .pricing-layout{
        grid-template-columns:1fr;
        max-width:720px;
        margin:0 auto 48px;
    }
}

/* =========================================
   MOBILE (max-width: 767px)
========================================= */
@media (max-width:767px){

    /* Container */
    .container{
        width:100%;
        max-width:100%;
        padding-left:16px;
        padding-right:16px;
    }

    /* Navbar */
    .nexorcrm-navbar{
        padding:12px 0;
    }

    .navbar-wrapper{
        flex-wrap:nowrap;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

    .navbar-menu{
        display:none !important;
    }

    .navbar-logo{
        flex:1;
        min-width:0;
    }

    .navbar-logo-img{
        height:34px;
        max-width:140px;
        width:auto;
    }

    .navbar-actions{
        gap:10px;
        flex-shrink:0;
    }

    .login-link{
        display:none !important;
    }

    .demo-btn{
        padding:10px 14px;
        font-size:13px;
        border-radius:12px;
        white-space:nowrap;
    }

    /* Hero */
    .nexorcrm-hero-area{
        padding-top:112px !important;
        padding-bottom:64px;
        min-height:auto;
    }

    .hero-badge{
        font-size:11px;
        padding:8px 14px;
        margin-bottom:18px;
    }

    .nexorcrm-title{
        font-size:34px;
        line-height:1.12;
        letter-spacing:-1px;
        margin-bottom:18px;
    }

    .hero-description{
        font-size:15px;
        line-height:1.7;
        margin-bottom:28px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
        margin-bottom:32px;
    }

    .main-btn{
        width:100%;
        text-align:center;
        padding:14px 20px;
        font-size:15px;
    }

    /* Stats */
    .hero-stats{
        grid-template-columns:1fr;
        gap:14px;
    }

    .stat-card{
        padding:22px 18px;
        border-radius:18px;
    }

    .stat-card h3{
        font-size:30px;
    }

    .stat-card p{
        font-size:13px;
    }

    /* Dashboard */
    .nexorcrm-hero-thumb{
        margin-top:36px;
    }

    .dashboard-image{
        border-radius:22px;
    }

    .floating-card{
        display:none !important;
    }

    /* Sections */
    .nexorcrm-service-area,
    .nexorcrm-features-bento-area,
    .nexorcrm-work-area,
    .nexorcrm-benefits-area,
    .nexorcrm-pricing-area{
        padding-top:72px;
        padding-bottom:72px;
    }

    .nexorcrm-section-title{
        margin-bottom:24px;
    }

    .nexorcrm-section-title .nexorcrm-title{
        font-size:32px;
        line-height:1.15;
        margin-bottom:12px;
    }

    .nexorcrm-section-title p{
        font-size:10px;
        line-height:1.7;
    }

    /* Service cards */
    .nexorcrm-service-card{
        padding:24px 20px;
        border-radius:22px;
    }

    .service-icon{
        width:60px;
        height:60px;
        border-radius:18px;
        font-size:24px;
        margin-bottom:18px;
    }

    .nexorcrm-service-card h4{
        font-size:22px;
    }

    /* Bento */
    .bento-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .bento-large,
    .bento-wide,
    .bento-card:not(.bento-large):not(.bento-wide){
        grid-column:1 / -1;
        min-height:auto;
    }

    .bento-card{
        padding:22px;
        border-radius:24px;
    }

    .bento-wide{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
    }

    .bento-icon{
        width:68px;
        height:68px;
        border-radius:20px;
        font-size:28px;
        margin-bottom:18px;
    }

    .bento-large h3{
        font-size:28px;
    }

    .bento-card h4{
        font-size:22px;
    }

    .bento-card p{
        font-size:14px;
        line-height:1.7;
    }

    /* Work cards */
    .work-image{
        height:190px;
    }

    .work-content{
        padding:22px;
    }

    .work-content h4{
        font-size:22px;
    }

    .work-content p{
        font-size:14px;
    }

    /* Benefits */
    .benefits-title{
        font-size:32px;
        line-height:1.15;
    }

    .metric-card{
        display:none;
    }

    .benefit-item{
        padding:18px;
        gap:14px;
        border-radius:22px;
    }

    .benefit-icon{
        width:56px;
        height:56px;
        border-radius:18px;
        font-size:22px;
    }

    .benefit-item h4{
        font-size:20px;
    }

    .benefit-item p{
        font-size:14px;
    }

    .kpi-light-card{
        padding:24px 20px;
        border-radius:24px;
    }

    .kpi-light-card h3{
        font-size:22px;
    }

    /* Industries */
    .showcase-row{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .showcase-image{
        height:260px;
    }

    .showcase-text{
        padding:28px 20px;
        max-width:none;
    }

    .showcase-text h2{
        font-size:30px;
        line-height:1.12;
        letter-spacing:-1px;
    }

    .showcase-text p{
        font-size:15px;
    }

    .showcase-list li{
        font-size:15px;
        padding-left:30px;
    }

    .showcase-metric{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .showcase-metric strong{
        font-size:42px;
    }

    .analytics-strip{
        grid-template-columns:1fr;
    }

    .strip-item{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,0.08);
        padding:26px 18px;
    }

    .strip-item:last-child{
        border-bottom:none;
    }

    .strip-item h3{
        font-size:30px;
    }

    /* Pricing */
    .pricing-title{
        font-size:32px;
        line-height:1.12;
        letter-spacing:-1px;
    }

    .pricing-subtitle{
        font-size:15px;
    }

    .billing-toggle{
        flex-wrap:wrap;
        gap:10px;
        font-size:14px;
    }

    .pricing-layout{
        grid-template-columns:1fr;
        gap:20px;
    }

    .price-panel{
        padding:28px 22px;
        border-radius:28px;
    }

    .plan-price h3{
        font-size:48px;
    }

    .comparison-strip{
        grid-template-columns:1fr;
    }

    .compare-item{
        text-align:left;
    }

    .cta-buttons{
        flex-direction:column;
        gap:12px;
    }

    .cta-buttons .main-btn{
        width:100%;
    }

    /* FAQ */
    .faq-title{
        font-size:32px;
    }

    .faq-question{
        padding:20px 18px;
        font-size:15px;
    }

    .faq-answer{
        padding:0 18px 20px;
    }

    /* Prevent horizontal scroll */
    html, body{
        overflow-x:hidden;
    }

    img{
        max-width:100%;
        height:auto;
    }

    *{
        word-wrap:break-word;
    }
}
/* =========================================
   320px EXTRA SMALL DEVICES (FINAL WORKING)
========================================= */
@media (max-width:320px){

    /* Prevent overflow */
    html, body{
        overflow-x:hidden !important;
    }

    *{
        box-sizing:border-box;
    }

    /* Container */
    .container{
        padding-left:10px !important;
        padding-right:10px !important;
    }

    /* Navbar */
    .navbar-logo-img{
        height:28px !important;
        max-width:115px !important;
    }

    .demo-btn{
        padding:7px 10px !important;
        font-size:11px !important;
    }

    /* Hero */
    .nexorcrm-hero-area{
        padding-top:95px !important;
        padding-bottom:50px !important;
    }

    /* REDUCED FONT SIZE */
    .nexorcrm-title{
        font-size:22px !important;
        line-height:1.18 !important;
        letter-spacing:-0.3px !important;
    }

    .hero-description{
        font-size:13px !important;
        line-height:1.65 !important;
    }

    .main-btn{
        padding:12px 14px !important;
        font-size:13px !important;
    }

    /* Stats */
    .stat-card{
        padding:16px 12px !important;
    }

    .stat-card h3{
        font-size:24px !important;
    }

    /* Section titles */
    .nexorcrm-section-title .nexorcrm-title,
    .pricing-title,
    .faq-title{
        font-size:15px !important;
        line-height:1.2 !important;
    }

 /* =================================================
   SERVICE SECTION - SMALL VERTICAL CARDS ONLY
   (Does NOT affect other sections)
================================================= */

/* Full width columns */
.nexorcrm-service-area .col-12,
.nexorcrm-service-area .col-md-6,
.nexorcrm-service-area .col-lg-3{
    width:100% !important;
    flex:0 0 100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin-bottom:10px !important;
}

/* Small vertical cards */
.nexorcrm-service-card.glass-card{
    width:100% !important;
    max-width:100% !important;
    min-height:112px !important;
    padding:14px 12px !important;
    border-radius:20px !important;
    margin:0 !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:8px !important;
}

/* Small icon */
.nexorcrm-service-card.glass-card .service-icon{
    width:46px !important;
    height:46px !important;
    border-radius:14px !important;
    margin:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.nexorcrm-service-card.glass-card .service-icon i{
    font-size:18px !important;
}

/* White heading text */
.nexorcrm-service-card.glass-card h4{
    font-size:15px !important;
    line-height:1.25 !important;
    margin:0 !important;
    font-weight:700 !important;
    color:#ffffff !important;
    text-align:center !important;
}

/* Hide paragraph completely */
.nexorcrm-service-card.glass-card p{
    display:none !important;
}

    /* =========================================
       WIDE + SMALL LIGHT CARDS (UNCHANGED)
    ========================================= */

    .kpi-light-card{
        width:100% !important;
        max-width:100% !important;
        padding:12px 10px !important;
        min-height:130px !important;
        height:auto !important;
        border-radius:18px !important;
        margin:0 0 10px 0 !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .kpi-light-card img{
        width:46px !important;
        height:46px !important;
        object-fit:contain !important;
        margin-bottom:8px !important;
    }

    .kpi-light-card h3{
        font-size:15px !important;
        line-height:1.2 !important;
        margin-bottom:6px !important;
        font-weight:700 !important;
    }

    .kpi-light-card p{
        font-size:11px !important;
        line-height:1.45 !important;
        margin:0 !important;
        color:#64748b !important;
    }

    /* Pricing */
    .price-panel{
        padding:20px 18px !important;
    }

    .plan-price h3{
        font-size:34px !important;
    }

 /* =========================================
   CTA SECTION - SMALL MOBILE TEXT
========================================= */

/* Ready badge */
.nexorcrm-cta-area .cta-badge{
    font-size:10px !important;
    padding:6px 12px !important;
    letter-spacing:0.5px !important;
}

/* Main heading */
.nexorcrm-cta-area .nexorcrm-title{
    font-size:20px !important;
    line-height:1.15 !important;
    letter-spacing:-0.3px !important;
    margin-bottom:14px !important;
}

/* Description text */
.nexorcrm-cta-area p{
    font-size:12px !important;
    line-height:1.6 !important;
    margin-bottom:18px !important;
}

/* Buttons smaller */
.nexorcrm-cta-area .main-btn{
    width:100% !important;
    padding:11px 14px !important;
    font-size:13px !important;
    border-radius:14px !important;
}

/* Button spacing */
.nexorcrm-cta-area .cta-buttons{
    gap:10px !important;
}

/* Reduce overall section spacing */
.nexorcrm-cta-area{
    padding-top:44px !important;
    padding-bottom:44px !important;
}
}

/* =========================================
   FINAL WIDE + SMALL KPI CARD FIX
   (UNCHANGED)
========================================= */

.nexorcrm-kpi-area{
    padding-left:0 !important;
    padding-right:0 !important;
}

.nexorcrm-kpi-area .container{
    max-width:100% !important;
    width:100% !important;
    padding-left:6px !important;
    padding-right:6px !important;
}

.nexorcrm-kpi-area .kpi-light-card{
    width:100% !important;
    max-width:100% !important;
    padding:12px 10px !important;
    min-height:122px !important;
    border-radius:18px !important;
    margin-bottom:8px !important;
}


/* =================================================
   FINAL FORCE - LIGHT KPI CARDS (320px ONLY)
================================================= */
@media (max-width:320px){

    /* Target the exact cards from your screenshot */
    .kpi-light-card{
        width:100% !important;
        max-width:100% !important;
        min-height:72px !important;
        padding:10px 12px !important;
        border-radius:16px !important;

        /* Horizontal layout */
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        text-align:left !important;
    }

    /* Small icon */
    .kpi-light-card img{
        width:34px !important;
        height:34px !important;
        object-fit:contain !important;
        margin:0 !important;
        flex-shrink:0 !important;
    }

    /* Small title only */
    .kpi-light-card h3{
        font-size:13px !important;
        line-height:1.2 !important;
        margin:0 !important;
        font-weight:700 !important;
        color:#0b1020 !important;
    }

    /* Hide paragraph completely */
    .kpi-light-card p{
        display:none !important;
    }

    /* Remove extra spacing */
    .kpi-light-card *{
        margin-bottom:0 !important;
    }
}


/* =========================================
   MAKE THE FIRST LARGE CARD COMPACT TOO
   (320px ONLY)
========================================= */
@media (max-width:320px){

    /* First feature card */
    .nexorcrm-service-card{
        width:100% !important;
        max-width:100% !important;
        min-height:78px !important;
        padding:12px 14px !important;
        border-radius:18px !important;

        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:12px !important;
        text-align:left !important;
    }

    /* Icon */
    .nexorcrm-service-card .service-icon{
        width:44px !important;
        height:44px !important;
        border-radius:14px !important;
        margin:0 !important;
        flex-shrink:0 !important;
    }

    .nexorcrm-service-card .service-icon i{
        font-size:18px !important;
        line-height:44px !important;
    }

    /* Title */
    .nexorcrm-service-card h4{
        font-size:14px !important;
        line-height:1.25 !important;
        margin:0 !important;
        font-weight:700 !important;
    }

    /* Hide paragraph */
    .nexorcrm-service-card p{
        display:none !important;
    }
}


/* =========================================
   FORCE SMALL CTA TEXT - 320px ONLY
========================================= */
@media screen and (max-width:320px){

    /* Main CTA heading */
    .nexorcrm-cta-area h1,
    .nexorcrm-cta-area h2,
    .nexorcrm-cta-area .nexorcrm-title{
        font-size:16px !important;
        line-height:1.1 !important;
        letter-spacing:-0.2px !important;
        margin-bottom:10px !important;
        font-weight:700 !important;
    }

    /* Description */
    .nexorcrm-cta-area p{
        font-size:10px !important;
        line-height:1.5 !important;
        margin-bottom:14px !important;
    }

    /* Badge */
    .nexorcrm-cta-area .cta-badge{
        font-size:8px !important;
        padding:4px 10px !important;
    }

    /* Buttons */
    .nexorcrm-cta-area .main-btn{
        padding:9px 12px !important;
        font-size:11px !important;
        border-radius:12px !important;
    }

    /* Section spacing */
    .nexorcrm-cta-area{
        padding-top:28px !important;
        padding-bottom:28px !important;
    }
}






/* =================================================
   320px MOBILE POPUP + WHATSAPP BAR
================================================= */
@media screen and (max-width:320px){

    /* Hide floating enquiry button */
    .nexorcrm-enquiry-btn{
        display:none !important;
    }

    /* Sticky bottom bar */
    .nexorcrm-mobile-bar{
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        width:100%;
        height:58px;
        background:#ffffff;
        display:flex;
        z-index:99999;
        box-shadow:0 -4px 20px rgba(0,0,0,0.08);
    }

    /* Common button styles */
    .nexorcrm-mobile-bar button,
    .nexorcrm-mobile-bar a{
        flex:1;
        border:none;
        text-decoration:none;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        font-size:13px;
        font-weight:700;
        cursor:pointer;
    }

    /* Popup button */
    .mobile-popup-btn{
        background:#9b2cfa;
        color:#ffffff;
        border-right:1px solid rgba(255,255,255,0.15);
    }

    /* WhatsApp button */
    .mobile-whatsapp-btn{
        background:#25D366;
        color:#ffffff;
    }

    /* Icons */
    .mobile-popup-btn i,
    .mobile-whatsapp-btn i{
        font-size:15px;
    }

    /* Add space so content is not hidden */
    body{
        padding-bottom:58px !important;
    }
}


/* =========================================
   FINAL 320px POLISH
========================================= */
@media screen and (max-width:320px){

    /* Add safe space for sticky bar */
    body{
        padding-bottom:72px !important;
    }

    /* Bottom bar height */
    .nexorcrm-mobile-bar{
        height:62px !important;
    }

    /* Buttons */
    .mobile-popup-btn,
    .mobile-whatsapp-btn{
        font-size:13px !important;
        font-weight:700 !important;
    }

    /* Hero spacing */
    .nexorcrm-hero-area{
        padding-bottom:24px !important;
    }

    /* Last section spacing */
    section:last-of-type,
    .nexorcrm-cta-area{
        margin-bottom:12px !important;
    }

    /* Make hero buttons slightly more compact */
    .main-btn{
        height:48px !important;
        font-size:14px !important;
    }
}

@media screen and (max-width: 320px){

    .nexorcrm-mobile-bar{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 62px;
        display: flex;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    }

    .nexorcrm-mobile-bar button,
    .nexorcrm-mobile-bar a{
        flex: 1;
        border: none;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    /* ENQUIRY COLOR */
    .mobile-popup-btn{
        background: linear-gradient(135deg, #c026d3, #7c3aed) !important;
        color: #ffffff !important;
    }

    /* WHATSAPP COLOR */
    .mobile-whatsapp-btn{
        background: linear-gradient(135deg, #059669, #10b981) !important;
        color: #ffffff !important;
    }

    /* ICON SIZE */
    .mobile-popup-btn i,
    .mobile-whatsapp-btn i{
        font-size: 15px;
    }

    /* HOVER */
    .mobile-popup-btn:hover{
        background: linear-gradient(135deg, #a21caf, #6d28d9) !important;
    }

    .mobile-whatsapp-btn:hover{
        background: linear-gradient(135deg, #047857, #059669) !important;
    }

    /* Prevent content from hiding behind bar */
    body{
        padding-bottom: 70px !important;
    }
}




/* =========================================
   ENABLE SMOOTH FULL PAGE SCROLL ON MOBILE
========================================= */

html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* Make sure main page can scroll */
.nexorcrm-page,
main,
.nexorcrm-wrapper{
    overflow: visible !important;
}

/* Mobile specific */
@media screen and (max-width: 320px){

    html,
    body{
        height: auto !important;
        min-height: 100%;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    body{
        position: relative !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================
   FORCE MOBILE PAGE SCROLL (FINAL)
========================================= */

/* Reset any scroll lock */
html,
body{
    width: 100%;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: static !important;
    -webkit-overflow-scrolling: touch;
}

/* Make the whole page scrollable */
body{
    height: auto !important;
    touch-action: auto !important;
}

/* Important: remove any fixed height from wrappers */
.nexorcrm-wrapper,
.nexorcrm-page,
main,
.appie-page,
.appie-main{
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

/* Mobile 320px */
@media screen and (max-width: 320px){

    /* Allow full page scrolling */
    html,
    body{
        overflow-y: scroll !important;
        overflow-x: hidden !important;
    }

    /* Keep bottom bar fixed */
    .nexorcrm-mobile-bar{
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
    }

    /* Add space so content is not hidden behind buttons */
    body{
        padding-bottom: 72px !important;
    }
}


/* =========================================
   320px MOBILE - SMALL POPUP FORM
========================================= */
@media screen and (max-width: 320px) {

    /* Overlay */
    .nexorcrm-popup-overlay{
        padding: 8px;
        align-items: center;
        justify-content: center;
    }

  #nexorcrmPopup .nexorcrm-popup{
    width: calc(100vw - 16px) !important;
    max-width: 295px !important;
    max-height: 64vh !important;   /* smaller height */
    overflow-y: auto !important;
    padding: 10px !important;
    padding-bottom: 70px !important; /* extra space for button */
    border-radius: 14px !important;
    margin-bottom: 70px !important; /* clear sticky bar */
}

    /* Hide scrollbar */
    .nexorcrm-popup::-webkit-scrollbar{
        width: 0;
    }

    /* Heading */
    .nexorcrm-popup h2{
        font-size: 22px;
        line-height: 1.1;
        margin-bottom: 6px;
        text-align: center;
    }

    /* Subtitle */
    .nexorcrm-popup p{
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
        text-align: center;
    }

    /* Form spacing */
    .nexorcrm-popup form{
        gap: 8px;
    }

    /* Inputs */
    .nexorcrm-popup input,
    .nexorcrm-popup select,
    .nexorcrm-popup textarea{
        height: 36px;
        padding: 8px 10px;
        font-size: 10px;
        border-radius: 12px;
    }

   #nexorcrmPopup textarea{
    height: 52px !important;
    min-height: 52px !important;
}

   #nexorcrmPopup button[type='submit']{
    height: 38px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    margin-top: 2px !important;
}

    /* Close button */
    .nexorcrm-popup .close-popup-close{
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 8px;
        right: 8px;
    }

    /* Keep bottom mobile bar visible */
    .nexorcrm-mobile-bar{
        z-index: 9999;
    }

    /* Popup above the bottom bar */
    .nexorcrm-popup-overlay{
        z-index: 9998;
    }
}



/* =========================================
   SLICK MOBILE BOTTOM BAR
========================================= */
@media screen and (max-width: 320px){

    .nexorcrm-mobile-bar{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px !important;   /* smaller */
        display: flex;
        z-index: 99999;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
        backdrop-filter: blur(10px);
    }

    .nexorcrm-mobile-bar button,
    .nexorcrm-mobile-bar a{
        flex: 1;
        border: none;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 12px !important;
        font-weight: 600 !important;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    /* Enquiry button */
    .mobile-popup-btn{
        background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
        color: #fff !important;
    }

    /* WhatsApp button */
    .mobile-whatsapp-btn{
        background: linear-gradient(135deg, #16a34a, #22c55e) !important;
        color: #fff !important;
    }

    /* Icon size */
    .mobile-popup-btn i,
    .mobile-whatsapp-btn i{
        font-size: 14px !important;
    }

    /* Press effect */
    .nexorcrm-mobile-bar button:active,
    .nexorcrm-mobile-bar a:active{
        transform: scale(0.97);
    }

    /* Page space */
    body{
        padding-bottom: 56px !important;
    }
}