:root {
    --fg-blue: #115baa;
    --fg-blue-dark: #0d4785;
    --fg-blue-soft: #eaf3fb;
    --fg-green: #6fbe44;
    --fg-green-dark: #589936;
    --fg-green-soft: #eef9e9;
    --fg-ink: #162033;
    --fg-public-button-height: 54px;
    --fg-public-button-min-width: 186px;
    --fg-public-button-padding-x: 28px;
    --bs-primary: #115baa;
    --bs-primary-rgb: 17, 91, 170;
    --bs-success: #6fbe44;
    --bs-success-rgb: 111, 190, 68;
}

a:hover,
.text-thm,
.text-primary-600,
.hover-text-primary:hover,
.hover-text-primary-600:hover,
.text-primary-light {
    color: var(--fg-blue) !important;
}

.text-success-main {
    color: var(--fg-green-dark) !important;
}

.bg-primary-600,
.btn-primary-600,
.btn-primary,
.ud-btn.btn-thm,
.ud-btn.btn-white:hover,
.ud-btn.btn-light-thm:hover,
.bg-thm,
.bgc-thm,
.bgc-thm2,
.progress-bar,
.sidebar-menu li a.active-page,
.sidebar-menu li a:hover {
    background-color: var(--fg-blue) !important;
    border-color: var(--fg-blue) !important;
    color: #fff !important;
}

.btn-primary-600:hover,
.btn-primary:hover,
.ud-btn.btn-thm:hover {
    background-color: var(--fg-blue-dark) !important;
    border-color: var(--fg-blue-dark) !important;
    color: #fff !important;
}

.btn-outline-primary,
.btn-outline-secondary:hover {
    border-color: var(--fg-blue) !important;
    color: var(--fg-blue) !important;
}

.btn-outline-primary:hover {
    background-color: var(--fg-blue) !important;
    color: #fff !important;
}

.bg-primary-focus,
.bg-primary-50,
.bg-gradient-end-1,
.bg-light-thm,
.btn-light-thm {
    background-color: var(--fg-blue-soft) !important;
}

.bg-success-main,
.bg-success-focus .icon,
.badge.bg-success,
.btn-success,
.online,
.online-badges {
    background-color: var(--fg-green) !important;
    border-color: var(--fg-green) !important;
}

.bg-success-focus,
.bg-gradient-end-2 {
    background-color: var(--fg-green-soft) !important;
}

.text-success-main,
.review-color,
.list-meta a:hover,
.freelancer-style1 .title:hover,
.listing-style1 .list-title a:hover {
    color: var(--fg-green-dark) !important;
}

.border-primary-600,
.border-primary,
.form-control:focus,
.fg-input:focus {
    border-color: var(--fg-blue) !important;
}

.form-control:focus,
.fg-input:focus {
    box-shadow: 0 0 0 3px rgba(17, 91, 170, 0.12) !important;
}

.bootstrap-select {
    width: 100% !important;
}

.bselect-style1,
.advance-search-field,
.fg-public-search-form,
.fg-home-hero-search {
    position: relative;
}

.bootstrap-select > .dropdown-toggle {
    min-height: 48px;
    border: 1px solid #e9e9e9;
    background-color: #fff;
    color: var(--fg-ink);
}

.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle:active,
.bootstrap-select.show > .dropdown-toggle {
    border-color: var(--fg-blue) !important;
    box-shadow: 0 0 0 3px rgba(17, 91, 170, 0.12) !important;
    outline: none !important;
}

.bootstrap-select .bs-searchbox .form-control {
    min-height: 40px;
}

.bootstrap-select > .dropdown-menu {
    width: 100% !important;
    min-width: min(240px, calc(100vw - 32px)) !important;
    max-width: min(420px, calc(100vw - 32px)) !important;
    overflow-x: hidden;
    border: 1px solid #e9edf3;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(17, 91, 170, 0.10);
    z-index: 1060;
}

.bootstrap-select .dropdown-menu.inner {
    max-width: 100%;
    overflow-x: hidden;
}

.bootstrap-select .bs-searchbox {
    padding: 8px;
}

.bootstrap-select .bs-searchbox .form-control {
    width: 100%;
    border-radius: 8px;
    min-width: 0;
    box-shadow: none !important;
}

.bootstrap-select .dropdown-menu li a {
    white-space: normal;
}

.fg-home-hero-search .box-search .form-control,
.fg-public-search-form .box-search .form-control,
.cta-service-v6 .advance-search-tab .box-search .form-control {
    min-height: 48px;
}

