@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Lexend+Giga:wght@100..900&family=Lexend+Mega:wght@100..900&family=Lexend+Peta:wght@100..900&family=Lexend+Tera:wght@100..900&family=Lexend:wght@100..900&display=swap');

/* header */
.header {
    background-color: var(--color-header-footer-text) ;
    position: fixed;
    width: 100%;
    z-index: 9999;
    top:0;
    left:0;
}

.header .inner-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner-wrapper .inner-left{
    display: flex;
    gap: 20px;
    align-items: center;
}

.inner-left .inner_logo{
    margin-right: 65px;
}

.inner-left .inner_logo img{
    width:150px;
    height:38px;
}

header .inner-left .inner_drop_down{
    display: flex;
    /* gap: 30px; */
    align-items: center;
    font-size: 14px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    border-left: 1px solid var(--color-blue);
}

header .inner_drop_down .inner{
    padding:26px 15px;
}

header .title{
    font-size: 14px;
    font-weight: 600;
}

header .inner {
    position: relative;
}

.submenu-main {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0.5rem 0;
    border-radius: 8px;
    width: 260px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: black;
    z-index: 9999;
    border: 2px solid var(--color-blue);
}

header .inner:hover{
    background-color: #2F0D7B;
}
.inner-one:hover .submenu-main {
    display: block;
}
.submenu-main li {
    padding: 10px 12px;
    white-space: nowrap;
}

.submenu-main li:hover {
    background: #E4F1FE;
    color: var(--color-blue);
}


/* submenu con */
.has-child {
    position: relative;
   color: black;
}

.has-child .submenu-listchild {
    padding: 0.5rem 0;
    width: 240px;
    border-radius: 8px;
    display: none;
    margin-top: 10px;
}

.has-child.open .submenu-listchild {
    display: block;
}
.has-child .submenu-listchild a:hover{
    background-color: #E4F1FE;
    color: var(--color-blue);
}

.has-child .click{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 10px; */
}
.submenu-listchild i{
    font-size: 5px;
    margin-right: 3px;
}

.inner-two:hover .submenu-main {
    display: block;
}

.inner_drop_down a{
    color: black;
}

.inner-right{
    display: flex;
    align-items: center;
}
/*Phần code khi chưa đăng ký ngoài giao diện*/
.inner-right .inner-item{
    display: flex;
    align-items: center;
    background-color: none;
    color:white;
    font-weight: 800;
}

.inner-right .inner-item .text-white-1{
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 2px solid var(--color-blue);
}

.inner-right .inner-item .text-white-1:hover{
    background-color: #2F0D7B;
    cursor: pointer;
}

.inner-right .text-inform{
    font-size: 10px;
}

.inner-right .text-register{
    font-size: 14px;
}

.inner-right .inner-item .text-white-2{
    display:flex;
    padding: 20px 15px;
    align-items: center;
    gap: 8px;
}

.inner-right .inner-item .text-white-2 i{
    font-size: 20px;
}

.inner-right .inner-item .text-white-2 .employer{
    gap: 6px;
    display: flex;
    flex-direction: column;
}
.inner-right .inner-item .text-white-2:hover{
    background-color: #2F0D7B;
    cursor: pointer;
}

.text-white-1, .text-white-2 {
    position: relative;
    cursor: pointer;
}

.text-white-1 .text-register,
.text-white-2 .text-register {
    position: static;
}

.text-white-1 .text-register::after,
.text-white-2 .text-register::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    /*Cái này là css sau khi đăng nhập vào và thay đổi  */
.inner-right  .inner-item .item button{
    background-color: transparent;
    margin-right: 20px;
    cursor: pointer;
}
.inner-right  .inner-item .item-one button i{
    font-size: 20px;
    color: white;
    padding: 8px;
}

.inner-right  .inner-item .item-two{
    margin-left: 10px;
}
.inner-right  .inner-item .item-two button{
    display: flex;
    align-items: center;
    color: white;
    justify-content: space-between;
}
.item-two button img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

