/* Build Bengal Network - Custom Frontend Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bb-orange: #f05a28;
    --bb-red: #da2c27;
    --bb-red-dark: #b51c18;
    --bb-orange-light: #fffaf7;
    --bb-slate-800: #1e293b;
    --bb-slate-600: #475569;
    --bb-slate-50: #f8fafc;
    --bb-border: #e2e8f0;
    --bb-font: 'Outfit', 'Poppins', sans-serif;
    --primary-gradient: linear-gradient(135deg, #f05a28, #ff7e53);
}

body {
    font-family: var(--bb-font);
    background-color: #ffffff;
    color: var(--bb-slate-800);
}

/* Custom Nav Header Redesign - Single Row Premium Header */
header.header-fixed {
    font-family: var(--bb-font);
    background-color: #ffffff;
    border-bottom: 1px solid var(--bb-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    height: 70px !important;
    z-index: 999999 !important;
}

/* Desktop Styles (min-width: 992px) */
@media (min-width: 992px) {
    .header-row1, .header-divider {
        display: none !important;
    }
    
    .header-row2 {
        display: flex !important;
        align-items: center !important;
        height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-row2-inner {
        max-width: none !important;
        margin: 0 auto !important;
        padding: 0 40px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-links {
        margin-left: auto !important;
        margin-right: 40px !important;
    }
}

.header-logo-wrap {
    max-width: none !important;
    margin: 0 auto;
    padding: 0 40px !important;
    position: relative;
    width: 100%;
}
@media (max-width: 991px) {
    .header-logo-wrap {
        padding: 0 16px;
    }
}

.bb-logo-text {
    font-weight: 800;
    font-size: 24px !important;
    color: var(--bb-slate-800) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    position: absolute !important;
    top: 16px !important;
    left: 24px !important; /* Aligns with padding-left of header-logo-wrap */
    z-index: 100 !important;
}

@media (min-width: 992px) {
    .nav-logo-desktop {
        position: static !important;
        font-size: 24px !important;
        font-weight: 800 !important;
        color: var(--bb-slate-800) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-right: 20px !important;
    }
}

@media (max-width: 991px) {
    .nav-logo-desktop {
        display: none !important;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .nav-links {
        margin-right: 15px !important;
    }
    .nav-link {
        padding: 0 8px !important;
        font-size: 13px !important;
    }
    .header-actions-group {
        gap: 6px !important;
        margin-left: 10px !important;
    }
    .btn-register-header {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }
    .btn-get-in-touch {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 991px) {
    .bb-logo-text {
        font-size: 20px !important;
        top: 12px !important;
        left: 16px !important; /* Aligns with padding-left on mobile */
        flex-direction: row !important;
    }
}

.bb-logo-text span {
    color: var(--bb-orange);
}
.bb-logo-text i {
    color: var(--bb-red);
}

body.no-scroll {
    overflow: hidden !important;
}

/* Mobile Header Redesign (max-width: 991px) */
@media (max-width: 991px) {
    header.header-fixed {
        height: 56px !important;
    }
    
    .header-row1-right {
        display: none !important; /* Hide social icons, translate, badge on mobile header */
    }

    .header-row1-inner {
        padding: 0 16px 0 180px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .nav-hamburger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        color: var(--bb-slate-800) !important;
        background: transparent !important;
        border: none !important;
        font-size: 22px !important;
        cursor: pointer !important;
        z-index: 99999 !important;
    }

    .header-divider, .header-row2 {
        display: none !important;
    }

    /* Show mobile menu drawer when open */
    header.header-fixed.mobile-menu-open {
        height: 100vh !important;
        background-color: #ffffff !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
    }

    header.header-fixed.mobile-menu-open .header-row2 {
        display: block !important;
        padding: 0 24px 20px 24px !important;
    }

    header.header-fixed.mobile-menu-open .mobile-search-wrap {
        display: block !important;
        margin-left: -3px !important;
        margin-bottom: -4px !important;
        width: calc(100% + 3px) !important;
    }

    header.header-fixed.mobile-menu-open .header-row2-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        padding-top: 0 !important;
    }

    header.header-fixed.mobile-menu-open .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    header.header-fixed.mobile-menu-open .nav-links li {
        width: 100% !important;
    }

    header.header-fixed.mobile-menu-open .nav-links li a {
        font-size: 16px !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: block !important;
        font-weight: 600 !important;
        color: var(--bb-slate-700) !important;
        width: 100% !important;
    }

    header.header-fixed.mobile-menu-open .header-actions-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-left: 0 !important;
        padding-top: 16px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    header.header-fixed.mobile-menu-open .header-actions-group .btn-register-header,
    header.header-fixed.mobile-menu-open .header-actions-group .btn-get-in-touch {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
    }

    /* Handle profile dropdown in mobile menu */
    header.header-fixed.mobile-menu-open .hdr-user-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    header.header-fixed.mobile-menu-open .hdr-user-toggle {
        width: 100% !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        background: rgba(240,90,40,0.05) !important;
        border: 1px solid rgba(240,90,40,0.15) !important;
    }

    header.header-fixed.mobile-menu-open .hdr-user-dropdown {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        margin-top: 8px !important;
        border-radius: 8px !important;
        display: none !important;
    }

    header.header-fixed.mobile-menu-open .hdr-user-menu.open .hdr-user-dropdown {
        display: block !important;
    }

    /* Change hamburger icon to X on mobile menu open */
    header.header-fixed.mobile-menu-open .nav-hamburger i::before {
        content: "\f00d" !important;
    }
}

/* Navigation Links Styling */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    font-weight: 500;
    font-size: 14px;
    color: var(--bb-slate-600);
    text-transform: capitalize !important;
    letter-spacing: 0;
    transition: color 0.2s ease;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--bb-orange) !important;
}

/* Actions in Header */
.btn-register-header {
    background-color: var(--bb-red) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-register-header:hover {
    background-color: var(--bb-red-dark) !important;
}
.btn-get-in-touch {
    background-color: var(--bb-orange) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-get-in-touch:hover {
    background-color: #d84517 !important;
}

/* Main Layout Grid */
.bb-main-wrap {
    max-width: none !important;
    margin: 0 auto;
    padding: 16px 40px 40px 40px !important;
    width: 100%;
}



.bb-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .bb-layout-grid {
        grid-template-columns: 7fr 3fr;
    }
}

.bb-left-column {
    min-width: 0;
}

/* Hero Section */
.bb-hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 24px;
    background-image: linear-gradient(to right, rgba(255, 254, 250, 0.7) 30%, rgba(255, 254, 250, 0.4) 75%, rgba(255, 254, 250, 0.1) 100%), url('../images/hero_banner_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 20px;
    border: 1px solid rgba(240, 90, 40, 0.08);
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.015);
    margin-bottom: 25px;
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .bb-hero-section {
        grid-template-columns: 1fr 1fr;
        padding: 50px 40px;
        background-size: 100% 100% !important;
        background-position: center center !important;
    }
}

.bb-hero-content {
    max-width: 550px;
}

.bb-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bb-slate-800);
    margin-bottom: 16px;
}
.bb-hero-title .text-orange {
    color: var(--bb-orange);
}
.bb-hero-title .text-dark {
    color: var(--bb-slate-800);
}
.bb-hero-title .text-red {
    color: var(--bb-red);
}
.bb-hero-subtitle {
    font-size: 18px;
    color: var(--bb-slate-600);
    line-height: 1.5;
    margin-bottom: 28px;
}