.fg-home-hero-search .row,
.fg-public-search-form .row,
.cta-service-v6 .advance-search-tab .row {
    row-gap: 10px;
}

.hero-home2 {
    background-image: url("/images/hero/fluxgig-home-banner.png") !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.header-nav.nav-homepage-style {
    top: 0 !important;
    padding-top: 8px;
}

.header-nav.nav-homepage-style .logos {
    margin-right: 36px;
}

.header-nav.nav-homepage-style .home1_style.at-home2 {
    margin-right: 24px;
}

.header-nav.nav-homepage-style .ace-responsive-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-nav.nav-homepage-style .ace-responsive-menu > li > a {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

header.nav-homepage-style.stricky.stricky-fixed .add-joining {
    background-color: #fff !important;
    border: 1px solid var(--fg-green) !important;
    color: var(--fg-green-dark) !important;
}

header.nav-homepage-style.stricky.stricky-fixed .add-joining:hover {
    background-color: var(--fg-green) !important;
    border-color: var(--fg-green) !important;
    color: #fff !important;
}

header.nav-homepage-style.stricky.stricky-fixed .btn-mega,
header.nav-homepage-style.stricky.stricky-fixed .btn-mega span {
    color: var(--fg-ink) !important;
}

header.nav-homepage-style.stricky.stricky-fixed .btn-mega:hover,
header.nav-homepage-style.stricky.stricky-fixed .btn-mega:hover span {
    color: var(--fg-green) !important;
}

.header-nav #mega-menu,
.header-nav #mega-menu .menu,
.header-nav #mega-menu .drop-menu {
    z-index: 1100;
}

@media (max-width: 1399.98px) {
    .header-nav.nav-homepage-style .logos {
        margin-right: 26px;
    }

    .header-nav.nav-homepage-style .home1_style.at-home2 {
        margin-right: 16px;
    }

    .header-nav.nav-homepage-style .ace-responsive-menu {
        gap: 4px;
    }

    .header-nav.nav-homepage-style .ace-responsive-menu > li > a {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
}

@media (max-width: 1199.98px) {
    .header-nav.nav-homepage-style .logos {
        margin-right: 18px;
    }

    .header-nav.nav-homepage-style .home1_style.at-home2 {
        margin-right: 10px;
    }

    .header-nav.nav-homepage-style .ace-responsive-menu > li > a {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
}

.header-nav.nav-innerpage-style .ace-responsive-menu > li > a:hover,
.header-nav.nav-innerpage-style .btn-mega:hover,
.header-nav.nav-homepage-style .ace-responsive-menu > li > a:hover,
.header-nav.nav-homepage-style .btn-mega:hover {
    color: var(--fg-green) !important;
}

.advance-search-tab .ud-btn,
.listing-fav:hover,
.pricing_packages.active,
.pricing_packages:hover {
    border-color: var(--fg-green) !important;
}

.fg-save-heart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(17, 91, 170, 0.08);
    transition: all 0.2s ease;
}

.fg-save-heart:hover,
.fg-save-heart.text-thm {
    color: var(--fg-green) !important;
    border-color: var(--fg-green) !important;
}

.job-list-style1 .fav-icon,
.freelancer-style1 .fav-icon,
.share-save-widget .icon,
.fg-save-heart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50% !important;
    line-height: 1 !important;
    text-align: center !important;
    z-index: 5;
}

.job-list-style1 .fav-icon,
.freelancer-style1 .fav-icon {
    background-color: #fff !important;
    border: 1px solid #e9e9e9 !important;
    color: var(--fg-green) !important;
    box-shadow: 0 6px 15px rgba(64, 79, 104, 0.08);
}

.job-list-style1 form .fav-icon,
.freelancer-style1 form .fav-icon {
    padding: 0 !important;
    cursor: pointer;
}

.job-list-style1 .icon .fav-icon,
.freelancer-style1 .d-flex .fav-icon {
    position: static !important;
    margin-left: auto;
}

.advance-search-tab .ud-btn,
.pricing_packages.active .ud-btn,
.pricing_packages:hover .ud-btn {
    background-color: var(--fg-green) !important;
    border-color: var(--fg-green) !important;
    color: #fff !important;
}

.advance-search-tab .ud-btn:hover,
.pricing_packages.active .ud-btn:hover,
.pricing_packages:hover .ud-btn:hover {
    background-color: var(--fg-green-dark) !important;
    border-color: var(--fg-green-dark) !important;
}

/* Public jobs pages */
.fg-jobs-listing-section {
    background: #fbfcfe;
}

.fg-job-filter-panel {
    position: sticky;
    top: 105px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 12px;
}

.fg-job-results-bar {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 12px;
}

.listings_category_nav_list_menu {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.listings_category_nav_list_menu::-webkit-scrollbar {
    display: none;
}

.listings_category_nav_list_menu ul {
    flex-wrap: nowrap;
    min-width: max-content;
}

.listings_category_nav_list_menu li {
    flex: 0 0 auto;
}

.fg-job-results-grid {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
}

.fg-job-results-grid .fg-public-job-card {
    margin-bottom: 0 !important;
}

.fg-home-featured-jobs-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.fg-home-featured-jobs-grid > [class*="col-"] {
    display: flex;
}

.fg-home-featured-jobs-grid .fg-home-job-card {
    width: 100%;
}

.fg-home-job-card .fg-home-job-company-rate > a {
    min-width: 0;
}

.fg-freelancer-results-grid {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.fg-freelancer-results-grid .freelancer-style1 {
    margin-bottom: 0 !important;
}

.fg-public-job-card {
    min-height: 270px !important;
    border-color: #e9edf3 !important;
    border-radius: 8px !important;
    padding: 24px !important;
}

.fg-public-job-card:hover {
    border-color: rgba(17, 91, 170, 0.28) !important;
    box-shadow: 0 6px 15px rgba(64, 79, 104, 0.05) !important;
}

.fg-job-type-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fg-blue-soft);
    color: var(--fg-blue);
    font-size: 20px;
}

.fg-public-job-card .icon {
    min-height: 50px !important;
}

.fg-public-job-card .icon img.wa {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    object-fit: cover;
}

.fg-public-job-card .details {
    display: block !important;
    min-width: 0;
    padding-right: 0;
}

.fg-public-job-card .details h5 {
    min-height: 64px !important;
    color: var(--fg-ink);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.fg-public-job-card .details h5 a {
    color: inherit;
    word-break: normal;
    overflow-wrap: anywhere;
}

.fg-public-job-card:hover .details h5,
.fg-public-job-card:hover .details h5 a {
    color: var(--fg-blue);
}

.fg-public-job-card .fav-icon {
    top: 20px !important;
    right: 20px !important;
}

.fg-public-job-card form .fav-icon {
    position: absolute !important;
}

.fg-public-job-card .fg-job-card-salary {
    color: #5f6f83;
    font-size: 15px;
    line-height: 1.5;
}

.fg-public-job-card .fg-job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.fg-public-job-card .fg-job-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f4f8fd;
    color: #5f6f83;
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .fg-home-featured-jobs-section {
        padding-bottom: 72px !important;
    }

    .fg-home-featured-jobs-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fg-home-featured-jobs-section .main-title {
        margin-bottom: 18px !important;
    }

    .fg-home-featured-jobs-section .main-title .title {
        font-size: 26px;
        line-height: 1.25;
    }

    .fg-home-featured-jobs-section .main-title .paragraph {
        font-size: 14px;
        line-height: 1.5;
    }

    .fg-home-featured-jobs-section .navpill-style2 {
        margin-bottom: 24px !important;
        overflow: visible;
    }

    .fg-home-featured-jobs-section .nav-pills {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 0 !important;
        overflow-x: auto;
        padding: 0 0 13px;
        scrollbar-color: #9b9b9b transparent;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .fg-home-featured-jobs-section .nav-pills::-webkit-scrollbar {
        height: 8px;
    }

    .fg-home-featured-jobs-section .nav-pills::-webkit-scrollbar-track {
        background: transparent;
    }

    .fg-home-featured-jobs-section .nav-pills::-webkit-scrollbar-thumb {
        background: #9b9b9b;
        border-radius: 999px;
    }

    .fg-home-featured-jobs-section .nav-item {
        flex: 0 0 auto;
    }

    .fg-home-featured-jobs-section .nav-pills .nav-link {
        min-height: 44px;
        padding: 0 18px;
        border: 1px solid #e9edf3;
        border-radius: 999px;
        background: #fff;
        color: var(--fg-ink) !important;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .fg-home-featured-jobs-section .nav-pills .nav-link.active {
        border-color: #dceaf6;
        background: var(--fg-blue-soft);
        color: var(--fg-green-dark) !important;
    }

    .fg-home-featured-jobs-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .fg-home-featured-jobs-grid > [class*="col-"] {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        align-items: flex-start;
    }

    .fg-home-job-card {
        height: auto !important;
        min-height: auto !important;
        padding: 16px !important;
        border-radius: 13px !important;
    }

    .fg-home-job-card .list-content {
        display: block;
        height: auto;
        min-height: 0;
    }

    .fg-home-job-card .list-title,
    .fg-home-job-card .list-title a {
        min-height: 0;
        font-size: 16px;
        line-height: 1.32;
        -webkit-line-clamp: 3;
    }

    .fg-home-job-card .review-meta {
        min-height: 24px;
    }

    .fg-home-job-card .review-meta p,
    .fg-home-job-card .list-text,
    .fg-home-job-card .list-meta .fz14,
    .fg-home-job-card .border-top > span,
    .fg-home-job-card .border-top > a {
        font-size: 13px !important;
        line-height: 1.35;
    }

    .fg-home-job-card .fg-home-job-company-rate {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .fg-home-job-card .fg-home-job-company-rate .budget {
        padding-left: 42px;
        text-align: left;
    }

    .fg-home-job-card .fg-home-job-company-rate .budget .dark-color {
        display: block;
        font-size: 14px !important;
        line-height: 1.35;
        white-space: normal;
    }

    .fg-home-job-card .border-top {
        gap: 8px;
        align-items: flex-start !important;
    }

    .fg-home-job-card .border-top > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fg-home-job-card .border-top > a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .fg-public-job-card {
        min-height: 292px !important;
        padding: 18px !important;
    }

    .fg-public-job-card .icon {
        display: block !important;
        min-height: 84px !important;
    }

    .fg-public-job-card .icon img.wa,
    .fg-job-type-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px;
        margin-bottom: 12px;
    }

    .fg-public-job-card .icon h6 {
        margin-left: 0 !important;
        padding-right: 32px;
        font-size: 14px;
        line-height: 1.35;
    }

    .fg-public-job-card .details h5 {
        min-height: 76px !important;
        font-size: 15px;
        line-height: 1.35;
    }

    .fg-public-job-card .fg-job-card-salary {
        font-size: 13px;
    }

    .fg-public-job-card .fg-job-card-meta {
        gap: 6px;
    }

    .fg-public-job-card .fg-job-card-meta span {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 12px;
    }
}

.fg-job-detail-content {
    box-shadow: 0 10px 30px rgba(17, 91, 170, 0.05);
}

.fg-job-apply-box {
    background: #f8fbff !important;
    box-shadow: none !important;
}

.fg-job-detail-sidebar {
    position: sticky;
    top: 105px;
    box-shadow: 0 14px 35px rgba(17, 91, 170, 0.08);
}

.fg-job-detail-sidebar img.wa {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
}

.fg-job-sidebar-list {
    list-style: none;
}

.fg-job-sidebar-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid #edf0f5;
}

.fg-job-sidebar-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.fg-job-sidebar-list span {
    color: #697386;
}

.fg-job-sidebar-list strong {
    color: var(--fg-ink);
    font-weight: 600;
    text-align: right;
}

.navbar-header,
.dashboard-main-body,
body[data-theme="light"] {
    color: var(--fg-ink);
}

.navbar-header .dropdown-menu-lg {
    width: min(460px, calc(100vw - 24px));
}

.fg-header-notification-item {
    color: inherit;
    min-width: 0;
}

.fg-header-notification-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.fg-header-notification-main > .min-w-0 {
    min-width: 0;
}

.fg-header-notification-time,
.fg-header-notification-meta {
    flex: 0 0 auto;
    margin-left: 12px;
    max-width: 128px;
    text-align: right;
    white-space: nowrap;
}

.fg-header-notification-time {
    line-height: 1.35;
}

.fg-header-notification-message {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .navbar-header .dropdown-menu-lg {
        width: calc(100vw - 16px);
    }

    .fg-header-notification-item {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .fg-header-notification-time,
    .fg-header-notification-meta {
        max-width: 96px;
        margin-left: 8px;
        font-size: 12px !important;
    }
}

.sidebar-logo img {
    max-height: 48px;
    object-fit: contain;
}

.sidebar-menu li .fg-sidebar-logout {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary-light);
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    transition: all 0.3s;
}

.sidebar-menu li .fg-sidebar-logout:hover {
    background-color: var(--fg-blue);
    color: #fff;
}

.sidebar-menu li .fg-sidebar-logout .menu-icon {
    font-size: 1.125rem;
    margin-inline-end: 0.5rem;
}

@media (min-width: 1650px) {
    .sidebar-menu li .fg-sidebar-logout {
        font-size: 1rem;
    }

    .sidebar-menu li .fg-sidebar-logout .menu-icon {
        font-size: 1.375rem;
        margin-inline-end: 0.75rem;
    }
}

.fluxgig-mobile-header .mobile-join-link {
    background: var(--fg-blue) !important;
}

.fluxgig-mobile-header .mobile-join-link:hover {
    background: var(--fg-blue-dark) !important;
}

/* Project image normalization */
.header-logo img,
.mobile_logo img,
.sidebar-logo img,
.fg-sidebar-logo {
    object-fit: contain;
}

.rounded-circle,
img.rounded-circle,
.avatar-lg,
.w-40-px.h-40-px,
.w-44-px.h-44-px,
.w-200-px.h-200-px,
.freelancer-style1 .thumb img,
.freelancer-single-style img.rounded-circle,
.job-list-style1 .icon img,
.message-list img.rounded-circle,
.fg-chat-sidebar img.rounded-circle,
.fg-chat-message img.rounded-circle {
    object-fit: cover;
}

.job-list-style1 .icon img.wa,
.cta-job-v1 .freelancer-single-style img.wa,
.freelancer-style1 .thumb,
.freelancer-style1 .thumb img {
    width: 90px;
    height: 90px;
}

.job-list-style1 .icon img.wa {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.freelancer-style1 .thumb {
    overflow: visible;
}

.freelancer-style1 .thumb .online {
    top: 7px;
    right: 3px;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    z-index: 2;
}

.fg-profile-avatar-wrap {
    display: inline-flex;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    border-radius: 50%;
    overflow: visible;
}

.fg-profile-avatar {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    min-width: 150px;
    object-fit: cover;
    object-position: center;
    background: #eaf3fb;
}

.fg-profile-avatar-wrap .online {
    top: 8px !important;
    right: 10px !important;
}

.listing-style1 img,
.feature-style1 img,
.category-card img {
    object-fit: cover;
}

.feature-style1 {
    overflow: hidden;
}

.feature-style1 img {
    aspect-ratio: 4 / 3;
}

.admin-image-preview,
#imagePreview {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

img[src=""],
img:not([src]) {
    visibility: hidden;
}

/* Equal card sizing */
.line-clamp1,
.line-clamp2,
.line-clamp3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.line-clamp1 {
    -webkit-line-clamp: 1;
}

.line-clamp2 {
    -webkit-line-clamp: 2;
}

.line-clamp3 {
    -webkit-line-clamp: 3;
}

.row > [class*="col-"] > .freelancer-style1,
.row > [class*="col-"] > .job-list-style1,
.row > [class*="col-"] > .listing-style1,
.row > [class*="col-"] > .feature-style1,
.row > [class*="col-"] > .pricing_packages,
.owl-carousel .item > .freelancer-style1,
.owl-carousel .item > .job-list-style1,
.owl-carousel .item > .listing-style1,
.owl-carousel .item > .feature-style1,
.owl-carousel .item > .pricing_packages {
    height: 100%;
}

.freelancer-style1,
.job-list-style1,
.listing-style1,
.feature-style1,
.pricing_packages {
    display: flex;
    flex-direction: column;
}

.freelancer-style1 {
    min-height: 474px;
}

.freelancer-style1 .details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.freelancer-style1 .details .title,
.freelancer-style1 .details > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.freelancer-style1 .details .title {
    min-height: 27px;
    -webkit-line-clamp: 1;
}

.freelancer-style1 .details > p {
    min-height: 48px;
    -webkit-line-clamp: 2;
}

.freelancer-style1 .review {
    min-height: 28px;
}

.freelancer-style1 .skill-tags,
.freelancer-style1 .tag-list,
.freelancer-style1 .skill-tags.d-flex {
    min-height: 34px;
    max-height: 34px;
    overflow: hidden;
}

.freelancer-style1 .skill-tags {
    align-content: flex-start;
    gap: 8px;
    flex-wrap: wrap !important;
}

.freelancer-style1 .skill-tags .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 168px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #fff1ed;
    color: #263548;
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.freelancer-style1 .skill-tags .tag.mx10 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.freelancer-style1 .fl-meta {
    min-height: 58px;
    margin-bottom: 18px;
}

.freelancer-style1 .details .d-grid {
    margin-top: auto !important;
}

.freelancer-style1 .fg-freelancer-card-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    line-height: 1.2;
    white-space: nowrap;
}

.freelancer-style1 .fg-freelancer-card-btn i {
    margin-left: 0 !important;
    flex: 0 0 auto;
}

.job-list-style1 {
    min-height: 238px;
}

.job-list-style1 .icon {
    min-height: 52px;
}

.job-list-style1 .details {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
}

.job-list-style1 .details h5,
.job-list-style1 .details > h5 {
    display: -webkit-box;
    min-height: 56px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.job-list-style1 .details p,
.job-list-style1 .details .list-inline-item {
    line-height: 1.45;
}

.listing-style1 {
    min-height: 318px;
}

.listing-style1 .list-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.listing-style1 .list-title,
.listing-style1 .list-title a {
    display: -webkit-box;
    min-height: 56px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.listing-style1 .review-meta,
.listing-style1 .list-text {
    min-height: 24px;
}

.listing-style1 .list-agent {
    margin-top: auto;
}

.feature-style1 {
    min-height: 280px;
}

.feature-style1 .feature-content {
    min-height: 92px;
}

.feature-style1 .title,
.feature-style1 .text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.feature-style1 .title {
    -webkit-line-clamp: 2;
}

.feature-style1 .text {
    -webkit-line-clamp: 1;
}

.pricing_packages {
    min-height: 560px;
}

.pricing_packages .list-style1,
.pricing_packages .pricing-list {
    flex: 1 1 auto;
}

/* Homepage category section */
.fg-home-category-section {
    padding: 0 0 60px !important;
    background: #fff;
    overflow: hidden;
}

.fg-home-category-section .main-title2 {
    margin-bottom: 30px;
}

.fg-home-category-section .main-title2 .title {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.fg-home-category-section .main-title2 .paragraph {
    max-width: 560px;
    color: #5f6671;
}

.fg-home-category-section .ud-btn.btn-light-thm {
    min-width: 186px;
    min-height: 55px;
    background: #eaf3fb !important;
    color: var(--fg-green-dark) !important;
    border: 0 !important;
    box-shadow: none;
}

.fg-home-category-section .ud-btn.btn-light-thm:hover {
    background: var(--fg-green) !important;
    color: #fff !important;
}

.fg-home-category-carousel {
    position: relative;
    padding: 10px 0 30px;
}

.fg-home-category-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.fg-home-category-carousel .owl-item {
    display: flex;
    min-height: 100%;
}

.fg-home-category-carousel .item {
    display: flex;
    width: 100%;
}

.fg-category-card {
    display: block !important;
    position: relative;
    width: 100%;
    min-height: auto !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: none;
}

.fg-category-card .feature-img {
    height: 280px;
    border-radius: 16px !important;
}

.fg-category-card .feature-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.fg-category-card .feature-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.fg-category-card .feature-content {
    inset: 0;
    min-height: 0;
    padding: 0;
    z-index: 2;
}

.fg-category-card .top-area {
    position: absolute;
    top: 35px;
    left: 0;
    padding-left: 30px;
    transform: none;
}

.fg-category-card .title,
.fg-category-card .text {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.fg-category-card .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 5px !important;
}

.fg-category-card .text {
    min-height: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-prev,
.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-next {
    width: 60px;
    height: 60px;
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 10px 35px rgba(5, 16, 54, 0.1);
    color: #051036 !important;
}

.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-prev {
    left: -30px;
}

.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-next {
    right: -30px;
}

.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-prev:hover,
.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-next:hover {
    background: var(--fg-green) !important;
    color: #fff !important;
}

.fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button:hover i {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .fg-home-category-section {
        padding-bottom: 45px !important;
    }

    .fg-home-category-section .main-title2 .title {
        font-size: 28px;
    }

    .fg-category-card .feature-img {
        height: 260px;
    }

    .fg-job-filter-panel,
    .fg-job-detail-sidebar {
        position: static;
    }

    .fg-job-detail-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 579px) {
    .fg-jobs-hero-section .cta-banner,
    .cta-service-v6.cta-banner {
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .fg-jobs-hero-section .container,
    .cta-service-v6.cta-banner .container {
        padding-left: 0;
        padding-right: 0;
    }

    .fg-public-search-form,
    .cta-service-v6 .advance-search-tab {
        width: 100%;
    }

    .fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-prev {
        left: -10px;
    }

    .fg-home-category-carousel.vam_nav_style.owl-theme .owl-nav button.owl-next {
        right: -10px;
    }

    .fg-public-job-card {
        padding: 22px !important;
    }

    .fg-public-job-card .icon img.wa,
    .fg-job-type-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px;
    }

    .fg-public-job-card .details {
        padding-right: 0;
    }

    .fg-public-job-card .fav-icon {
        top: 16px !important;
        right: 16px !important;
    }

    .fg-job-sidebar-list li {
        display: block;
    }

    .fg-job-sidebar-list strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }
}

/* Frontend button polish */
.header-nav.nav-homepage-style.stricky-fixed {
    top: 0 !important;
    padding-top: 8px;
}

.wrapper .body_content .ud-btn,
.header-nav .add-joining,
.header-nav.nav-homepage-style .add-joining,
header.nav-homepage-style.stricky.stricky-fixed .add-joining,
.fluxgig-mobile-header .mobile-join-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: var(--fg-public-button-min-width);
    height: var(--fg-public-button-height);
    min-height: var(--fg-public-button-height);
    padding: 0 var(--fg-public-button-padding-x) !important;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: var(--fg-blue-soft) !important;
    color: var(--fg-green-dark) !important;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none !important;
    white-space: nowrap;
}

.wrapper .body_content .ud-btn.w-100,
.wrapper .body_content .w-100 > .ud-btn,
.wrapper .body_content .d-grid > .ud-btn {
    width: 100% !important;
    min-width: 0;
}

.wrapper .body_content .ud-btn i,
.header-nav .add-joining i,
.header-nav.nav-homepage-style .add-joining i,
header.nav-homepage-style.stricky.stricky-fixed .add-joining i,
.fluxgig-mobile-header .mobile-join-link i {
    margin-left: 2px !important;
    color: inherit !important;
}

.wrapper .body_content .ud-btn:hover,
.header-nav .add-joining:hover,
.header-nav.nav-homepage-style .add-joining:hover,
header.nav-homepage-style.stricky.stricky-fixed .add-joining:hover,
.fluxgig-mobile-header .mobile-join-link:hover {
    background-color: var(--fg-green) !important;
    border-color: var(--fg-green) !important;
    color: #fff !important;
}

.fluxgig-mobile-header .right-side {
    gap: 12px;
}

.fluxgig-mobile-header .mobile-join-link {
    width: 136px;
    min-width: 136px;
    height: 44px;
    min-height: 44px;
    padding: 0 18px !important;
    font-size: 13px;
}

.fluxgig-mobile-header .menubar {
    margin-left: 0 !important;
}

@media (max-width: 374.98px) {
    .fluxgig-mobile-header .mobile-join-link {
        width: 116px;
        min-width: 116px;
        height: 42px;
        min-height: 42px;
        padding: 0 14px !important;
    }
}

.fg-plan-role-tabs .nav-link {
    min-width: var(--fg-public-button-min-width);
    height: var(--fg-public-button-height);
    min-height: var(--fg-public-button-height);
    padding: 0 var(--fg-public-button-padding-x);
    border: 0 !important;
    border-radius: 999px !important;
    background-color: transparent !important;
    color: var(--fg-blue) !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.fg-plan-role-tabs .nav-link.active,
.fg-plan-role-tabs .nav-link:hover,
.fg-plan-role-tabs .nav-link:focus {
    background-color: var(--fg-blue-soft) !important;
    color: var(--fg-green-dark) !important;
}

/* Backend mobile polish */
.fg-backend-site-btn {
    min-height: 40px;
    white-space: nowrap;
}

.fg-backend-site-btn:hover,
.fg-backend-site-btn:focus {
    color: #fff !important;
}

.dashboard-main,
.dashboard-main-body {
    min-width: 0;
}

.dashboard-main {
    overflow-x: hidden;
    background: #f5f6fa;
}

.dashboard-main-body {
    flex: 1 0 auto;
    padding-top: 24px;
    padding-bottom: 24px;
}

.d-footer {
    flex-shrink: 0;
    border-top: 1px solid #eef1f5;
}

.dashboard-main-body .table-responsive {
    -webkit-overflow-scrolling: touch;
}

.dashboard-main-body .table-responsive .table {
    min-width: 720px;
}

.dashboard-main-body .card {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .navbar-header {
        height: auto;
        min-height: 64px;
        padding: 12px 16px;
    }

    .navbar-header > .row {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .navbar-header .col-auto {
        min-width: 0;
    }

    .navbar-header .col-auto:last-child > .d-flex {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .navbar-header [data-theme-toggle],
    .navbar-header .has-indicator {
        width: 36px !important;
        height: 36px !important;
    }

    .navbar-header .dropdown > button img {
        width: 36px !important;
        height: 36px !important;
    }

    .navbar-header .dropdown {
        position: static;
    }

    .navbar-header .dropdown-menu {
        inset-inline-end: 8px !important;
        inset-inline-start: auto !important;
        top: 58px !important;
        transform: none !important;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .dashboard-main-body {
        padding: 16px;
    }

    .dashboard-main-body > .d-flex:first-child {
        align-items: flex-start !important;
        margin-bottom: 16px !important;
    }

    .dashboard-main-body > .d-flex:first-child ul {
        width: 100%;
        overflow-x: auto;
        padding-left: 0;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-main-body .card .card-body,
    .dashboard-main-body .p-24 {
        padding: 16px !important;
    }

    .dashboard-main-body .d-flex.flex-wrap.justify-content-between {
        align-items: flex-start !important;
    }

    .basic-data-table .dt-layout-row {
        gap: 12px;
    }

    .basic-data-table .dt-layout-row .dt-layout-cell {
        width: 100%;
    }

    .basic-data-table .dt-layout-row .dt-length,
    .basic-data-table .dt-layout-row .dt-search {
        justify-content: flex-start;
        width: 100%;
    }

    .basic-data-table .dt-layout-row .dt-search .dt-input {
        width: min(100%, 260px);
    }

    div.dt-container .dt-paging {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .fg-backend-site-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0 !important;
        justify-content: center;
        border-radius: 50% !important;
    }

    .fg-backend-site-btn span {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-header {
        padding: 10px 12px;
    }

    .navbar-header .sidebar-mobile-toggle .icon {
        font-size: 24px;
    }

    .navbar-header [data-theme-toggle],
    .navbar-header .has-indicator {
        width: 34px !important;
        height: 34px !important;
    }

    .navbar-header .dropdown > button img {
        width: 34px !important;
        height: 34px !important;
    }

    .navbar-header .dropdown-menu {
        width: calc(100vw - 16px) !important;
        inset-inline-end: 8px !important;
        top: 54px !important;
    }

    .navbar-header .dropdown-menu-sm {
        width: min(312px, calc(100vw - 16px)) !important;
    }

    .navbar-header .dropdown-menu .m-16 {
        margin: 12px !important;
        padding: 10px 12px !important;
    }

    .fg-header-notification-item {
        gap: 10px !important;
    }

    .fg-header-notification-main {
        gap: 10px !important;
    }

    .fg-header-notification-main .w-44-px,
    .fg-header-notification-main .w-40-px {
        width: 36px !important;
        height: 36px !important;
    }

    .dashboard-main-body {
        padding: 12px;
    }

    .dashboard-main-body .card {
        border-radius: 8px !important;
    }

    .dashboard-main-body .card .card-body,
    .dashboard-main-body .p-24 {
        padding: 14px !important;
    }

    .dashboard-main-body h6.text-lg,
    .dashboard-main-body .text-lg {
        font-size: 16px !important;
    }

    .dashboard-main-body .btn {
        white-space: nowrap;
    }

    .dashboard-main-body .d-flex.gap-2,
    .dashboard-main-body .d-flex.gap-3 {
        row-gap: 10px !important;
    }

    .dashboard-main-body .row {
        --bs-gutter-x: 16px;
    }

    .basic-data-table .dt-layout-row .dt-length,
    .basic-data-table .dt-layout-row .dt-search {
        gap: 8px;
    }

    .basic-data-table .dt-layout-row .dt-search label,
    .basic-data-table .dt-layout-row .dt-length label {
        width: 100%;
        margin-bottom: 0;
    }

    .basic-data-table .dt-layout-row .dt-search .dt-input,
    .basic-data-table .dt-layout-row select {
        width: 100% !important;
        max-width: 100%;
    }

    #revenue-chart,
    #barChart,
    #paymentStatusChart,
    #donutChart {
        min-height: 260px;
        overflow: hidden;
    }

    .fg-profile-avatar-wrap {
        width: 104px;
        height: 104px;
        flex-basis: 104px;
    }

    .fg-profile-avatar {
        width: 104px !important;
        height: 104px !important;
        max-width: 104px !important;
        min-width: 104px;
    }

    .freelancer-style1,
    .job-list-style1,
    .listing-style1,
    .feature-style1,
    .pricing_packages {
        min-height: auto;
    }

    .freelancer-style1 .fg-freelancer-card-btn {
        height: 50px;
        min-height: 50px;
        padding: 0 14px !important;
        font-size: 14px;
        gap: 7px;
    }

    .freelancer-style1 .skill-tags .tag {
        max-width: 76px;
        min-height: 34px;
        padding: 7px 12px;
        font-size: 12px;
    }
}
