/* =========================================================
   Candidate list CSS - search styles removed
   Generated from the supplied stylesheet and search.ejs
   Shared utilities (.hidden, .select2) are intentionally kept.
   ========================================================= */

   button {

    background: transparent;

    border: transparent;

}

.text-center {

    text-align: center !important;

}

/* Danh sách */

.main_candidate {

    width: 1170px;

    margin-right: auto;

    margin-left: auto;

    height: auto;

    max-width: 95%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-bottom: 20px;

}

.seo_h1 {

    font-weight: 700;

    font-size: 22px;

    line-height: 35px;

    text-transform: capitalize;

    color: #4c5bd4;

    display: inline-block

}

.box_filter {

    position: relative;

    margin: 15px 0;

    width: 100%;

}

.container_filter {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    width: 100%;

}

.box_filter_by {

    width: 270px;

}

.content_filter_select {

    border: 1px solid #6F7882;

    padding: 10px;

    border-radius: 5px;

    background-color: #fff;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

    cursor: pointer;

}

.content_filter_select_left {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 5px;

    width: calc(100% - 20px);

}

.box_title_filter_select {

    display: flex;

    flex-wrap: wrap;

    column-gap: 8px;

    row-gap: 3px;

}

.title_fitler_select {

    font-size: 16px;

    color: #6F7882;

    line-height: 19px;

}

.value_filter_select {

    font-size: 16px;

    color: #474747;

    line-height: 19px;

    font-weight: 500;

    font-family: Roboto-Medium, sans-serif;

}

.box_filter_right {

    display: block;

    width: calc(100% - 350px);

    cursor: grab;

    overflow: hidden;

    position: relative;

}

.box_filter_right .list_filter {

    display: flex;

    flex-wrap: nowrap;

    gap: 10px;

    flex: 1;

    min-width: 0; /* rất quan trọng khi nằm trong flex */

    overflow-x: auto;

    overflow-y: hidden;

    scrollbar-width: none;

}

.box_scroll_filter {

    display: flex;

    align-items: center;

    width: 100%;

}

.list_filter::-webkit-scrollbar {

    display: none;

}

.box_scroll_prev,

.box_scroll_next {

    width: 40px;

    min-width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}

.scroll_prev,

.scroll_next {

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    border: 1px solid #4c5bd4;

    border-radius: 50%;

    cursor: pointer;

    padding: 0;

}

/* Prev dùng cùng icon Next nhưng quay ngược lại */

.scroll_prev svg {

    transform: rotate(180deg);

}

/* Không cho các item co lại */

.list_filter > * {

    flex-shrink: 0;

}

.list_filter .item_filter {

    padding: 11px 20px;

    background: rgba(76, 91, 212, 0.1);

    border-radius: 30px;

    font-weight: 400;

    font-size: 16px;

    line-height: 19px;

    color: #4c5bd4;

    border: none;

    cursor: pointer;

    margin-right: 5px;

}

.list_filter .item_filter.active {

    background: #4c5bd4;

    color: #fff;

}

.main_list {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    margin-bottom: 30px;
}

.candidate {

    display: flex;

    width: 100%;

    background: #ffffff;

    border: 1px solid #cccccc;

    border-radius: 8px;

    padding: 15px 10px;

    margin-bottom: 20px;

    position: relative;

}

.main_candidate_list {

    background: #fff;

    padding: 10px;

}

.list_candidate {

    width: 75%;

}