.bb-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-hero-orange {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    background-color: var(--bb-orange);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn-hero-orange:hover {
    background-color: #d84517;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-hero-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bb-red);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn-hero-red:hover {
    background-color: var(--bb-red-dark);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Diamond Collage */
.bb-hero-collage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.collage-inner {
    position: relative;
    width: 0;
    height: 0;
}

.diamond-item {
    position: absolute;
    width: 110px;
    height: 110px;
    transform: rotate(45deg);
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diamond-item:hover {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 10;
}

.diamond-item img {
    width: 142%;
    height: 142%;
    object-fit: cover;
    transform: rotate(-45deg) translate(-15%, -15%);
}

/* Diamond positions (relative to 0,0 center) */
.d1 { top: -170px; left: -120px; }
.d2 { top: -170px; left: 10px; }
.d3 { top: -70px; left: -190px; }
.d4 { top: -70px; left: -55px; }
.d5 { top: -70px; left: 80px; }
.d6 { top: 30px; left: -120px; }
.d7 { top: 30px; left: 10px; }

/* Collage Sizing & Scaling (Mobile-first responsive adjustments) */
@media (max-width: 991px) {
    .bb-hero-section {
        padding: 40px 24px 75px 24px !important;
    }
    .bb-hero-collage {
        height: 310px !important;
    }
    .collage-inner {
        transform: scale(0.8) !important;
        transform-origin: center center !important;
    }
    .bb-hero-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .bb-hero-section {
        padding: 40px 20px 75px 20px !important;
    }
    .bb-hero-collage {
        height: 290px !important;
    }
    .collage-inner {
        transform: scale(0.78) !important;
        transform-origin: center center !important;
    }
}

@media (max-width: 575px) {
    .bb-hero-section {
        padding: 40px 20px 85px 20px !important;
    }
    .bb-hero-collage {
        height: 280px !important;
    }
    .collage-inner {
        transform: scale(0.75) !important;
        transform-origin: center center !important;
    }
    .bb-logo-text {
        font-size: 18px !important;
    }
    .header-row1-inner {
        padding-left: 120px !important;
    }
}

@media (max-width: 400px) {
    .bb-hero-section {
        padding: 40px 16px 85px 16px !important;
    }
    .bb-hero-collage {
        height: 250px !important;
    }
    .collage-inner {
        transform: scale(0.68) !important;
        transform-origin: center center !important;
    }
    .bb-logo-text {
        font-size: 15px !important;
    }
    .header-row1-inner {
        padding-left: 80px !important;
    }
}

/* Horizontal Search Bar */
.bb-search-bar {
    background-color: #fafaf9;
    border: 1px solid var(--bb-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    padding: 10px 16px;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .bb-search-bar {
        border-radius: 24px;
        padding: 8px 12px 8px 24px;
    }
}

.search-bar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

@media (min-width: 992px) {
    .search-bar-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr auto;
        gap: 0;
    }
}

.search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bb-border);
    position: relative;
}

@media (min-width: 992px) {
    .search-field {
        padding: 4px 20px;
        border-bottom: none;
        border-right: 1px solid var(--bb-border);
    }
    .search-field:nth-child(4) {
        border-right: none;
    }
}

.search-field-icon {
    color: var(--bb-slate-600);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.search-field-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.search-field-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 0 0 2px 0;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.search-field-select, .search-field-input {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-family: var(--bb-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-slate-800);
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
}

.btn-search-submit {
    background-color: var(--bb-orange);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 14px rgba(240, 90, 40, 0.3);
}

.btn-search-submit:hover {
    background-color: #d84517;
    transform: scale(1.02);
}

/* Section Header styling */
.bb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--bb-border);
    padding-bottom: 8px;
}

