    .badge-required {
        background-color: #ffecec;
        /* soft red background */
        color: #d9534f;
        /* strong red text */
        border: 1px solid #f5b5b5;
        /* subtle border */
        font-weight: 500;
    }


    .bg-body-tertiary {
        color: #000 !important;
        background: #d1e7ddt !important;

    }

    .select2-selection__clear span {
        margin-right: 5px !important;
    }

    .js-range-slider {
        display: none !important;
    }

    .range-radius {
        display: none !important;
    }

    .nice-select {
        display: none !important;
    }

    /* Enhanced Page Background */
    .py-10 {
        background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e8 100%);
        min-height: 100vh;
    }

    /* Modern Search Container */
    .search-container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 40px;
    }

    /* Enhanced Search Form */
    .search-form {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid #e9ecef;
    }

    /* Modern Input Styling */
    .form-control {
        border: 2px solid #e9ecef !important;
        border-radius: 12px;
        padding: 15px 20px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    /* Experience Level Select2 Styling */
    .select2-search .select2-container--default .select2-selection--single {
        height: 55px;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 0;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }

    .select2-search .select2-container--default .select2-selection--single:hover {
        border-color: var(--maincolor);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.2);
    }

    .select2-search .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 51px;
        padding-left: 20px;
        color: #495057;
        font-size: 16px;
        font-weight: 500;
    }

    .select2-search .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 51px;
        right: 15px;
        top: 0;
        width: 20px;
        position: absolute;
        display: block;
    }

    .select2-search .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #6c757d transparent transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0 4px;
        height: 0;
        left: 50%;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0;
    }

    .select2-search .select2-container--default.select2-container--focus .select2-selection--single {
        border-color: var(--maincolor);
        box-shadow: 0 0 0 0.2rem rgba(11, 130, 96, 0.25);
        background: white;
    }

    .select2-search .select2-dropdown {
        border: 2px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        margin-top: 5px;
    }

    .select2-search .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background: var(--maincolor);
        color: white;
    }

    .select2-search .select2-container--default .select2-results__option[aria-selected=true] {
        background-color: #f8f9fa;
        color: #495057;
        font-weight: 600;
    }

    .select2-search .select2-search--dropdown .select2-search__field {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 14px;
        margin: 8px;
        width: calc(100% - 16px);
    }

    .select2-search .select2-search--dropdown .select2-search__field:focus {
        border-color: var(--maincolor);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(11, 130, 96, 0.25);
    }

    /* Clear button styling */
    .select2-search .select2-container--default .select2-selection--single .select2-selection__clear {
        color: #999;
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 20px;
        margin-right: 40px;
        margin-top: 15px;
        width: 20px;
        border-radius: 50%;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: all 0.3s ease;
        text-decoration: none;
        line-height: 1;
    }

    .select2-search .select2-container--default .select2-selection--single .select2-selection__clear:hover {
        color: #dc3545;
        background: #fff5f5;
        border-color: #dc3545;
        transform: scale(1.1);
    }

    .form-control:focus {
        border-color: var(--maincolor);
        box-shadow: 0 0 0 0.2rem rgba(11, 130, 96, 0.25);
        background: white;
        transform: translateY(-2px);
    }

    /* Enhanced Select2 Styling */
    .select2-container--default .select2-selection--single {
        height: 55px;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 0;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }

    .select2-container--default .select2-selection--single:hover {
        border-color: var(--maincolor);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.2);
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 51px;
        padding-left: 40px;
        color: #495057;
        font-size: 16px;
        font-weight: 500;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 51px;
        right: 15px;
        top: 0;
        width: 20px;
        position: absolute;
        display: block;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #6c757d transparent transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0 4px;
        height: 0;
        left: 50%;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0;
    }

    /* Fix Select2 arrow positioning with input-with-icon */
    .input-with-icon .select2-container--default .select2-selection--single .select2-selection__arrow {
        right: 25px !important;
        /* Move arrow left to avoid icon conflict */
    }

    /* Ensure Select2 dropdown is clickable */
    .select2-container--default .select2-selection--single {
        cursor: pointer;
        user-select: none;
    }

    /* Fix Select2 focus state */
    .select2-container--default.select2-container--focus .select2-selection--single .select2-selection__arrow b {
        border-color: var(--maincolor) transparent transparent transparent;
    }

    /* Style Select2 clear button (cross button) */
    .select2-container--default .select2-selection--single .select2-selection__clear {
        color: #999;
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 20px;
        margin-right: 40px;
        margin-top: 15px;
        width: 20px;
        border-radius: 50%;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: all 0.3s ease;
        text-decoration: none;
        line-height: 1;
    }

    .select2-container--default .select2-selection--single .select2-selection__clear:hover {
        color: #dc3545;
        background: #fff5f5;
        border-color: #dc3545;
        transform: scale(1.1);
    }

    /* Remove duplicate cross - Select2 already provides the × symbol */

    /* Adjust arrow position when clear button is present */
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        right: 15px;
    }

    .select2-container--default .select2-selection--single .select2-selection__clear+.select2-selection__arrow {
        right: 45px;
    }

    /* Fix clear button positioning with input-with-icon */
    .input-with-icon .select2-container--default .select2-selection--single .select2-selection__clear {
        margin-right: 50px;
        /* Adjust for icon spacing */
    }

    .input-with-icon .select2-container--default .select2-selection--single .select2-selection__clear+.select2-selection__arrow {
        right: 75px;
        /* Adjust arrow position when clear button is present */
    }

    /* Enhanced clear button design */
    .select2-container--default .select2-selection--single .select2-selection__clear {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        font-family: Arial, sans-serif;
    }

    .select2-container--default .select2-selection--single .select2-selection__clear:active {
        transform: scale(0.95);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    /* Focus state for clear button */
    .select2-container--default.select2-container--focus .select2-selection--single .select2-selection__clear {
        border-color: var(--maincolor);
    }

    .select2-container--default.select2-container--focus .select2-selection--single {
        border-color: var(--maincolor);
        box-shadow: 0 0 0 0.2rem rgba(11, 130, 96, 0.25);
        background: white;
    }

    .select2-dropdown {
        border: 2px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background: var(--maincolor);
        color: white;
    }

    .select2-container--default .select2-results__option[aria-selected=true] {
        background-color: #f8f9fa;
        color: #495057;
        font-weight: 600;
    }

    /* Modern Button Styling */
    .btn-search {
        background: var(--maincolor);
        border: none;
        border-radius: 12px;
        padding: 15px 30px;
        font-weight: 600;
        font-size: 16px;
        color: white;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.3);
    }

    .btn-search:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(11, 130, 96, 0.4);
        color: white;
    }

    /* Enhanced Job Cards */
    .jbs-list-box {
        background: white;
        border-radius: 15px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        position: relative;
        /* For absolute positioning of job type */
    }

    /* Job Type in Top Right Corner */
    .jbs-job-types-wrap-top-left {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .jbs-job-types-wrap-top-left .label {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .jbs-list-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-color: var(--maincolor);
    }

    .job-instructor-layout {
        background: white;
        border-radius: 15px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .job-instructor-layout:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: var(--maincolor);
    }

    /* Enhanced Company Logo */
    .company-logo-container {
        width: 60px;
        height: 60px;
        overflow: hidden;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .company-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    .jbs-list-emp-thumb img,
    .job-instructor-thumb img {
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .jbs-list-emp-thumb img:hover,
    .job-instructor-thumb img:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    /* Job Card Layout Improvements - Consistent Design */
    .jbs-list-head {
        display: flex;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
        min-height: 120px;
        /* Fixed minimum height */
    }

    .jbs-list-head-thunner {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
    }

    /* Logo and info below it */
    .jbs-list-emp-thumb {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 120px;
    }

    .logo-bottom-info {
        margin-top: 10px;
        width: 100%;
    }

    .company-name-below-logo {
        font-size: 14px;
        font-weight: 600;
        color: #34495e;
        margin-bottom: 5px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .location-date-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .location-date-info .location-info,
    .location-date-info .date-info {
        font-size: 12px;
        color: #7f8c8d;
        text-align: center;
    }

    .jbs-list-job-caption {
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 40px;
        /* Add space for job type tag */
    }

    .jbs-list-head-middle {
        min-width: 200px;
        max-width: 250px;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    .jbs-list-head-last {
        min-width: 280px;
        max-width: 320px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    /* Salary Content Alignment */
    .salary-content {
        text-align: left;
    }

    .patype {
        font-size: 12px;
        color: #6c757d;
        font-weight: 500;
        margin-top: 2px;
    }

    /* Text Truncation and Limits - CSS Only */
    .jbs-job-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 2.8em;
        word-wrap: break-word;
        max-width: 100%;
    }

    .instructor-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        max-height: 2.6em;
        word-wrap: break-word;
        max-width: 100%;
    }

    .company-name {
        display: inline-block;
        max-width: 200px;
        /* Approximate 25 characters */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .location-info {
        display: inline-block;
        max-width: 150px;
        /* Approximate 15 characters */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .single-mrch-lists {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
    }

    .single-mrch-lists span {
        flex-shrink: 0;
    }

    .jbs-grid-job-edrs-group span {
        display: inline-block;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 2px;
    }

    /* Consistent Content Structure */
    .jbs-job-types-wrap {
        margin-bottom: 8px;
        min-height: 32px;
        /* Fixed height for tags */
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .jbs-job-title-wrap {
        margin-bottom: 8px;
        min-height: 48px;
        /* Fixed height for job title */
        display: flex;
        align-items: center;
    }

    .jbs-job-mrch-lists {
        min-height: 40px;
        /* Fixed height for company/location info */
        display: flex;
        align-items: center;
    }

    .single-mrch-lists {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .single-mrch-lists span {
        flex-shrink: 0;
    }

    /* Salary section consistency */
    .elsocrio-jbs {
        min-height: 60px;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .salary-content {
        text-align: left;
        width: 100%;
    }

    .jbs-list-pack {
        margin-bottom: 4px;
        min-height: 24px;
        display: flex;
        align-items: center;
    }

    .patype {
        font-size: 12px;
        color: #6c757d;
        font-weight: 500;
        margin-top: 2px;
        min-height: 16px;
        display: flex;
        align-items: center;
    }

    /* Empty state handling - maintain design consistency */
    .jbs-job-title:empty::before {
        content: "Job Title";
        color: #ccc;
        font-style: italic;
    }

    .company-name:empty::before {
        content: "Company Name";
        color: #ccc;
        font-style: italic;
    }

    .location-info:empty::before {
        content: "Location";
        color: #ccc;
        font-style: italic;
    }

    .jbs-list-pack:empty::before {
        content: "Salary Not Disclosed";
        color: #6c757d;
        font-style: italic;
    }

    /* Ensure buttons maintain consistent size */
    .jbs-list-head-last .btn {
        white-space: nowrap;
        min-width: 140px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Grid view consistency */
    .job-instructor-layout {
        min-height: 300px;
        display: flex;
        flex-direction: column;
    }

    .job-instructor-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .jbs-grid-job-apply-btns {
        margin-top: auto;
        padding: 15px;
    }

    /* Modern Tags */
    .label {
        border-radius: 20px;
        padding: 8px 16px;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .featured-text {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
    }

    .urgent-text {
        background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
        color: white;
    }

    /* Enhanced Job Type Badges */
    .full-time {
        background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
        color: white;
    }

    .part-time {
        background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
        color: white;
    }

    .internship {
        background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
        color: white;
    }

    /* Modern Salary Display */
    .jbs-list-pack,
    .jbs-grid-package-title h5 {
        color: #28a745;
        font-weight: 700;
        font-size: 18px;
        text-shadow: 0 1px 3px rgba(40, 167, 69, 0.3);
    }

    /* Enhanced Buttons */
    .btn-md {
        border-radius: 10px;
        padding: 12px 25px;
        font-weight: 600;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 14px;
    }

    /* Job Action Buttons - Desktop */
    .jbs-list-head-last {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* Ensure desktop layout is maintained */
    @media (min-width: 769px) {
        .jbs-list-head-last {
            flex-direction: row !important;
            display: flex !important;
        }
    }

    .jbs-list-head-last .btn {
        white-space: nowrap;
        min-width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jbs-grid-job-apply-btns .d-flex {
        gap: 8px;
    }

    .jbs-grid-job-apply-btns .btn {
        white-space: nowrap;
        font-size: 13px;
        padding: 8px 16px;
    }

    .btn-main {
        background: var(--maincolor);
        border: none;
        color: white;
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.3);
    }

    .btn-main:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(11, 130, 96, 0.4);
        color: white;
    }

    .btn-gray {
        background: #6c757d;
        border: none;
        color: white;
        box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
    }

    .btn-gray:hover {
        background: #5a6268;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
        color: white;
    }

    .btn-light-main {
        background: var(--maincolor);
        border: none;
        color: white;
        box-shadow: 0 3px 10px rgba(11, 130, 96, 0.3);
    }

    .btn-light-main:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.4);
        color: white;
    }

    /* Enhanced View Toggle */
    .view-toggle-buttons .btn {
        border-radius: 10px;
        padding: 12px 20px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin: 0 5px;
    }

    .view-toggle-buttons .btn-primary {
        background: var(--maincolor);
        border: none;
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.3);
    }

    .view-toggle-buttons .btn-outline-secondary {
        border: 2px solid #6c757d;
        color: #6c757d;
        background: transparent;
    }

    .view-toggle-buttons .btn-outline-secondary:hover {
        background: #6c757d;
        border-color: #6c757d;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
    }

    /* Enhanced Pagination */
    .pagination .page-link {
        border-radius: 10px;
        margin: 0 3px;
        border: 2px solid #e9ecef;
        color: #0a8260;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .pagination .page-link:hover {
        background: var(--maincolor);
        border-color: var(--maincolor);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.3);
    }

    .pagination .page-item.active .page-link {
        background: var(--maincolor);
        border-color: var(--maincolor);
        color: white;
        box-shadow: 0 5px 15px rgba(11, 130, 96, 0.3);
    }

    /* Enhanced Sidebar */
    .sidebar-widget {
        background: white;
        border-radius: 15px;
        border: 1px solid #e9ecef;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .sidebar-widget .widget-title {
        background: var(--maincolor);
        color: white;
        padding: 20px;
        margin: 0;
        font-weight: 700;
        font-size: 18px;
    }

    /* Enhanced Statistics Cards */
    .stats-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        text-align: center;
        border: 1px solid #e9ecef;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .stats-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--maincolor);
    }

    /* Enhanced Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .job-card-animate {
        animation: fadeInUp 0.6s ease-out;
    }

    .search-container {
        animation: fadeInUp 0.8s ease-out;
    }

    /* Enhanced Loading States */
    .loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        border-radius: 15px;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid var(--maincolor);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Enhanced Empty State */
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .empty-state i {
        font-size: 4rem;
        color: var(--maincolor);
        margin-bottom: 20px;
        opacity: 0.7;
    }

    .empty-state h4 {
        color: #495057;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .empty-state p {
        color: #6c757d;
        font-size: 1.1rem;
    }

    /* Enhanced Filter Modal */
    .modal-content {
        border-radius: 10px;
        border: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    .modal-header {
        background: var(--maincolor);
        color: white;
        border-radius: 20px 20px 0 0;
        border: none;
        padding: 25px;
    }

    .modal-title {
        font-weight: 700;
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 30px;
    }

    .modal-footer {
        border: none;
        padding: 20px 30px 30px;
        background: #f8f9fa;
        border-radius: 0 0 20px 20px;
    }

    /* Enhanced Statistics Display */
    .stats-row {
        background: white;
        border-radius: 15px;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e9ecef;
    }

    .stat-item {
        text-align: center;
        padding: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--maincolor);
        margin-bottom: 10px;
    }

    .stat-label {
        color: #6c757d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.9rem;
    }

    /* Enhanced Job Skills */
    .jbs-grid-job-edrs-group span {
        background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
        color: #495057;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin: 2px;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

    .jbs-grid-job-edrs-group span:hover {
        background: var(--maincolor);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(11, 130, 96, 0.3);
    }

    /* Enhanced Company Verification Badge */
    .jbs-verified::after {
        content: "✓";
        position: absolute;
        top: -5px;
        right: -5px;
        background: #28a745;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }

    /* Responsive Improvements */
    @media (max-width: 768px) {
        .search-container {
            padding: 20px;
            margin-bottom: 20px;
        }

        .search-form {
            padding: 20px;
        }

        .form-control,
        .select2-container--default .select2-selection--single {
            height: 50px;
        }

        .btn-search {
            width: 100%;
            margin-top: 15px;
        }

        .stats-number {
            font-size: 2rem;
        }

        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            padding: 15px 20px 20px;
        }

        /* Mobile job action buttons - only for mobile */
        .jbs-list-head-last {
            flex-direction: column !important;
            gap: 8px;
            width: 100%;
            min-width: auto;
        }

        .jbs-list-head-last .btn {
            width: 100%;
            min-width: auto;
        }

        .jbs-grid-job-apply-btns .d-flex {
            flex-direction: column;
            gap: 6px;
        }

        .jbs-grid-job-apply-btns .btn {
            width: 100%;
        }

        /* Mobile job card layout - maintain consistency */
        .jbs-list-head {
            flex-direction: column;
            align-items: stretch;
            gap: 15px;
            padding: 15px;
            min-height: auto;
            /* Allow natural height on mobile */
        }

        .jbs-list-head-thunner {
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-width: auto;
        }

        /* Mobile logo and info layout */
        .jbs-list-emp-thumb {
            min-width: auto;
            margin-bottom: 15px;
        }

        .logo-bottom-info {
            margin-top: 8px;
        }

        .company-name-below-logo {
            font-size: 13px;
        }

        .location-date-info .location-info,
        .location-date-info .date-info {
            font-size: 11px;
        }

        .jbs-list-job-caption {
            text-align: center;
            min-width: auto;
            padding-top: 35px;
            /* Reduced space for mobile */
        }

        /* Mobile job type positioning */
        .jbs-job-types-wrap-top-left {
            top: 10px;
            right: 10px;
        }

        .jbs-job-types-wrap-top-left .label {
            font-size: 11px;
            padding: 4px 8px;
        }

        .jbs-list-head-middle {
            min-width: auto;
            max-width: none;
            justify-content: center;
        }

        .jbs-list-head-last {
            min-width: auto;
            max-width: none;
            justify-content: center;
            flex-direction: column !important;
            gap: 8px;
        }

        .company-logo-container {
            margin: 0 auto 10px;
        }

        /* Mobile content consistency */
        .jbs-job-types-wrap {
            justify-content: center;
            min-height: 28px;
        }

        .jbs-job-title-wrap {
            min-height: 40px;
            justify-content: center;
        }

        .jbs-job-mrch-lists {
            min-height: 35px;
            justify-content: center;
        }

        .elsocrio-jbs {
            min-height: 50px;
            justify-content: center;
        }

        /* Mobile text limits - CSS Only */
        .jbs-job-title {
            -webkit-line-clamp: 1;
            max-height: 1.4em;
            max-width: 100%;
        }

        .instructor-title a {
            -webkit-line-clamp: 1;
            max-height: 1.3em;
            max-width: 100%;
        }

        .company-name {
            max-width: 120px;
            /* Approximate 15 characters on mobile */
        }

        .location-info {
            max-width: 100px;
            /* Approximate 12 characters on mobile */
        }

        .jbs-grid-job-edrs-group span {
            max-width: 60px;
            font-size: 11px;
        }
    }

    @media (max-width: 576px) {
        .jbs-list-head-last .btn {
            padding: 12px 20px;
            font-size: 14px;
        }

        .jbs-grid-job-apply-btns .btn {
            padding: 10px 14px;
            font-size: 12px;
        }
    }

    .job-card {
        transition: box-shadow .2s ease, transform .2s ease;
    }

    .job-card:hover {
        box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08) !important;
        transform: translateY(-2px);
    }

    .job-card:focus-within {
        box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .12) !important;
        outline: 0;
    }