.control-group {
    margin-bottom: 10px;
}

.modal {
    display: none;
    top: 100%;
    z-index: 10;
    opacity: 0;

}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 10px;
    border: 0px solid #fefefe;
    width: 50%;
    max-width: 470px;
    border-radius: 10px;
    height: auto;
    max-height: 70%;
    overflow-y: auto;
    white-space: normal;
    /* Ensures text wraps */
    word-wrap: break-word;
    /* Ensures long words break */
    word-break: break-word;

}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal.show {
    display: block;
    opacity: 1;
}


.modal-header {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.company-logo img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.modal-header h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0px;
    white-space: normal;
    /* Ensures text wraps */
    word-wrap: break-word;
    /* Ensures long words break */
    word-break: break-word;
}

.salary-position {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #f05454;
    margin-bottom: 10px;
}

.salary-position i {
    margin-right: 5px;
}

.address {
    font-size: 11px;
    color: #666;
    margin-bottom: 0px;
    word-wrap: break-word;
    word-break: break-all;
}

.modal-body {
    text-align: left;
    font-size: 14px;
    color: #333;
    max-height: 180px;
    overflow-y: auto;
    padding: 10px 0;
    white-space: normal;
    /* Ensures text wraps */
    word-wrap: break-word;
    /* Ensures long words break */
    word-break: break-word;
}

.modal-body h4 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

.modal-body p {
    font-size: 14px;
    margin: 0;
    white-space: normal;
    /* Ensures text wraps */
    word-wrap: break-word;
    /* Ensures long words break */
    word-break: break-word;
}

.modal-body a {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #fefefe;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #fefefe;
}

.twm-job-self-bottom {
    text-align: center;
    margin-top: 20px;
}

.twm-job-self-bottom a {
    background-color: #f05454;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.twm-job-self-bottom a:hover {
    background-color: #d04444;
}


.col-3 {
    flex: 0 0 auto;
    width: 20.333333%;
}

.modal {
    .modal-content {
        background-color: #fff;
        position: fixed;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid #fff;
        max-height: 82vh;
    }
}

.twm-job-self-bottom {
    background-color: #f2f2f2a6;
    display: flex;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    padding: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.twm-job-self-bottom:hover {
    background-color: #f2f2f2a9;
    color: #007bff;
}

.twm-job-self-bottom i {
    margin-right: 5px;
    transition: color 0.3s;
}

.twm-job-self-bottom:hover i {
    color: #007bff;
}

.hot-icon {
    display: flex;
    align-items: center;
    margin-left: 10px;
    font-size: 12px;
    box-shadow: rgb(0 0 0 / 15%) 0px 0px 2px 0px, rgb(0 0 0 / 15%) 1px 3px 8px 0px;
    border-radius: 5px;
    background-color: #f3eded;
    padding: 5px;
    animation: pulse 1.5s infinite ease-in-out;
    /* Thêm transition để tạo hiệu ứng mượt mà */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hot-icon:hover {
    background-color: #f3eded;
    transform: scale(1.05);
    box-shadow: rgb(0 0 0 / 15%) 0px 0px 2px 0px, rgb(0 0 0 / 15%) 1px 3px 8px 0px;
}



/* Keyframes for a pulsing effect */
@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

/* Keyframes for a pulsing effect */
@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

.suggestion {
    position: relative;
    background-color: #eefbfd;
    color: #000000;
    border: 1px solid #b4e3ec;
    padding: 8px 5px;
    margin: 7px 0;
    border-radius: 5px;
    font-size: 14px;
}

.suggestion .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.suggestion .close-btn:hover {
    color: #000;
}

@media only screen and (max-width: 768px) {
    .suggestion {
        display: none;
    }
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titlee {
    font-weight: bold;
    color: green;
    /* Green color */
    font-size: 1.4rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.filter-bar a {
    text-decoration: none;
}

.filter-bar button {
    flex-grow: 1;
    text-align: center;
    margin: 0.5rem;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333333;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.filter-bar button:hover {
    background-color: #fff0;
    border: 1px solid #3fee3f;
}

.toggle-button {
    margin-top: 1rem;
    cursor: pointer;
    color: green;
    font-size: 13px;
    margin: 10px;
    font-weight: bold;
    text-decoration: none;
    text-decoration: underline;
}

.toggle-button:hover {
    color: #28a745;
}

.suggestion {
    position: relative;
    background-color: #eefbfd;
    color: #000000;
    border: 1px solid #b4e3ec;
    padding: 7px 5px;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-size: 13px;
    display: block;
}

.suggestion .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #888888;
}

.suggestion .close-btn:hover {
    color: #000000;
}

@media only screen and (max-width: 768px) {
    .filter-bar button {
        width: calc(50% - 1rem);
    }

    .suggestion {
        display: none;
    }
}

.filter-bar .btn {
    display: none;
}

.filter-bar .btn.visible {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    width: 100%;
}