.bb-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--bb-slate-800);
    position: relative;
}
.bb-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--bb-orange);
}

.bb-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}
.bb-view-all:hover {
    color: var(--bb-red);
}

/* Category grid style */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Category Grid Collapse/Expand Rules (Max 2 Rows) */
.category-grid.collapsed-grid a:nth-child(n+13) {
    display: none;
}
@media (max-width: 991px) and (min-width: 768px) {
    .category-grid.collapsed-grid a:nth-child(n+9) {
        display: none;
    }
}
@media (max-width: 767px) {
    .category-grid.collapsed-grid a:nth-child(n+7) {
        display: none;
    }
}

.category-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    color: var(--bb-slate-800);
    box-shadow: none;
    transition: transform 0.2s ease;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    color: var(--bb-orange);
}

/* Category slider styles */
.category-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 0 45px;
}

.category-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.category-slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Category cards inside the slider track */
.category-slider-track .category-card {
    flex: 0 0 calc((100% - (5 * 16px)) / 6); /* Show 6 items on desktop */
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    color: var(--bb-slate-800);
    box-shadow: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

@media (max-width: 991px) {
    .category-slider-track .category-card {
        flex: 0 0 calc((100% - (3 * 16px)) / 4); /* Show 4 items on tablet */
    }
}
@media (max-width: 767px) {
    .category-slider-track .category-card {
        flex: 0 0 calc((100% - (2 * 16px)) / 3); /* Show 3 items on mobile */
    }
    .category-slider-wrapper {
        padding: 0 40px;
    }
    .category-slide-arrow.prev-arrow {
        left: 2px;
    }
    .category-slide-arrow.next-arrow {
        right: 2px;
    }
}

.category-slider-track .category-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    color: var(--bb-orange);
}

.category-slide-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    z-index: 10;
}
.category-slide-arrow:hover {
    background-color: #f8fafc;
    border-color: #f05a28;
    color: #f05a28;
    box-shadow: 0 6px 16px rgba(240, 90, 40, 0.15);
}
.category-slide-arrow.prev-arrow {
    left: 4px;
}
.category-slide-arrow.next-arrow {
    right: 4px;
}


.category-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.category-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* How It Works section */
.hiw-section {
    background-color: var(--bb-slate-50);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 50px;
}

.hiw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .hiw-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hiw-step {
    background-color: #ffffff;
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.hiw-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hiw-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bb-orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.hiw-step:nth-child(2) .hiw-number {
    background-color: var(--bb-red);
}
.hiw-step:nth-child(3) .hiw-number {
    background-color: var(--bb-slate-800);
}

.hiw-step-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--bb-slate-800);
}

.hiw-step-desc {
    font-size: 13px;
    color: var(--bb-slate-600);
    margin: 0;
    line-height: 1.5;
}

/* Featured Workers Cards */
.workers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

