﻿#check-box-thoa-thuan {
    display: flex;
    color: #414651;
    margin-right: 10px;
    align-items: center; /* Đảm bảo căn giữa nội dung */
}

    #check-box-thoa-thuan input[type="checkbox"] {
        width: 20px; /* Kích thước rộng của checkbox */
        height: 20px; /* Kích thước cao của checkbox */
        margin-right: 1px; /* Khoảng cách giữa checkbox và text */
        cursor: pointer; /* Thêm con trỏ chuột khi hover */
    }


#check-box-tuyen-gap {
    display: flex;
    color: #414651;
    align-items: center; /* Đảm bảo căn giữa nội dung */
}

    #check-box-tuyen-gap input[type="checkbox"] {
        width: 20px; /* Kích thước rộng của checkbox */
        height: 20px; /* Kích thước cao của checkbox */
        margin-right: 2px; /* Khoảng cách giữa checkbox và text */
        cursor: pointer; /* Thêm con trỏ chuột khi hover */
    }

.ui.modal {
    position: fixed !important; /* Đảm bảo modal được định vị cố định */
    top: 0; /* Đặt modal ở phía trên */
    left: 0; /* Căn trái */
    margin: 0; /* Xóa khoảng cách mặc định */
    width: 500px; /* Đặt chiều rộng modal (có thể tùy chỉnh) */
    height: 100%; /* Chiều cao full màn hình (hoặc tùy chỉnh) */
    padding: 20px; /* Khoảng cách bên trong */
    overflow-y: auto; /* Thêm cuộn dọc nếu nội dung quá dài */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); /* Tạo hiệu ứng đổ bóng nhẹ */
    border-radius: 0; /* Xóa bo góc nếu không cần */
}

    .ui.modal::-webkit-scrollbar {
        width: 2px; /* Độ rộng của thanh cuộn */
    }

    .ui.modal::-webkit-scrollbar-track {
        background: #7D7A7A; /* Màu nền của thanh cuộn */
        border-radius: 2px; /* Bo tròn góc */
    }

    .ui.modal::-webkit-scrollbar-thumb {
        background-color: #7D7A7A; /* Màu của thanh cuộn */
        border-radius: 2px; /* Bo tròn góc thanh cuộn */
        border: 2px solid #7D7A7A; /* Tạo khoảng cách giữa thanh cuộn và track */
    }

/* Tùy chỉnh cho Firefox */
.ui.modal {
    scrollbar-width: thin; /* Làm thanh cuộn mỏng */
    scrollbar-color: #7D7A7A; /* Màu của thanh cuộn và track */
}

#header-modal-filter {
    text-align: center;
    color: #181D27;
    font-size: 18px;
/*    font-family: Inter;*/

    padding-top: 0 !important;
}

#close-icon-modal-filter {
    right: 5px !important;
    top: 15px !important;
    color: black;
    background: none;
}

#content-filter-modal {
    padding: 0 !important;
    position: static;
}


.criteria {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #7F56D9;
}

    .criteria .tieude {
        color: #414651;
/*        font-family: Inter;*/
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        margin-bottom: 0px;
    }



    .criteria .selected-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
    }

    .criteria .tag {
        background-color: #f3f3f3;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 14px;
        color: #333;
    }

    .criteria .clear-all {
        margin-left: auto;
        color: red;
        margin-top: 10px;
        cursor: pointer;
        margin-bottom: 10px;
    }



.filters .field-group {
    margin-bottom: 20px;
    margin-top: 10px;
}

    .filters .field-group label {
        color: #414651;
/*        font-family: Inter;*/
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        margin-bottom: 5px;
        margin-top: 5px;
    }

.salary-inputs {
    display: flex;
    flex-wrap: wrap; /* Cho phép xuống hàng */
    align-items: center;
    gap: 10px; /* Khoảng cách giữa các phần tử */
}


    .salary-inputs input {
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 5px;
        height: 34px;
    }

    .salary-inputs select {
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    .salary-inputs label {
        display: flex;
        align-items: center;
        gap: 5px;
    }

/*input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #7158E2;
}*/
#checkbox-skill {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #7158E2;
}
/*===========kinh nghiem ========*/
.field-group {
    margin-bottom: 20px;
}

    .field-group label {
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
    }

.experience-options {
    display: flex;
    flex-wrap: wrap; /* Cho phép các nút xuống hàng nếu không đủ chỗ */
    gap: 10px; /* Khoảng cách giữa các nút */
}

.option {
    padding: 7px 10px !important;
    border: 1px solid #D5D7DA !important; /* Viền nhẹ */
    border-radius: 5px !important; /* Bo tròn góc */
    background-color: #bbe5e11c !important; /* Nền trắng */
    color: #000 !important; /* Màu chữ */
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important; /* Hiệu ứng mượt khi hover và active */
}


    .option:hover {
        background-color: #f0f0f0 !important; /* Đổi màu nền khi hover */
        border-color: #bbb; /* Đổi màu viền khi hover */
    }

    .option.active {
        background-color: #794AFF !important; /* Màu nền khi được chọn */
        color: #FFFFFF !important; /* Màu chữ khi được chọn */
    }



