.bb-recruiter-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.bb-job-form {
    margin-bottom: 40px;
}

.bb-job-form .form-group {
    margin-bottom: 20px;
}

.bb-job-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form input[type="text"],
.bb-job-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bb-job-form textarea {
    height: 300px;
    resize: vertical;
}

.bb-job-form input[type="file"] {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bb-job-form-container {
    display: flex;
    gap: 30px;
}

.bb-job-form-left {
    flex: 2; /* The left part occupies 2/3 of the width */
}

.bb-job-form-right {
    flex: 1; /* The right part occupies 1/3 of the width */
}

.bb-job-form-filters {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bb-job-form-filters h3 {
    margin-top: 20px; /* Top indentation for the "Filters" header */
    font-size: 18px;
    color: #333;
}

/* Styles for the salary field inside the filter block */
.bb-job-form-filters .form-group {
    margin-bottom: 20px;
}

.bb-job-form-filters .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form-filters .form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter-section {
    margin-bottom: 15px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.filter-header .toggle-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.filter-header.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Hiding the default lists */
}

.filter-list li {
    margin-bottom: 5px;
}

/* Styles for filter values */
.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: normal; /* Remove the bold font */
}

.filter-list input[type="checkbox"] {
    margin-right: 10px;
}

.add-new-term {
    margin-top: 10px;
}

.add-term-button {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.add-term-button:hover {
    text-decoration: underline;
}

#bb-add-term-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bb-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.bb-modal-content h3 {
    margin-top: 0;
}

.bb-modal-content .form-group {
    margin-bottom: 15px;
}

.bb-modal-content button {
    margin-right: 10px;
}

/* Styles for tabs */
.bb-job-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.bb-tab-link {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bb-tab-link.active {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ddd;
}

.bb-tab-link:hover {
    background-color: #e0e0e0;
    color: #333;
}

.bb-job-tab-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bb-job-tab-content {
    display: none;
}

.bb-job-tab-content.active {
    display: block;
}

.bb-job-tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bb-job-tab-content ul li {
    margin-bottom: 10px;
}

.bb-job-tab-content ul li a {
    text-decoration: none;
    color: #0073aa;
}

.bb-job-tab-content ul li a:hover {
    text-decoration: underline;
}

/* Styles for buttons "Edit", "Unpublish", "Publish" */
.job-read-more-button {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}


/* Styles for the "Unpublish" button */
.bb-unpublish-job {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.bb-unpublish-job:hover {
    background-color: #c82333 !important;
}

/* Styles for the "Publish" button */
.bb-publish-job {
    background-color: #007bff !important;
    color: #fff !important;
}

.bb-publish-job:hover {
    background-color: #0056b3 !important;
}

/* Styles for the date container */
.bb-job-form-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bb-job-form-dates .form-group {
    flex: 1;/* Each field occupies an equal space */
}

.bb-job-form-dates label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form-dates input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Styles for the block with fields on the left side of the form */
.bb-job-form-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Styles for fields inside the block .bb-job-form-section */
.bb-job-form-section .form-group {
    margin-bottom: 20px;
}

.bb-job-form-section .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form-section .form-group input[type="text"],
.bb-job-form-section .form-group input[type="email"],
.bb-job-form-section .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bb-job-form-section .form-group textarea {
    height: 300px;
    resize: vertical;
}

.bb-job-form-section .form-group input[type="file"] {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Adaptive styles for the mobile version */
@media (max-width: 768px) {
    .bb-job-form-container {
        flex-direction: column; /* The blocks are arranged vertically */
    }

    .bb-job-form-left,
    .bb-job-form-right {
        flex: 1; /* Both blocks take up the entire width */
    }

    .bb-job-form-right {
        order: 1; /* The block with salary and filters will be under the left block */
    }

    .bb-job-form-left {
        order: 0; /* The left block remains at the top */
    }

    .bb-job-form button {
        order: 2; /* The "Submit Job" button will be at the very bottom */
    }
}

#bb-edit-job-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bb-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    height: 90%;
    overflow-y: auto;
}

#bb-edit-job-modal .form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Styles for the "Cancel" button */
.bb-modal-close {
    background-color: #6c757d !important;
    color: #fff !important;
}

.bb-modal-close:hover {
    background-color: #5a6268 !important;
}

#bb-edit-job-modal .form-group {
    margin-bottom: 15px;
}

#bb-edit-job-modal .form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#bb-edit-job-modal .form-group input[type="text"],
#bb-edit-job-modal .form-group input[type="email"],
#bb-edit-job-modal .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#bb-edit-job-modal .form-group textarea {
    height: 400px;
    resize: vertical;
}

#bb-edit-job-modal .form-group input[type="file"] {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Container for splitting into two blocks */
.bb-edit-form-container {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

/* Left block (wide) */
.bb-edit-form-left {
    flex: 2; /* Takes up 2/3 of the width */
}

/* Right block (narrow) */
.bb-edit-form-right {
    flex: 1; /* Takes up 1/3 of the width */
}

/* Styles for the date block */
.bb-edit-form-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bb-edit-form-dates .form-group {
    flex: 1; /* Each field occupies an equal space */
}

/* Styles for filters */
.bb-job-form-filters {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bb-job-form-filters h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

.filter-section {
    margin-bottom: 15px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.filter-header .toggle-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.filter-header.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Hiding the default lists */
}

.filter-list li {
    margin-bottom: 5px;
}

.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: normal;
}

.filter-list input[type="checkbox"] {
    margin-right: 10px;
}

.add-new-term {
    margin-top: 10px;
}

.add-term-button {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.add-term-button:hover {
    text-decoration: underline;
}

/* Adaptive styles for the mobile version */
@media (max-width: 768px) {
    .bb-edit-form-container {
        flex-direction: column; /* The blocks are arranged vertically */
    }

    .bb-edit-form-left,
    .bb-edit-form-right {
        flex: 1; /* Both blocks take up the entire width */
    }
}

/* Styles for explanatory text */
.bb-edit-form-left .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Styles for the block with a background on the left side */
.bb-job-form-main {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Styles for fields inside a block with a background */
.bb-job-form-main .form-group {
    margin-bottom: 20px;
}

.bb-job-form-main .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form-main .form-group input[type="text"],
.bb-job-form-main .form-group input[type="email"],
.bb-job-form-main .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.bb-job-form-main .form-group textarea {
    height: 300px;
    resize: vertical;
}

.bb-job-form-main .form-group input[type="file"] {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Styles for a block with dates inside the backing */
.bb-job-form-main .bb-edit-form-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bb-job-form-main .bb-edit-form-dates .form-group {
    flex: 1; /* Each field occupies an equal space */
}

.bb-job-form-main .bb-edit-form-dates label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.bb-job-form-main .bb-edit-form-dates input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#bb-add-term-modal .bb-modal-content {
    width: 50%; /* Reducing the width to 50% */
    max-width: 400px; /* Limiting the maximum width */
}

/* Styles for tabs */
.bb-job-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.bb-tab-link {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bb-tab-link.active {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ddd;
}

.bb-tab-link:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Styles for text with a hint on the job add page */
.bb-job-form .form-group .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Styles for text with a hint in the modal editing window */
.bb-edit-form-left .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Styles for the modal window for adding filter values */
#bb-add-term-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Increase the z-index so that the window is on top of other modal windows */
}

/* Styles for the modal job editing window */
#bb-edit-job-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Leaving the z-index smaller than the value addition window */
}