@media (min-width: 480px) {
    .workers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .workers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .workers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1200px) {
    .workers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Workers Grid Collapse/Expand Rules (Max 2 Rows) */
.workers-grid.collapsed-grid .worker-card:nth-child(n+13) {
    display: none;
}
@media (max-width: 1199px) and (min-width: 992px) {
    .workers-grid.collapsed-grid .worker-card:nth-child(n+9) {
        display: none;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .workers-grid.collapsed-grid .worker-card:nth-child(n+7) {
        display: none;
    }
}
@media (max-width: 767px) and (min-width: 480px) {
    .workers-grid.collapsed-grid .worker-card:nth-child(n+5) {
        display: none;
    }
}
@media (max-width: 479px) {
    .workers-grid.collapsed-grid .worker-card:nth-child(n+3) {
        display: none;
    }
}

/* Worker slider styles */
.worker-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 0 45px;
}

.worker-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.worker-slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Worker cards inside the slider track - Reduced size matching original grid */
.worker-slider-track .worker-card {
    flex: 0 0 calc((100% - (3 * 20px)) / 4); /* Show 4 items on desktop */
    min-width: 180px;
    margin-bottom: 0;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .worker-slider-track .worker-card {
        flex: 0 0 calc((100% - (2 * 20px)) / 3); /* Show 3 items on standard desktop */
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .worker-slider-track .worker-card {
        flex: 0 0 calc((100% - (2 * 20px)) / 3); /* Show 3 items on tablet */
    }
}
@media (max-width: 767px) and (min-width: 480px) {
    .worker-slider-track .worker-card {
        flex: 0 0 calc((100% - (1 * 20px)) / 2); /* Show 2 items on mobile */
    }
    .worker-slider-wrapper {
        padding: 0 40px;
    }
    .worker-slide-arrow.prev-arrow {
        left: 2px;
    }
    .worker-slide-arrow.next-arrow {
        right: 2px;
    }
}
@media (max-width: 479px) {
    .worker-slider-track .worker-card {
        flex: 0 0 100%; /* Show 1 item on small mobile */
    }
    .worker-slider-wrapper {
        padding: 0 40px;
    }
    .worker-slide-arrow.prev-arrow {
        left: 2px;
    }
    .worker-slide-arrow.next-arrow {
        right: 2px;
    }
}

.worker-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    z-index: 10;
}
.worker-slide-arrow:hover {
    background-color: #f8fafc;
    border-color: #f05a28;
    color: #f05a28;
    box-shadow: 0 6px 16px rgba(240, 90, 40, 0.15);
}
.worker-slide-arrow.prev-arrow {
    left: 4px;
}
.worker-slide-arrow.next-arrow {
    right: 4px;
}

.worker-card {
    background: #ffffff;
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.worker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.worker-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.worker-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.worker-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.worker-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bb-slate-800);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.worker-title {
    font-size: 11px;
    color: var(--bb-slate-600);
    margin-bottom: 4px;
    font-weight: 500;
}

.worker-loc {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.worker-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--bb-border);
    flex-wrap: wrap;
    gap: 4px;
}

.worker-rating {
    font-size: 11px;
    font-weight: 600;
    color: var(--bb-slate-800);
    display: flex;
    align-items: center;
    gap: 3px;
}

.worker-rating i {
    color: #eab308;
}

.worker-rating span {
    color: #64748b;
    font-weight: 400;
    font-size: 10px;
}

.availability-badge {
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.availability-badge.available {
    background-color: #ecfdf5;
    color: #059669;
}

.availability-badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #64748b;
}

.availability-badge.available .dot {
    background-color: #10b981;
}

/* Worker Card Quick Actions */
.worker-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    background-color: #f8fafc;
    border-top: 1px solid var(--bb-border);
}

.btn-action-round {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--bb-border);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bb-slate-600);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.btn-action-round.call:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-action-round.chat:hover {
    background-color: #fff7ed;
    border-color: var(--bb-orange);
    color: var(--bb-orange);
}

.btn-action-round.whatsapp:hover {
    background-color: #f0fdf4;
    border-color: #22c55e;
    color: #22c55e;
}

/* Sidebar "Post Your Requirement" Panel */
.bb-sidebar-panel {
    background-color: var(--bb-orange-light);
    border: 1px solid rgba(240, 90, 40, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.02);
}

.bb-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--bb-slate-800);
    margin-top: 0;
    margin-bottom: 8px;
}

.bb-sidebar-subtitle {
    font-size: 13px;
    color: var(--bb-slate-600);
    margin-bottom: 20px;
    line-height: 1.4;
}

.bb-sidebar-form .form-group {
    margin-bottom: 16px;
}

.bb-sidebar-form label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bb-slate-800);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bb-sidebar-form .form-control, .bb-sidebar-form .form-select {
    border: 1px solid var(--bb-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: var(--bb-font);
    color: var(--bb-slate-800);
    background-color: #ffffff;
    width: 100%;
}

.bb-sidebar-form .form-control:focus, .bb-sidebar-form .form-select:focus {
    border-color: var(--bb-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

.btn-sidebar-submit {
    background-color: var(--bb-orange);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.btn-sidebar-submit:hover {
    background-color: #d84517;
}

.sidebar-form-note {
    text-align: center;
    font-size: 11px;
    color: var(--bb-slate-600);
    margin-top: 12px;
    margin-bottom: 0;
}

/* Footer Redesign */
.bb-footer {
    background-color: #111827;
    color: #9ca3af;
    font-family: var(--bb-font);
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.bb-footer .wrap {
    max-width: none !important;
    padding: 0 40px !important;
}
@media (max-width: 991px) {
    .bb-footer .wrap {
        padding: 0 16px !important;
    }
}

.bb-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bb-footer a:hover {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1fr;
    }
}

.footer-brand h3 {
    font-weight: 800;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}
.footer-brand h3 span {
    color: var(--bb-orange);
}
.footer-brand p {
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-col h4 {
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col.contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.footer-social-link:hover {
    background-color: var(--bb-orange);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* --------------------------------------------------
   DYNAMIC SLIDE-OVER DRAWER STYLES
   -------------------------------------------------- */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.profile-drawer {
    position: fixed;
    top: 0;
    right: -620px; /* Hidden off-screen */
    width: 600px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--bb-font);
}

.profile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bb-border);
    background-color: var(--bb-slate-50);
    position: relative;
    z-index: 10;
}

.drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bb-red);
}

.btn-close-drawer {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--bb-slate-600);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close-drawer:hover {
    background-color: var(--bb-border);
    color: var(--bb-slate-800);
}

.btn-close-drawer-floating {
    position: absolute;
    top: 16px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 18px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 100;
}

.btn-close-drawer-floating:hover {
    background-color: #ffffff;
    color: #f05a28;
    transform: scale(1.05);
}

.drawer-body-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.drawer-tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}
#tab-profile-view {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

#tab-chat-view, #tab-booking-view {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

#tab-booking-view {
    overflow-y: auto;
}