.list_candidate_title {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.btn_export_excel {

    height: 30px;

    border-radius: 15px;

    background: #4c5bd4;

    color: #fff;

    padding: 0 20px;

    font-size: 18px;

    line-height: 30px;

    border: none;

    text-transform: uppercase;

}

.candidate_logo {

    position: relative;

    float: left;

    width: 95px;

    height: 95px;

    border-radius: 50%;

    border: 1px solid blue;

    cursor: pointer;

    object-fit: cover;

    text-align: center;

}

.candidate_logo img {

    border-radius: 50%;

}

.candidate_logo.m_online::after {

    content: "";

    display: inline-block;

    background: #76b51b;

    width: 15px;

    height: 15px;

    border-radius: 50%;

    position: absolute;

    bottom: 15px;

    right: 0;

}

.candidate_infomation {

    display: flex;

    width: calc(100% - 95px);

    font-size: 16px;

    padding-left: 15px;

}

.candidate_job_name {

    max-width: 80%;

    font-weight: 700;

    font-size: 16px;

    text-transform: uppercase;

    line-height: 19px;

    color: #474747;

    overflow: hidden;

    -webkit-line-clamp: 1;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    cursor: pointer;

}

.candidate_name {

    font-size: 16px;

    line-height: 19px;

    color: #f88c00;

}

.accept_connect {

    color: green;

    font-size: 16px;

}

.candidate_infomation_box_address {

    display: flex;

    align-items: center;

    width: 100%;

}

.candidate_infomation_item_address {

    width: 50%;

    white-space: nowrap;

    text-overflow: ellipsis;

    overflow: hidden;

}

.candidate_main_infomation {

    display: flex;

    flex-direction: column;

    width: 80%;

    gap: 10px;

}

.btn_chat {

    width: 105px;

    background: #959595;

    font-size: 15px;

    line-height: 17px;

    font-weight: 500;

    color: #fff;

    border-radius: 20px;

    padding: 7px 10px 7px 7px;

    text-decoration: none;

    margin-bottom: 10px;

}

.btn_chat.m_online {

    background: #5dc22d;

    color: #fff;

}

.btn_save {

    display: flex;

    width: 105px;

    align-items: center;

    justify-content: space-evenly;

    background: #fff;

    border: 0.8px solid #4c5bd4;

    font-size: 15px;

    line-height: 17px;

    font-weight: 500;

    color: #4c5bd4;

    border-radius: 20px;

    padding: 7px 10px;

    text-decoration: none;

}

.btn_save.saved {

    background: green;

    color: rgb(255, 255, 255);

}

.candidate_infomation_address {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.seo_h2 {

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid blue;

    margin-top: 20px;

}

.tia_set_uv {

    width: 31px;

    height: 36px;

    top: 0;

    left: 0;

    position: absolute;

}

.time_offline {

    position: absolute;

    padding: 1px 5px;

    right: 0px;

    top: 75%;

    background: #f4fce9;

    border-radius: 24px;

    font-weight: unset;

    font-size: 10px;

    line-height: 14px;

    color: #76b51b;

}

.main_filter {

    position: relative;

}

.box_show_filter_select {

    overflow: hidden;

    /* display: none; */

    padding: 10px;

    background: #FFF;

    position: absolute;

    z-index: 9;

    top: 45px;

    width: 100%;

    left: 0;

    border-radius: 5px;

    outline: #dfdfdf solid 1px;

    box-shadow: 0px 0px 10px 0px #0000001a;

}

.list_show_filter_select {

    display: flex;

    flex-direction: column;

    gap: 5px;

    max-height: 230px;

    overflow: auto;

}

.item_show_filter_select {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    color: #474747;

    font-weight: 500;

    font-family: Roboto-Medium, sans-serif;

    font-size: 14px;

    line-height: 17px;

    background: #f2f2f2;

    border-radius: 4px;

    padding: 8px 10px;

    border: none;

    text-align: left;

}

.item_show_filter_select:hover, .item_show_filter_select.active {

    background: #f7f9ff;

    color: #4c5bd4;

}

.btnShowFilterSelect.action {

    transform: rotate(180deg);

}

.box_scroll_next {

    display: flex;

    position: absolute;

    width: 100px;

    height: 41px;

    z-index: 1;

    margin: auto;

    bottom: 0;

    top: 0;

    align-items: center;

    right: 0;

    background: linear-gradient(270deg, #fFF 14.81%, rgba(243, 245, 247, 0));

    justify-content: flex-end;

}

.scroll_next {

    width: 30px;

    height: 30px;

    display: flex;

    justify-content: center;

    align-items: center;

    border: 1px solid #4c5bd4;

    border-radius: 50%;

    cursor: pointer;

}

.see-more {

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 15px;

}

.btn-see-more {

    padding: 10px 25px;

    background: #4c5bd4;

    border-radius: 30px;

    color: #ffffff;

    font-weight: 500;

    font-size: 15px;

}

/* ============== */

.list_candidate_online {

    width: 24%;

    padding-left: 15px;

    display: flex;

    flex-direction: column;

}

.candidate_online_title {

    display: flex;

    align-items: center;

    font-size: 16px;

    line-height: 18px;

    text-align: center;

    color: #fff;

    padding: 20px 0px 10px 20px;

    text-transform: uppercase;

    font-family: Roboto-Medium;

    float: left;

    width: 100%;

    background: #4c5bd4;

    border-radius: 8px 8px 0px 0px;

}

.candidate_online_title img {

    margin-right: 10px;

}

.candidate_online_main {

    display: flex;

    flex-direction: column;

    border: 1px solid #4c5bd4;

    padding: 15px;

    box-shadow: 0px 0px 3px rgb(0 0 0 / 25%);

    max-height: 3375px;

    overflow: hidden;

}

.candidate_online_main:hover {

    max-height: unset;

}

.candidate_online_main .show_all {

    display: flex;

    justify-content: end;

    margin-bottom: 15px;

    font-size: 15px;

}

.candidate_online_item {
    display: flex!important;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    width: 100%;
    padding-left: 0;
}

.candidate_online_avatar {

    position: relative;

    width: 45px;

    height: 45px;

    margin-right: 10px;

    border-radius: 50%;

    border: 1px solid #4c5bd4;

    object-fit: cover;

    display: flex;

    align-items: center;

    justify-content: center;

}

.candidate_online_avatar::before{

    content: " ";

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background-color: #31a24c;

    display: inline-block;

    position: absolute;

    top: 8%;

    right: -8%;

    border: solid 1px #fff;

}

.candidate_online_avatar img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.candidate_online_information {

    width: calc(100% - 55px);

}

.candidate_online_name {

    font-size: 15px;

    font-weight: 500;

    line-height: 21px;

    text-transform: uppercase;

    margin-bottom: 4px;

    color: #474747;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

}

.candidate_online_city {

    color: #666666;

    font-size: 14px;

    line-height: 16px;

    float: left;

    width: 100%;

    margin-bottom: 3px;

}

.candidate_online_position {

    color: #666666;

    font-size: 14px;

    line-height: 16px;

    float: left;

    width: 100%;

    margin-bottom: 3px;

}

.open_point_list_candidate .post_title {

    justify-content: space-between;

    padding-left: 10px;

    padding-right: 10px;

}

.open_point_list_candidate .main_popup {

    width: 765px;

    margin: 0 auto;

}

.open_point_list_candidate .main_popup_body,

.open_point_list_candidate .main_popup_footer {

    background: #fff;

    padding: 10px;

    font-size: 18px;

}

.open_point_list_candidate .main_popup_body {

    display: flex;

    flex-direction: column;

    gap: 20px

}

.span_medium_blue {

    font-family: Roboto-Medium;

    color: #3d49aa;

}

.open_point_list_candidate .btn_close_modal {

    border-radius: 8px;

    border: none;

    background: #fa5555;

    color: #fff;

    width: 170px;

    display: flex;

    justify-content: center;

    align-items: center;

    height: 43px;

    font-size: 17px;

    font-weight: 600;

}

.open_point_list_candidate .btn_confirm_modal {

    color: #fff;

    font-weight: 700;

    border: none;

    width: 170px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #4c5bd4;

    border-radius: 8px;

    height: 43px;

    font-size: 17px;

}

.open_point_list_candidate .main_popup_footer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}

.is_open {

    background: grey;

    width: fit-content;

    padding: 2px 8px;

    margin-left: 10px;

    border-radius: 10px;

    font-size: 12px;

    text-align: center;

    color: rgb(255, 255, 255);

}

.box_candidate {

    display: flex;

    align-items: center;

    gap: 30px;

}

.checkbox_export_file {

    width: 30px;

    height: 30px;

}

.checkbox_export_file input {

    width: 100%;

    height: 100%;

}

.candidate_infomation_name {
    cursor: pointer;
}

.tag_vl {
    margin-bottom: 10px;
}

.tag_vl .dm_gyy {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #172543;
    margin-bottom: 15px;
}

.dm_gy_list a {
    color: #fd3e45;
    display: inline-block;
    line-height: 20px;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: capitalize;
}

.candidate-category {
    position: relative;
    width: 100%;
    min-height: 575px;
    padding: 28px 0 45px;
    /* background-image: url('/assets/images/candidate/category-bg.jpg'); */
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    overflow: hidden;
}

.candidate-category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 22, 54, 0.9);
}