.inner-right .inner-translate img{
    width: 29px;
    height: 21px;
}

.inner-right .inner-translate:hover {
    cursor: pointer;
}

.item-two{
    position: relative;
}

.submenu-main {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0.5rem 0;
    border-radius: 8px;
    width: 260px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: black;
    z-index: 9999;
    border: 2px solid var(--color-blue);
}

.item-two:hover{
    background-color: #2F0D7B;
}
.item-two:hover .submenu-main {
    display: block;
}
.submenu-main li {
    padding: 10px 12px;
    white-space: nowrap;
}

.submenu-main li:hover {
    background: #E4F1FE;
    color: var(--color-blue);
}

.inner-right .inner-item .item-one{
    padding-left: 8px;
    border-radius: 50%;
}

.inner-right .inner-item .item-two{
    padding: 13px 15px;
}

.inner-right .inner-item .item:hover{
    background-color: var(--color-dark_purple-text);
}

.inner-right .inner-translate:hover{
    background-color: var(--color-dark_purple-text);
}

.inner-right .inner-translate{
    padding: 5px;
    border-radius: 5px;
}
/* End header */

/* footer */
.footer{
    background-color: var(--color-header-footer-text);
    color:white;
    font-size: 13px;
    line-height: 1.6;
    padding: 15px 0;
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    z-index: 9999;
}