.profile-drawer.show-chat #tab-profile-view,
.profile-drawer.show-booking #tab-profile-view {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.profile-drawer.show-chat #tab-chat-view {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.profile-drawer.show-booking #tab-booking-view {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.profile-photo-wrapper {
    width: 100%;
    aspect-ratio: 1.4;
    position: relative;
    overflow: hidden;
}

.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-wrapper .availability-tag {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background-color: #25d366;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.profile-photo-wrapper .availability-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.profile-details-body {
    padding: 24px 20px;
    flex-grow: 1;
    padding-bottom: 100px;
}

.profile-main-info {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bb-border);
    padding-bottom: 16px;
}

.profile-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--bb-slate-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-name .verified-badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-role {
    font-size: 15px;
    color: var(--bb-orange);
    font-weight: 600;
    margin-top: 2px;
}

.profile-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--bb-slate-600);
}

.profile-rating {
    font-weight: 700;
    color: var(--bb-slate-800);
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-rating i {
    color: #eab308;
}

.profile-section-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bb-red);
    margin-bottom: 8px;
    margin-top: 24px;
}

.profile-about-text {
    font-size: 14px;
    color: var(--bb-slate-600);
    line-height: 1.6;
}

.services-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.service-chip {
    background-color: var(--bb-slate-50);
    border: 1px solid var(--bb-border);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bb-slate-800);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.photo-grid-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bb-border);
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-sticky-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--bb-border);
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.03);
}

.btn-footer-action {
    border-radius: 50px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #ffffff;
}

.btn-footer-action.call {
    background-color: #d88339;
}
.btn-footer-action.call:hover {
    background-color: #c0702c;
}

.btn-footer-action.chat {
    background-color: var(--bb-red);
}
.btn-footer-action.chat:hover {
    background-color: var(--bb-red-dark);
}

.btn-footer-action.whatsapp {
    background-color: #25d366;
}
.btn-footer-action.whatsapp:hover {
    background-color: #1ebe57;
}

/* CHAT PANEL DESIGN */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bb-border);
    background-color: var(--bb-slate-50);
}

.btn-chat-back {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--bb-slate-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-chat-back:hover {
    background-color: var(--bb-border);
    color: var(--bb-slate-800);
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--bb-border);
}

.chat-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-header-info {
    flex-grow: 1;
}

.chat-header-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bb-slate-800);
}

.chat-header-status {
    font-size: 11px;
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.chat-header-status::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #25d366;
    border-radius: 50%;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.chat-header-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--bb-border);
    background-color: #ffffff;
    color: var(--bb-slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.chat-header-btn:hover {
    background-color: var(--bb-slate-50);
    transform: scale(1.05);
}

.chat-messages-area {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #faf8f5;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 80px;
}

.msg-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 85%;
}

.msg-group.outgoing {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--bb-border);
    flex-shrink: 0;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-bubble-wrap {
    display: flex;
    flex-direction: column;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.msg-group.incoming .msg-bubble {
    background-color: #ffffff;
    color: var(--bb-slate-800);
    border-bottom-left-radius: 2px;
    border: 1px solid var(--bb-border);
}

.msg-group.outgoing .msg-bubble {
    background-color: var(--bb-orange);
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

.msg-meta {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
    align-self: flex-start;
}

.msg-group.outgoing .msg-meta {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 3px;
}

.msg-group.outgoing .msg-meta i {
    color: var(--bb-orange);
}

/* Typing Indicator */
.typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background-color: #ffffff;
    border-radius: 14px;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--bb-border);
    align-self: flex-start;
    margin-left: 36px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--bb-slate-600);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

.chat-input-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--bb-border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}