.candidate-category-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1625px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.candidate-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.candidate-category-title span {
    display: block;
    width: 8px;
    height: 42px;
    background: #ff3445;
}

.candidate-category-content {
    display: flex;
    justify-content: center;
    gap: 95px;
    margin-top: 27px;
}

.candidate-category-box {
    width: 510px;
    height: 475px;
    padding: 22px 14px 18px;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: scroll;
}

.candidate-category-box h3 {
    margin: 0;
    padding: 0 15px 18px;
    color: #263149;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
}

.candidate-category-line {
    width: 100%;
    height: 3px;
    margin-bottom: 8px;
    background: #29344e;
}

.candidate-category-list {
    width: 100%;
    margin: 0;
    padding: 0 0 0 80px;
    list-style: disc;
    box-sizing: border-box;
}

.candidate-category-list li {
    margin: 0;
    padding: 9px 0;
    color: #595959;
    font-size: 15px;
    line-height: 22px;
}

.candidate-category-list li::marker {
    color: #555;
    font-size: 10px;
}

.candidate-category-list a {
    color: #595959;
    font-size: 15px;
    line-height: 22px;
    text-decoration: none;
}

.candidate-category-list a:hover {
    color: #4c5bd4;
}

.candidate-category-list span {
    margin-left: 4px;
    color: #ff4b16;
    font-size: 15px;
}