/*    =========== skill ================*/

/*.ui.checkbox input[type="checkbox"]:checked + label {
    color: #652CD4;
    cursor: pointer;
    accent-color: #7158E2;
}*/

#checkbox-label-skill #checkbox-skill:checked + label {
    color: #652CD4;
    cursor: pointer;
    accent-color: #7158E2;
}

#checkbox-label-skill {
    padding-left: 10px;
    padding-right: 10px;
}

    #checkbox-label-skill label {
        font-size: 14px;
        font-weight: 400;
    }

.khung-chua {
    border: 1px solid #D5D7DA;
    border-radius: 10px;
}

/*===============button=================*/
/*.actions {
    display: flex;*/ /* Sử dụng flexbox để căn chỉnh */
    /*justify-content: center;*/ /* Căn giữa theo chiều ngang */
    /*gap: 10px;*/ /* Khoảng cách giữa các nút */
    /*margin-top: 20px;*/ /* Thêm khoảng cách phía trên nếu cần */
/*}*/

#filter-nang-cao-modal .actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #ddd;
    margin-bottom: 10px;
}

.ui.modal .actions > .button {
    width: 100%;
}

#cancel-modal-filter {
    border: 1px solid #D5D7DA;
/*    font-family: Inter;*/
    font-weight: 600;
    font-size: 16px;
    background: white
}

#apply-modal-filer {
    border: 1px solid #D5D7DA;
    /*    font-family: Inter;*/
    font-weight: 600;
    font-size: 16px;
    background: #794AFF !important;
}



#checkbox-skill:checked ~ label:before {
    background-color: #7158E2 !important;
    border-color: #7158E2 !important;
}

#checkbox-skill:checked ~ label:after {
    color: white !important;
}

/* Tùy chỉnh màu sắc mặc định (khi chưa chọn) */
#checkbox-label-skill label:before {
    background-color: #f0f0f0 !important;
    border-color: #D5D7DA !important;
}

#checkbox-label-skill label:hover:before {
    background-color: #E8E8E8 !important;
    border-color: #bbb !important;
}

/* Kích thước tùy chỉnh (nếu cần) */
#checkbox-label-skill label:before {
    width: 17px !important;
    height: 17px !important;
}

#checkbox-label-skill label {
    padding-left: 30px !important;
    color: #414651;
}

#checkbox-skill:checked ~ label {
    color: #7158E2 !important;
    font-weight: bold;
}




/*=================================*/

#menu-item-skill-checkbox {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
}

    /* Tùy chỉnh thanh cuộn */
    #menu-item-skill-checkbox::-webkit-scrollbar {
        width: 2px; /* Độ rộng của thanh cuộn */
    }

    #menu-item-skill-checkbox::-webkit-scrollbar-track {
        background: #7D7A7A; /* Màu nền của thanh cuộn */
        border-radius: 2px; /* Bo tròn góc */
    }

    #menu-item-skill-checkbox::-webkit-scrollbar-thumb {
        background-color: #7D7A7A; /* Màu của thanh cuộn */
        border-radius: 2px; /* Bo tròn góc thanh cuộn */
        border: 2px solid #7D7A7A; /* Tạo khoảng cách giữa thanh cuộn và track */
    }

/* Tùy chỉnh cho Firefox */
#menu-item-skill-checkbox {
    scrollbar-width: thin; /* Làm thanh cuộn mỏng */
    scrollbar-color: #7D7A7A; /* Màu của thanh cuộn và track */
}


#khung-search {
    margin-bottom: 10px;
}

#searchSkill {
    margin: 10px;
}

.ui.icon.input > i.icon {
    right: 15px !important;
}

.level-options {
    display: flex;
    flex-wrap: wrap; /* Cho phép các nút xuống hàng nếu không đủ chỗ */
    gap: 10px; /* Khoảng cách giữa các nút */
}

.working-type-options {
    display: flex;
    flex-wrap: wrap; /* Cho phép các nút xuống hàng nếu không đủ chỗ */
    gap: 10px; /* Khoảng cách giữa các nút */
}

@media (min-width: 410px) and (max-width:767px) {
    .salary-inputs {
        flex-wrap: wrap; /* Bật xuống hàng khi màn hình nhỏ */
    }

    .ui.modal {
        top: 0;
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 409px) {
    .salary-inputs {
        flex-wrap: wrap; /* Bật xuống hàng khi màn hình nhỏ */
    }

    .ui.modal {
        top: 0;
        margin: 0;
        width: 100%;
    }
}