.btn-chat-attachment {
    background: none;
    border: none;
    color: var(--bb-slate-600);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-chat-attachment:hover {
    background-color: var(--bb-slate-50);
    color: var(--bb-slate-800);
}

.chat-input-field {
    flex-grow: 1;
    background-color: var(--bb-slate-50);
    border: 1px solid var(--bb-border);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-family: var(--bb-font);
    outline: none;
    transition: all 0.2s ease;
}

.chat-input-field:focus {
    background-color: #ffffff;
    border-color: var(--bb-orange);
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

.btn-chat-send {
    background-color: var(--bb-orange);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(240, 90, 40, 0.3);
}

.btn-chat-send:hover {
    background-color: #d84517;
    transform: scale(1.05);
}

/* Toast Notification Styles */
.toast-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background-color: var(--bb-slate-800);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.toast-notice.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile responsive drawer overlay rules */
@media (max-width: 768px) {
    .profile-drawer {
        width: 100vw;
        right: -100vw;
    }
    .profile-drawer.open {
        right: 0;
    }
    .drawer-sticky-footer {
        padding: 12px;
    }
    .btn-footer-action {
        font-size: 11px;
        padding: 8px;
    }
}

/* --- Booking Tab Form Layout --- */
.booking-form-wrap {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bb-border);
    padding: 16px 24px;
    background-color: var(--bb-slate-50);
}

.btn-booking-back {
    background: none;
    border: none;
    color: var(--bb-slate-600);
    font-size: 16px;
    cursor: pointer;
    margin-right: 16px;
}

.booking-header-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--bb-slate-800);
    font-family: var(--bb-font);
}

.booking-provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff5f2;
    border: 1px solid rgba(240, 90, 40, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.booking-provider-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-provider-info .name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--bb-slate-800);
}

.booking-provider-info .title {
    font-size: 12px;
    color: var(--bb-orange);
    font-weight: 600;
}

.booking-btn-submit {
    background-color: var(--bb-orange);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(240, 90, 40, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-btn-submit:hover {
    background-color: #d84517;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(240, 90, 40, 0.3);
}

.booking-btn-submit:active {
    transform: translateY(0);
}

/* --- Booking Form Sections & Headers --- */
.booking-form-section {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    background-color: #ffffff;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.booking-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 1.5px solid #fff5f2;
    padding-bottom: 10px;
}

.booking-section-header i {
    color: var(--bb-orange);
    font-size: 16px;
}

.booking-section-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bb-slate-800);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom grid fields in booking form */
.booking-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .booking-form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Rounded inputs with icons */
.booking-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.booking-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 5;
}

.booking-input-wrapper .form-input-custom {
    padding-left: 40px !important;
}

/* Upload styles */
.booking-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: var(--bb-slate-50);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.booking-upload-zone:hover {
    border-color: var(--bb-orange);
    background-color: #fffaf9;
}

.booking-upload-zone i {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 8px;
}

.booking-upload-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.booking-upload-text span {
    color: var(--bb-orange);
    text-decoration: underline;
}

.booking-upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.booking-upload-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
}

.booking-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-upload-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(229, 62, 62, 0.9);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Booking Summary Card */
.booking-summary-card {
    background: linear-gradient(135deg, #fffaf9 0%, #fff 100%);
    border: 2px solid rgba(240, 90, 40, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(240, 90, 40, 0.03);
}

.booking-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.booking-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-summary-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.booking-summary-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--bb-slate-800);
}

/* Service Provider Enhanced Card */
.booking-provider-info.enhanced {
    padding: 20px;
    gap: 20px;
    background: linear-gradient(135deg, #fff5f2 0%, #fff 100%);
    border: 1px solid rgba(240, 90, 40, 0.1);
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.booking-provider-info.enhanced img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border: 2.5px solid #ffffff;
    object-fit: cover;
}

.booking-provider-info.enhanced .rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    margin-top: 4px;
}

.booking-provider-info.enhanced .rating-row i {
    color: #ffc107;
}

.booking-provider-info.enhanced .meta-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.booking-provider-info.enhanced .meta-tag {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.booking-provider-info.enhanced .meta-tag.experience {
    background-color: #e0f2fe;
    color: #0369a1;
}

.booking-provider-info.enhanced .meta-tag.response {
    background-color: #f1f5f9;
    color: #475569;
}

.booking-provider-info.enhanced .meta-tag.status {
    background-color: #dcfce7;
    color: #15803d;
}

/* Booking step wizard styles */
.booking-steps-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffaf9;
    padding: 16px 20px;
    border-bottom: 1px solid #ffe8e2;
    margin-bottom: 20px;
    border-radius: 8px;
}
.booking-step-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.booking-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    z-index: 2;
    transition: all 0.3s ease;
}
.booking-step-node.active .booking-step-circle {
    background: #f05a28 !important;
    border-color: #f05a28 !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(240, 90, 40, 0.15);
}
.booking-step-node.completed .booking-step-circle {
    background: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}
.booking-step-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
}
.booking-step-node.active .booking-step-label {
    color: #f05a28 !important;
    font-weight: 700;
}
.booking-step-node.completed .booking-step-label {
    color: #198754 !important;
}
.booking-step-line {
    height: 2px;
    background: #cbd5e1;
    flex-grow: 1;
    margin: 0 -10px;
    margin-top: -16px;
    z-index: 1;
    transition: background 0.3s ease;
}