@media only screen and (max-width: 1024px) {

    .list_candidate,

    .list_candidate_online {

        width: 100%;

        padding-left: 0

    }

}

@media only screen and (max-width: 600px) {

    .candidate {

        display: grid;

        grid-template-columns: 90px minmax(0, 1fr);

        grid-template-rows: auto auto auto auto;

        column-gap: 15px;

        row-gap: 8px;

        padding: 20px 15px;

    }

    /* ===========================

       AVATAR

    =========================== */
    .candidate_logo {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 90px;
        min-width: 90px;
        height: 90px;
        align-self: start;
    }

    /*

     \* Bỏ layout wrapper để các element bên trong

     \* tham gia trực tiếp vào grid .candidate

     */

    .candidate_infomation,
    .candidate_main_infomation {
        display: contents;
    }

    /* ===========================

       JOB TITLE

    =========================== */

    .candidate_job_name {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 16px;
        line-height: 22px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    /* ===========================

       CANDIDATE NAME

    =========================== */

    .candidate_infomation_name {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        min-width: 0;
    }

    .candidate_name {
        font-size: 15px;
        line-height: 20px;
    }

    /* ===========================

       ADDRESS / EXPERIENCE / TIME

    =========================== */

    .candidate_infomation_address {
        grid-column: 1 / 3;
        grid-row: 3;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .candidate_infomation_box_address {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .candidate_infomation_box_address > span:first-child,
    .candidate_infomation_box_address > span:nth-child(2) {
        width: 100%;
    }

    .candidate_infomation_box_address > span,
    .candidate_infomation_time_online {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        line-height: 20px;
        color: #474747;
    }

    .candidate_infomation_box_address img,
    .candidate_infomation_time_online img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* ===========================

       BUTTONS

    =========================== */

    .candidate_chat {
        grid-column: 1 / 3;
        grid-row: 4;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 5px;
    }

    .btn_chat,
    .btn_save {
        margin: 0;
        height: 34px;
    }

    .btn_chat {
        min-width: 135px;
    }

    .btn_save {
        min-width: 120px;
    }

    .box_filter_by,
    .box_filter_right {
        width: 50%;
    }

    .box_filter_right .select2-container--default .select2-selection--single {
        height: 42px;
        font-size: 16px;
    }
    .box_filter_right .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
    }
    .box_filter_right .select2-container--default .select2-selection--single .select2-selection__arrow { 
        top: 8px;
    }
    .title_fitler_select {
        display: none;
    }
}

@media (max-width: 1200px) {
    .candidate-category-content {
        gap: 35px;
    }

    .candidate-category-box {
        width: calc(50% - 18px);
    }

    .candidate-category-list {
        padding-left: 55px;
    }
}

@media (max-width: 768px) {
    .candidate-category {
        padding: 22px 0 30px;
    }

    .candidate-category-container {
        padding: 0 15px;
    }

    .candidate-category-content {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .candidate-category-box {
        width: 100%;
        min-height: auto;
        padding: 18px 12px;
    }

    .candidate-category-box h3 {
        font-size: 16px;
    }

    .candidate-category-list {
        padding-left: 40px;
    }

    .candidate-category-list li,
    .candidate-category-list a,
    .candidate-category-list span {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .candidate-category-container {
        padding: 0 10px;
    }

    .candidate-category-title {
        font-size: 16px;
    }

    .candidate-category-title span {
        width: 5px;
        height: 30px;
    }

    .candidate-category-box {
        padding: 15px 10px;
    }

    .candidate-category-list {
        padding-left: 30px;
    }

    .candidate-category-list li {
        padding: 7px 0;
    }
}