.footer .title{
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer .flex-inner{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    /* border-bottom: 1px solid white; */
    margin-bottom: 25px;
}

.flex-inner .inner-one{
    font-weight: 300;
}

.flex-inner .inner-two .inner-two_container{
    display: flex;
    gap: 25px;
}

.inner-two_container .inform-content a{
    color: white;
}

.inner-two_container .inform-content a:hover{
    text-decoration: underline;
}

.flex-item .item-inform{
    margin-bottom: 40px;
    margin-right: 5px;
}

.flex-item .item-inform a{
    padding: 10px 6px;
    background-color: white;
    border-radius: 8px;
    margin-right: 3px;
}

.flex-item .item-inform a:last-child{
    margin-right: -1px;
}

.item-inform a i{
    font-size: 19px;
    font-weight: bold;
}

.flex-item .statue .down_app{
    display: flex;
}

.down_app .qr-code img{
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.down_app .button{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.down_app button img{
    width: 115px;
    height: 33px;
}

.inner-wrapper .hr{
    width: 100%;
    height: 1px;
    background-color: white;
}

.end-footer{
    padding: 15px 0;
    display: flex;
    align-items: center;
}
.end-footer img{
    width: 79px;
    height: 28px;
    margin-right: 10px;
}
/* End footer */

/* Trang Saved_job.php */
main .inner-wrapper {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

main .inner-wrapper .sidebar {
    width: 280px;
    min-width: 260px;
    border: 1px solid #E5E5E5;
    background-color: #f2f1f1;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 60px;
    height: fit-content;


}

.sidebar .username {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark_gray-text);
    margin-bottom: 25px;
}

.submenu-main-content li {
    padding: 12px 10px;
    font-size: 14px;
    color: var(--color-dark_gray-text);
    cursor: pointer;
    border-radius: 6px;
}

/* submenu con */
.submenu-main-content .has-child-one {
    position: relative;
   color: black;
}

.submenu-main-content .submenu-listchild-contetnt {
    padding: 0.5rem 0;
    width: 100%;       /* để không phình ra */
    border-radius: 8px;
    display: none;
    margin-top: 10px;
}

.has-child-one.opend .submenu-listchild-contetnt {
    display: block;
}
.has-child-one .submenu-listchild-contetnt a:hover{
    background-color: #E4F1FE;
    color: var(--color-blue);
}

.has-child-one .clickd{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 10px; */
}
.submenu-listchild-contetnt i{
    font-size: 5px;
    margin-right: 3px;
}

.submenu-listchild-contetnt li a{
    white-space: nowrap; /* không xuống dòng */
    display: block;
}
main .content{
    flex: 1;}
main .content .content-one{
    padding: 16px 28px;
    background-color: #f2f1f1;
    border-radius: 8px;
    margin-bottom: 25px;
}

main .content .content-one span{
    color: black;
    font-weight: 800;
}

.content .content-two{
    border-radius: 8px;
    background-color: #f2f1f1;
    margin-bottom: 15px;
}

.content .content-two .title{
    margin-bottom: 10px;
}

.content .content-two .title-one{
    color: black;
    font-weight: 800;
}
main .content .content-two .title{
    padding: 16px 28px;
    border-bottom: 1px solid #D9D9D9;
}

main .content .content-two .display-inform{
    padding: 16px 28px;
}

.content-two .display-inform .status-inform{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}
.content-two .display-inform .desc-inform{
    text-align: center;
    color: var(--color-dark_gray-text);
    margin-bottom: 55px;
}

.content-two .display-inform .desc-inform img{
    width: 332px;
    height: auto;
    margin-bottom: 15px;
}

.favorite-btn {
    cursor: pointer;
    font-size: 20px;
    color: #aaa;
    transition: 0.2s;
}

.favorite-btn.saved {
    color: red; 
}
/* Lưới công việc */
.content-three{
    background-color: #f2f1f1;
    padding: 10px;
}

.content-three .title{
    font-size: 24px;
    font-weight: 700;
}
.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cột */
    gap: 16px; /* Khoảng cách giữa các thẻ */
    margin-top: 15px;
}

/* Style cho card */
.job-card {
    display: block;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    transition: 0.2s;
    color: black;
}

.job-card:hover {
    border-color: #b4b4b4;
    box-shadow: 0 2px 10px rgba(80, 103, 157, 0.05);
    cursor: pointer;
}

/* Khối inner-two */
.job-grid .inner-two {
    display: grid;
    grid-template-columns: 60px 1fr auto; /* ảnh - nội dung - vị trí */
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.job-grid .inner:hover{
    background-color: none;
}

.job-grid .inner-two .image img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.job-grid .inner-two .introduce h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

/* Countdown */
.job-grid .coundown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.job-grid .inner .major{
    display: flex;
    justify-content: space-between;
}

.job-grid .introduce{
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.job-grid .hr{
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin: 15px 0;
}
/* End Trang Saved_job.php */

/* Trang account_manage */

.con-one {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.con-one .inner-wrapper {
    width: 800px;
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 35px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.con-one .title-account h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

.con-one .item-account {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.con-one .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 12px;
}

.con-one .item-one {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.con-one .type-inform {
    font-size: 15px;
    color: #6d6d6d;
}

.con-one .display-inform {
    display: flex;
    align-items: center;
    gap: 10px;
}

.con-one .in4 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Tick xanh */
.con-one .tick i {
    color: #24a148;
    font-size: 18px;
}

/* Icon lỗi */
.con-one .error i {
    color: #f39c12;
    font-size: 18px;
}

/* Xác thực ngay */
.con-one .authentic {
    margin-top: 4px;
    color: #2471ff;
    cursor: pointer;
    font-size: 14px;
}

.con-one .authentic:hover {
    text-decoration: underline;
}

/* Nút chỉnh sửa */
.con-one .item button {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f5e7ff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    color: #7a1bb3;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.con-one .item button:hover {
    background: #e9d5ff;
}

/* End Trang account_manage */

/* Nội Dung Trang hồ sơ của tôi */
main .My_portfolio .content-main{
    display: flex;
    gap:1.5rem;
    width:100%;
}

.My_portfolio .content-main .my-inform{
    display: flex;
    flex-direction: column;
    gap: .75rem;
    width:70%;
}
.My_portfolio .content-main .my-inform .title h2{
    font-size: 18px;
 }

 .my-inform .desc .desc-wrapper{
    padding: 15px;
    background-color: #f2f1f1;
 }

 .desc-wrapper .item-1{
    display: flex;
    justify-content: space-between;
 }

 .item-1 .item-1-1{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 50%;
 }

 .item-1 .item-1-1 .image{
position: relative;
margin-bottom: 10px;
 }

 .item-1 .item-1-1 img{
    width:70px;
    height:70px;
    border-radius: 50%;
    cursor: pointer;
 }
 .item-1 .item-1-1 i{
    position: absolute;
    bottom: 0;
    font-size: 15px;
    right:250px;
 }

 .item-1-1 .information-person{
    display: flex;
    flex-direction: column;
    gap: 10px;
 }

 .My_portfolio .name{
    font-size: 18px;
 }

 .My_portfolio .color{
    color:var(--color-blue);
    font-size: 15px;
    font-weight: 500;
 }

.My_portfolio .desc-wrapper{
    margin-bottom: 20px;
    border-radius: 8px;
}

.item-1 .item-1-2{
    flex:1;
}

.item-1 .item-1-2 .icon-fix{
    display: flex;
    flex-direction: row-reverse;
    font-size: 16px;
    margin-bottom: 10px;
}

.item-1 .item-1-2 .wrapper{
    display: flex;
    gap:20px;
    align-items: center;
}

.auth-email{
    display: flex;
    gap:5px;
}

.auth-email .item_i{
    background-color: red;
    color: white;
    padding:1px;
    border-radius: 50%;
}
.item-1 .item-1-2 .wrapper .email{
    display: flex;
    gap:10px;

}

.item-1 .item-1-2 .wrapper{
    font-size: 14px;
    margin-bottom: 10px;
}

.item-1 .item-1-2 .phone{
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.item-1 .item-1-2 .in4-form{
    display: flex;
    gap:8px;
}

.phone .authen-phone i{
    color:green;
}

.item-1 .item-1-2 .sex, .birthday, .marriage{
    display: flex;
    gap:7px;
    margin-bottom: 10px;
}

    /* Popup thông tin cá nhân */

/* Nền mờ */
.modal {
    display: none; /* ẩn trước */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45); /* nền mờ */
    backdrop-filter: blur(2px);       /* làm mờ nhẹ */
    justify-content: center;          /* căn giữa ngang */
    align-items: center;              /* căn giữa dọc */
    z-index: 9999;
}

/* Hộp modal */
.modal-box {
    background: #fff;
    width: 650px;
    border-radius: 16px;
    padding: 25px 30px;
    max-height: 90vh;        /* chống tràn màn hình */
    overflow-y: auto;        /* có scroll nếu quá dài */
    animation: popup 0.25s ease;
}

/* Animation bật lên */
@keyframes popup {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 22px;
    margin: 0;
    margin-bottom: 10px;
}

.close {
    font-size: 30px;
    cursor: pointer;
    color: #555;
}

.row {
    display: flex;
    gap: 10px;
}

.input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 5px;
    margin-bottom: 10px;
}

.select-btn {
    padding: 8px 20px;
    border-radius: 8px;
    background: #f3f3f3;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

.select-btn:hover {
    background: #eaeaea;
}

.select-btn.active {
    border-color: #6c5ce7;   /* viền tím */
    background: #eeeaff;     /* nền tím nhạt */
    color: #6c5ce7;
    font-weight: 600;
}


.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
}

.cancel-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.save-btn {
    background: #5C2CD4;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
}
    /* End Popup thông tin cá nhân */

/* Nền mờ khi bật popup */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Khung popup */
.popup-box {
    width: 550px;
    background: white;
    border-radius: 14px;
    padding: 25px;
    animation: popupShow .3s ease;
}

@keyframes popupShow {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-header h2 {
    margin: 0;
    font-size: 22px;
}

.close-popup {
    font-size: 26px;
    cursor: pointer;
}

/* Body */
.popup-body label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.popup-body input,
.popup-body select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
}

.salary-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.salary-row input {
    width: 43%;
}

/* Footer */
.popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.cancel-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.save-btn {
    background: #6a32fe;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

.blue-content {
    color: #3273ff;
    cursor: pointer;
}


.Job_inform .desc{
    display: flex;
    gap: 10px; 
    margin-top: 15px;
    flex-direction: column;
}

.desc-wrapper .item-2 .title-cv{
    margin-bottom: 10px;
}

.desc-wrapper .item-2 .upload-cv{
    padding:10px 14px;
    border: 1px dotted gray;
    border-radius: 6px;
    text-align: center;
}

.upload-cv .select-up{
    padding:10px 0; 
    background-color: #E9E8F3;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
}

.desc-wrapper .title-jobfind{
    display: flex;
    justify-content: space-between;
}

.desc-wrapper .content{
    display: flex;
    justify-content: space-between;
}

.desc-wrapper .flex{
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* Style cho card */
.Job_inform .desc.job-card {
    display: block;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    transition: 0.2s;
    color: black;
}

.job-card:hover {
    border-color: #b4b4b4;
    box-shadow: 0 2px 10px rgba(80, 103, 157, 0.05);
    cursor: pointer;
}

/* Khối inner-two */
.desc .inner-two {
    display: grid;
    grid-template-columns: 60px 1fr auto; /* ảnh - nội dung - vị trí */
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.desc .inner:hover{
    background-color: none;
}

.desc .inner-two .image img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.desc .inner-two .introduce h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

/* Countdown */
.desc .coundown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.desc .inner .major{
    display: flex;
    justify-content: space-between;
}

.desc .introduce{
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.desc .hr{
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin: 15px 0;
}

/* Overlay */
.ttc-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
        z-index: 999999 !important;
}

/* Popup box */
.ttc-box {
    width: 480px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    animation: fadeIn .2s ease;
        position: relative;
    z-index: 9999999 !important;
    margin-top: 100px;
}

/* Header */
.ttc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttc-close-btn {
    font-size: 28px;
    cursor: pointer;
}

/* Body */
.ttc-input-group,
.ttc-radio-group {
    margin: 15px 0;
}

.ttc-hide {
    display: none;
}

/* Footer */
.ttc-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

.ttc-btn {
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.ttc-btn-cancel {
    background: #e0e0e0;
}

.ttc-btn-save {
    background: #007bff;
    color: white;
}

/* popup kinh nghiệm làm việc */
/* Nền mờ popup */
.popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Khung popup */
.popup-content {
    width: 600px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    margin: 0;
    font-size: 22px;
}

.popup-close {
    font-size: 26px;
    cursor: pointer;
}

/* Body */
.popup-body label {
    font-weight: 500;
    margin-top: 12px;
    display: block;
}

.popup-body input, 
.popup-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cfd7e0;
    border-radius: 8px;
    margin-top: 4px;
}

.checkbox-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-row {
    display: flex;
    gap: 15px;
}

.popup-footer {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-cancel {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #555;
}

.btn-save {
    padding: 10px 20px;
    background: #5b1ee8;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    border: none;
}
/* End popup kinh nghiệm làm việc */


/* popup học vấn */
/* Overlay */
/* --- Lớp nền mờ sau khi mở popup --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Ẩn mặc định */
    justify-content: center;
    align-items: center;
    z-index: 999; /* cao hơn mọi thứ */
}

/* --- Khung popup --- */
.modal-container {
    background: #fff;
    width: 600px;             /* bạn chỉnh theo ý */
    max-width: 90%;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    animation: popupShow 0.2s ease;
}

/* Animation mượt */
@keyframes popupShow {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Form bên trong popup --- */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

/* --- Nhóm 2 ô nằm ngang --- */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .col {
    flex: 1;
}

/* --- Button --- */
.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.modal-buttons button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.btn-cancel {
    background: #eee;
}

.btn-save {
    background: #0d6efd;
    color: #fff;
}


/* popup học vấn */

/*Popup kĩ năng*/
/* ===== SKILL POPUP ===== */
.skill-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 12000;
}

.skill-popup {
  width: 620px;
  max-width: 95%;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  animation: skillFade .18s ease;
}

@keyframes skillFade {
  from { transform: translateY(-6px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.skill-header {
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-header h2 { margin:0; font-size:20px; }

.skill-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color:#333;
}

.skill-body { padding-top:6px; }

/* label + counter */
.skill-label { font-weight:600; display:block; margin-bottom:8px; }
.skill-counter { float:right; font-size:13px; color:#666; }

/* input row */
.skill-input-row { display:flex; gap:10px; margin-bottom:10px; }
.skill-input {
  flex:1;
  padding:10px 12px;
  border:1px solid #e0e6ef;
  border-radius:8px;
  font-size:15px;
}
.skill-add-btn {
  padding: 10px 14px;
  background:#6a32fe;
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

/* error text */
.skill-error { color:#d32f2f; font-size:13px; margin-bottom:8px; }

/* chips */
.skill-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; min-height:32px; }
.skill-chip {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  background:#f1f3ff;
  border-radius:20px;
  font-size:14px;
  color:#1a1a1a;
}
.skill-chip .chip-remove {
  background:transparent;
  border:none;
  cursor:pointer;
  font-weight:700;
  color:#666;
}

/* footer */
.skill-footer { display:flex; justify-content:flex-end; gap:12px; margin-top:18px; }
.skill-btn { padding:10px 18px; border-radius:8px; border:none; cursor:pointer; font-size:15px; }
.skill-btn-cancel { background:#eee; color:#333; }
.skill-btn-save { background:#5b1ee8; color:#fff; }

/*End Popup kĩ năng*/
/* End Nội Dung Trang hồ sơ của tôi */

/* Nội dung trang ứng tuyển */
.in4_apply .inner-wrapper{
    display: flex;
    flex-direction: column;
}

.section-one {
    font-family: sans-serif;
    padding: 15px 0;
}

.section-one h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}


.require {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.require .item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.require .item i {
    width: 42px;
    height: 42px;
    background: rgba(92, 103, 255, 0.1); /* nền tím nhạt y ảnh */
    color: #5c67ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.require .content .tt {
    font-size: 14px;
    color: #6b6b6b;
}

.require .content .ct {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}


.time {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.appply-time span:first-child {
    font-size: 16px;
    color: #666;
    margin-right: 5px;
}

.appply-time span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.calling {
    color: #ff7a00;
    font-size: 15px;
}

.calling i {
    font-size: 10px;
    margin-right: 5px;
    color: #ff7a00;
}


.start-apply {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.start-apply .send {
    background: #5c67ff;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.start-apply .send i {
    font-size: 15px;
}

.start-apply .save-work {
    background: #f5f5ff;
    color: #5c67ff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.start-apply .save-work i {
    font-size: 16px;
}
/* ==========================
   STYLE CHUNG CHO CÁC SECTION
========================== */

.section-two,
.section-three,
.section-four,
.section-five,
.section-six {
    font-family: sans-serif;
    margin-bottom: 40px;
}

.section-two h2,
.section-three h2,
.section-four h2,
.section-five h2,
.section-six h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

/* ==========================
   DESCRIPTION (DANH SÁCH NỘI DUNG)
========================== */

.dsc {
    font-size: 16px;
    color: #333;
    line-height: 26px;
}

/* ==========================
   THÔNG TIN CHUNG – TABLE
========================== */

.job-info-box {
    width: 100%;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 20px 0;
}

.row-info {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.row-info:last-child {
    border-bottom: none;
}

.row-info .item {
    width: 50%;
}

.row-info .item.full {
    width: 100%;
}

.label {
    font-size: 15px;
    color: #999;
    margin-bottom: 4px;
}

.value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ==========================
   ĐỊA ĐIỂM LÀM VIỆC
========================== */

.section-six .title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.workplace {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 26px;
}

.workplace .icon {
    margin-right: 8px;
    font-size: 16px;
    color: #555;
}

.city-link {
    color: #6c5ce7;
    font-weight: 600;
    text-decoration: none;
}

.city-link:hover {
    text-decoration: underline;
}

.address {
    color: #333;
    margin-left: 4px;
}

/*  */


/* End Nội dung trang ứng tuyển */