/* Floating label fields in booking drawer */
.booking-form-wrap .form-group-custom {
    position: relative;
    margin-bottom: 24px;
}
.booking-form-wrap .form-input-custom {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.booking-form-wrap .form-input-custom:focus {
    border-color: #f05a28 !important;
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.08) !important;
}
.booking-form-wrap .form-label-custom {
    position: absolute !important;
    left: 16px !important;
    top: 14px !important;
    font-size: 14px !important;
    color: #718096 !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    padding: 0 4px !important;
    transform: none !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.booking-form-wrap .form-input-custom:focus ~ .form-label-custom,
.booking-form-wrap .form-input-custom.has-value ~ .form-label-custom {
    top: -9px !important;
    left: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #f05a28 !important;
    background: white !important;
    pointer-events: auto !important;
}
/* Always float date and time labels to prevent overlap with browser placeholders */
.booking-form-wrap input[type="date"] ~ .form-label-custom,
.booking-form-wrap input[type="time"] ~ .form-label-custom {
    top: -9px !important;
    left: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #f05a28 !important;
    background: white !important;
    pointer-events: auto !important;
}
.booking-form-wrap select.form-input-custom {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}
.booking-form-wrap select.form-input-custom:focus ~ .form-label-custom,
.booking-form-wrap select.form-input-custom.has-value ~ .form-label-custom {
    color: #f05a28 !important;
}

/* Booking Wizard navigation buttons */
.booking-btn-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}
.booking-btn-action:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
.booking-btn-action:active {
    transform: translateY(0) !important;
}
#btnBookingPrev:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
}
#btnBookingSkip:hover {
    background-color: #fff1ed !important;
    border-color: #d84517 !important;
}

/* =========================================================
   RESPONSIVENESS AND MOBILE OVERRIDES
   ========================================================= */

/* Mobile layout column order and filters for find-talent / providers pages */
.btn-sidebar-toggle {
    display: none;
}

@media (max-width: 991px) {
    .bb-layout-grid {
        display: flex !important;
        flex-direction: column-reverse !important; /* Move filters to top, listing to bottom */
        gap: 20px !important;
    }
    
    .btn-sidebar-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 12px 16px !important;
        background-color: var(--bb-orange) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 10px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        margin-bottom: 0 !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(240, 90, 40, 0.15) !important;
        transition: background-color 0.2s, transform 0.1s !important;
    }
    
    .btn-sidebar-toggle:hover {
        background-color: #d84517 !important;
        transform: translateY(-1px) !important;
    }

    .btn-sidebar-toggle:active {
        transform: translateY(0) !important;
    }
    
    .bb-sidebar-panel {
        display: none !important; /* Hidden by default on mobile */
        margin-top: 12px !important;
    }
    
    .bb-sidebar-panel.mobile-open {
        display: block !important; /* Show when open */
        animation: slideDownFade 0.25s ease-out !important;
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bookings list page mobile responsiveness overrides */
@media (max-width: 576px) {
    .booking-card-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px !important;
    }

    .booking-card-footer > * {
        width: 100% !important;
        text-align: center !important;
    }

    .booking-select-status {
        width: 100% !important;
    }
    
    .bookings-title-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
}

/* Requirements page mobile responsiveness overrides */
@media (max-width: 576px) {
    .req-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .setup-alert {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        text-align: center !important;
    }

    .setup-alert-icon {
        margin: 0 auto !important;
    }

    .setup-alert-btn {
        margin-left: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .req-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .req-card-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .req-card-actions > * {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .bid-item-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    
    .bid-item-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .btn-accept-bid {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Custom styles for dynamic navigation dropdown active items */
.nav-dropdown-item:hover, .nav-dropdown-item.active {
    color: var(--bb-orange) !important;
    background-color: var(--bb-orange-light) !important;
    padding-left: 24px;
}

#desktop-more-menu .nav-dropdown {
    min-width: 200px;
}

@media (max-width: 500px) {
    .bb-main-wrap {
        padding: 10px !important;
    }
    .bb-hero-section {
        padding: 30px 16px 40px 16px !important;
    }
    .bb-hero-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
    .bb-hero-subtitle {
        font-size: 14.5px !important;
        margin-bottom: 20px !important;
    }
    .bb-hero-actions {
        gap: 10px !important;
        margin-bottom: 20px !important;
        justify-content: center !important;
    }
    .btn-hero-orange, .btn-hero-red {
        padding: 10px 16px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }
    .bb-hero-collage {
        height: 260px !important;
    }
    .collage-inner {
        transform: scale(0.7) !important;
    }
    .bb-section-title {
        font-size: 18px !important;
    }
}

/* Sidebar Form Styles (Post Your Requirement) */
.bb-sidebar-form .form-group {
    margin-bottom: 16px;
    text-align: left;
}
.bb-sidebar-form label {
    font-size: 11px;
    font-weight: 750;
    color: #475569;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.bb-sidebar-form .form-select,
.bb-sidebar-form .form-control,
.bb-sidebar-form .flatpickr-input,
.bb-sidebar-form input[type="date"] {
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f8fafc !important;
    color: #334155;
    font-weight: 550;
}
.bb-sidebar-form .form-select:focus,
.bb-sidebar-form .form-control:focus,
.bb-sidebar-form .flatpickr-input:focus {
    border-color: #f05a28;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(240, 90, 40, 0.12);
}
.btn-submit-req {
    margin-top: 10px;
    width: 100%;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(240, 90, 40, 0.3);
    transition: all 0.3s ease;
}
.btn-submit-req:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(240, 90, 40, 0.4);
    background: linear-gradient(135deg, #e04a18, #ff6b33);
}

/* Custom Searchable Select Dropdown */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    color: #334155;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
}

.custom-select-trigger:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #64748b;
    transition: transform 0.2s ease;
    margin-left: 8px;
}

.custom-select-container.open .custom-select-trigger {
    border-color: #f05a28;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(240, 90, 40, 0.12);
}

.custom-select-container.open .custom-select-trigger:after {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: none;
    padding: 8px;
    animation: selectSlideDownFade 0.2s ease-out;
    box-sizing: border-box;
}

@keyframes selectSlideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select-container.open .custom-select-dropdown {
    display: block;
}

.custom-select-search-wrap {
    position: relative;
    margin-bottom: 8px;
}

.custom-select-search-wrap i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
}

.custom-select-search {
    width: 100%;
    padding: 8px 10px 8px 30px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.custom-select-search:focus {
    border-color: #f05a28;
}

.custom-select-options {
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.custom-select-options::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.custom-select-option {
    padding: 8px 12px;
    font-size: 13px;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.custom-select-option:hover,
.custom-select-option.highlighted {
    background-color: rgba(240, 90, 40, 0.06);
    color: #f05a28;
    font-weight: 600;
}

.custom-select-option.selected {
    background-color: #f05a28;
    color: #ffffff;
    font-weight: 600;
}

.custom-select-no-results {
    padding: 8px 12px;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    display: none;
}

/* Overrides for hero search bar selects */
.custom-select-container.search-field-select {
    position: static !important;
    width: 100%;
}

.custom-select-container.search-field-select .custom-select-trigger {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bb-slate-800) !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    cursor: pointer;
    width: 100% !important;
}

/* Parent focus/open highlight for search fields in hero search bar */
.search-field:has(.custom-select-container.open),
.search-field:focus-within {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 0 0 1.5px #f05a28, 0 10px 25px rgba(240, 90, 40, 0.15) !important;
    z-index: 1001 !important;
}

/* Flatpickr Premium Theme Customization */
.flatpickr-calendar {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    font-family: var(--bb-font) !important;
    padding: 6px !important;
}

.flatpickr-day.selected, 
.flatpickr-day.selected:focus, 
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #f05a28 !important;
    border-color: #f05a28 !important;
    color: #ffffff !important;
}

.flatpickr-day.today {
    border-color: #f05a28 !important;
}

.flatpickr-day.today:hover {
    background: #f05a28 !important;
    color: #ffffff !important;
}

.flatpickr-day:hover {
    background: rgba(240, 90, 40, 0.08) !important;
    color: #f05a28 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:hover,
.flatpickr-current-month .numInputWrapper span.arrowDown:hover {
    background: rgba(240, 90, 40, 0.1) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg, 
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #f05a28 !important;
}

/* Ensure Flatpickr alt input inherits parent styles */
.flatpickr-input[readonly] {
    cursor: pointer !important;
}

input.flatpickr-input.form-control.input {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    font-weight: 550 !important;
    min-height: 48px !important;
}

input.flatpickr-input.form-control.input:focus {
    border-color: #f05a28 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(240, 90, 40, 0.12) !important;
}

/* Specific overrides to make search bar date input transparent and borderless */
.search-field-col input.search-field-input,
.search-field-col input.search-field-input.flatpickr-input,
.search-field-col .flatpickr-mobile {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    font-family: var(--bb-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bb-slate-800) !important;
    cursor: pointer !important;
}

/* Align Flatpickr calendar with input field width */
.flatpickr-wrapper {
    display: block !important;
    width: 100% !important;
    position: relative !important;
}

/* Let the homepage search bar calendar bypass wrapper positioning to align with the full column card */
.search-field .flatpickr-wrapper {
    position: static !important;
}

.flatpickr-calendar.static {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 10px !important;
}

.flatpickr-calendar.static .flatpickr-innerContainer,
.flatpickr-calendar.static .flatpickr-rContainer,
.flatpickr-calendar.static .flatpickr-days,
.flatpickr-calendar.static .dayContainer,
.flatpickr-calendar.static .flatpickr-weekdays,
.flatpickr-calendar.static .flatpickr-weekdaycontainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
}

.flatpickr-calendar.static .flatpickr-weekday {
    flex: 1 !important;
    max-width: none !important;
}

.flatpickr-calendar.static .dayContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.flatpickr-calendar.static .flatpickr-day {
    flex: 1 0 14% !important; /* 14.28% is exactly 1/7th of width! */
    max-width: 14.28% !important;
    height: 40px !important;
    line-height: 40px !important;
    box-sizing: border-box !important;
    margin: 2px 0 !important;
}

/* Hide main browser scrollbar globally for a sleek, app-like visual layout */
html, body {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}
