/* =========================================================
   VARIABLES & CONSTANTS
========================================================= */
:root {
    --primary-blue: #003b70;
    --dark-blue: #1d3455;
    --accent-gold: #f5a800;
    --accent-yellow: #fcaf17;
    --accent-pink: #ff00d9;
    --btn-green: #078b13;
    --btn-green-hover: #056d0f;
    --text-dark: #111111;
    --text-muted: #555555;
}

/* =========================================================
   HEADER / TOOLBAR
========================================================= */
.tuyendung_img_logo {
    width: 210px;
}

/* =========================================================
   CHÍNH SÁCH NHÂN SỰ (POLICY)
========================================================= */
.td-policy {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

.td-policy-row {
    display: flex;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 0;
}

.td-policy-row-reverse {
    flex-direction: row-reverse;
}

/* Policy Image */
.td-policy-image {
    flex: 0 0 50%;
    width: 50%;
    overflow: hidden;
}

.td-policy-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.td-policy-row:hover .td-policy-image img {
    transform: scale(1.03);
}

/* Policy Content */
.td-policy-content {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 55px;
    background: #fff;
}

.td-policy-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.td-policy-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 34px;
    height: 3px;
    background: var(--accent-yellow);
}

.td-policy-title h3 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* Policy List */
.td-policy-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.td-policy-content li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 15px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.td-policy-content li:last-child {
    margin-bottom: 0;
}

.td-policy-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-yellow);
}

/* =========================================================
   SLIDER
========================================================= */
#carouselExampleIndicators {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.slider-item {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 450px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 300px));
    margin-top: 250px;
    margin-left: 150px;
    text-align: left;
    color: #fff;
}

.slider-content h3 {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.25;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.slider-content p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    opacity: 0.8;
    z-index: 5;
    transition: opacity 0.2s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.carousel-indicators {
    z-index: 5;
    margin-bottom: 25px;
}

.carousel-indicators button {
    width: 35px;
    height: 4px;
    margin: 0 5px;
    border: 0;
    opacity: 0.6;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* =========================================================
   TUYỂN DỤNG (SECTION & CAROUSEL)
========================================================= */
.tuyen-dung-section {
    position: relative;
    width: 100%;
    padding: 30px 29px 40px;
}

.tuyen-dung-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    font-size: 21px;
    font-weight: 500;
}

.title-line {
    width: 4px;
    height: 23px;
    background: var(--accent-gold);
    display: inline-block;
}

.title-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border-radius: 50%;
    background: #ff00e5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

#carouselTuyenDung {
    position: relative;
    width: 100%;
}

.tuyen-dung-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 29px;
    width: 100%;
}

/* Cards */
.tuyen-dung-card {
    position: relative;
    min-height: 230px;
    padding: 22px 36px 42px;
    background: #ffb52b;
    color: #fff;
    border-radius: 0 28px 0 28px;
    overflow: hidden;
}

.td-title {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-transform: uppercase;
}

.td-row {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.td-row strong {
    font-weight: 700;
}

.td-detail {
    position: absolute;
    right: 20px;
    bottom: 16px;
}

.td-detail a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.td-detail a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Nav Buttons */
.td-carousel-prev,
.td-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.td-carousel-prev {
    left: -20px;
}

.td-carousel-next {
    right: -20px;
}

.td-carousel-prev:hover,
.td-carousel-next:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.td-carousel-prev span,
.td-carousel-next span {
    font-size: 32px;
    line-height: 1;
    margin-top: -4px;
}

/* =========================================================
   JOB DETAIL PAGE
========================================================= */
.job-detail-page {
    width: 100%;
    padding: 20px 28px 40px;
    box-sizing: border-box;
    color: var(--text-dark);
}

.job-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.job-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.job-title-line {
    width: 4px;
    height: 24px;
    background: var(--accent-gold);
    flex-shrink: 0;
}

.job-title h1 {
    margin: 0;
    color: #142f50;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Action Buttons */
.job-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.job-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 4px;
    background: var(--btn-green);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.job-btn:hover {
    background: var(--btn-green-hover);
    color: #fff;
    transform: translateY(-1px);
}

.job-btn strong {
    font-size: 16px;
}

.job-btn-apply {
    font-weight: 700;
}

/* Grid Layout & Boxes */
.job-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.20fr) minmax(300px, 0.90fr);
    gap: 29px;
    align-items: stretch;
}

.job-middle {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-box {
    box-sizing: border-box;
    padding: 13px 17px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 16px;
    line-height: 1.55;
}

.job-box-title {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
}

.job-box-description {
    background: #ffdbb2;
    border-radius: 0 45px 0 45px;
    min-height: 745px;
}

.job-box-description ol,
.job-box-requirement ol {
    margin: 0;
    padding-left: 28px;
}

.job-box-description li {
    padding-left: 3px;
    margin-bottom: 9px;
}

.job-box-requirement {
    background: #ffd066;
    min-height: 510px;
}

.job-box-requirement li {
    padding-left: 3px;
    margin-bottom: 14px;
}

.job-box-info {
    background: #ed8c42;
    min-height: 207px;
    color: var(--primary-blue);
    border-radius: 0 0 0 35px;
}

.job-box-info .job-box-title {
    margin-bottom: 8px;
}

.job-info-row {
    margin-bottom: 7px;
    line-height: 1.45;
}

.job-box-benefit {
    background: #ffb316;
    min-height: 745px;
    border-radius: 0 45px 0 45px;
}

.job-box-benefit ul {
    margin: 0;
    padding-left: 25px;
}

.job-box-benefit li {
    padding-left: 2px;
    margin-bottom: 8px;
}

/* Chat Button Floating */
.job-chat {
    position: fixed;
    right: 20px;
    bottom: 15px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.job-chat span {
    font-size: 23px;
}

/* =========================================================
   RESPONSIVE (MEDIA QUERIES)
========================================================= */

/* Desktop lớn (>= 1400px) */
@media (min-width: 1400px) {
    .td-policy-row {
        min-height: 260px;
    }

    .td-policy-content {
        padding: 45px 70px;
    }

    .td-policy-title h3 {
        font-size: 19px;
    }

    .td-policy-content li {
        font-size: 16px;
    }
}

/* Tablet / Desktop vừa (<= 1200px) */
@media (max-width: 1200px) {
    .job-detail-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }

    .job-box-benefit {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .job-box-description,
    .job-box-requirement {
        min-height: auto;
    }
}

/* Tablet (<= 1100px) */
@media (max-width: 1100px) {
    .tuyen-dung-grid {
        gap: 20px;
    }

    .tuyen-dung-card {
        padding: 20px 25px 42px;
    }

    .td-title {
        font-size: 15px;
    }

    .td-row {
        font-size: 14px;
    }
}

/* Tablet nhỏ (<= 991.98px) */
@media (max-width: 991.98px) {
    .td-policy-row {
        min-height: 210px;
    }

    .td-policy-content {
        padding: 25px 30px;
    }

    .td-policy-title {
        margin-bottom: 18px;
    }

    .td-policy-title h3 {
        font-size: 16px;
    }

    .td-policy-content li {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 7px;
    }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {

    /* Header & Menu */
    .erp-toolbar-menu {
        position: fixed;
        display: grid;
        grid-template-columns: 160px 1fr 100px;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 72px;
        border-bottom: 1px solid rgb(190, 190, 190);
        background-color: white;
        z-index: 1000;
    }

    .erp-toolbar-menu>div:first-child {
        flex: 1;
        display: inline-flex;
        align-items: center;
    }

    .erp-toolbar-menu>div:nth-child(2) {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }

    .erp-toolbar-menu>div:last-child {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
    }

    .tuyendung_img_logo {
        width: 150px;
    }

   
    /* Policy */
    .td-policy-row,
    .td-policy-row-reverse {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }

    .td-policy-image {
        width: 100%;
        flex: 0 0 auto;
        height: 220px;
    }

    .td-policy-content {
        width: 100%;
        flex: 0 0 auto;
        padding: 30px 25px;
    }

    .td-policy-title {
        margin-bottom: 20px;
    }

    .td-policy-title h3 {
        font-size: 16px;
    }

    .td-policy-content li {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 9px;
    }

    /* Slider Mobile */
    .slider-item {
        height: 30vh;
        min-height: 280px;
    }

    .slider-content {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-top: 13vh;
    }

    .slider-content h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .slider-content p {
        font-size: 13px;
        line-height: 1.3;
        margin: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    .carousel-indicators {
        margin-bottom: 12px;
    }

    .carousel-indicators button {
        width: 25px;
        height: 3px;
        margin: 0 3px;
    }

    /* Tuyển Dụng Section Mobile */
    .tuyen-dung-section {
        padding: 25px 20px 35px;
    }

    .tuyen-dung-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tuyen-dung-card {
        min-height: 210px;
    }

    .td-carousel-prev {
        left: -12px;
    }

    .td-carousel-next {
        right: -12px;
    }

    /* Job Detail Mobile */
    .job-detail-page {
        padding: 15px;
    }

    .job-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-title h1 {
        font-size: 21px;
    }

    .job-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .job-btn {
        font-size: 13px;
    }

    .job-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .job-box-description,
    .job-box-requirement,
    .job-box-benefit,
    .job-box-info {
        min-height: auto;
    }

    .job-box-description,
    .job-box-benefit {
        border-radius: 0 30px 0 30px;
    }
}

/* Mobile nhỏ (<= 480px) */
@media (max-width: 400px) {
    .td-policy-image {
        height: 190px;
    }

    .td-policy-content {
        padding: 25px 20px;
    }

    .td-policy-title h3 {
        font-size: 15px;
    }

    .td-policy-content li {
        font-size: 12.5px;
    }

    /* Header & Menu */
    .erp-toolbar-menu {
        position: fixed;
        display: grid;
        grid-template-columns: 140px 1fr 100px;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 72px;
        border-bottom: 1px solid rgb(190, 190, 190);
        background-color: white;
        z-index: 1000;
    }

    .erp-toolbar-menu>div:first-child {
        flex: 1;
        display: inline-flex;
        align-items: center;
    }

    .erp-toolbar-menu>div:nth-child(2) {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }

    .erp-toolbar-menu>div:last-child {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
    }

    .tuyendung_img_logo {
        width: 140px;
    }

    .erp-toolbar-menu .erp-fs-3 {
        font-size: 18px;
    }
}

/* =========================================================
   FOOTER TUYỂN DỤNG LIZEN
========================================================= */

.td-footer {
    width: 100%;
    background: #1D3455;
    color: #fff;
    margin-top: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.td-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 35px 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}


/* =========================================================
   LOGO
========================================================= */

.td-footer-logo {
    margin-bottom: 15px;
}

.td-footer-logo img {
    width: 170px;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}


.td-footer-company h3 {
    margin: 5px 0 8px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}


.td-footer-company>p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   TITLE
========================================================= */

.td-footer-col h4 {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
}


.td-footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: #FCAF17;
}


/* =========================================================
   CONTACT ITEM
========================================================= */

.td-footer-item {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}


.td-footer-item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ICON
========================================================= */

.td-footer-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(252, 175, 23, .12);
    color: #FCAF17;
    font-size: 14px;
}


/* =========================================================
   TEXT
========================================================= */

.td-footer-item strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}


.td-footer-item p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.6;
}


.td-footer-item a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: all .2s ease;
}


.td-footer-item a:hover {
    color: #FCAF17;
}


/* =========================================================
   MOBI / ZALO
========================================================= */

.td-contact-label {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 7px;
    border: 1px solid rgba(252, 175, 23, .5);
    border-radius: 3px;
    color: #FCAF17;
    font-size: 10px;
    line-height: 1.3;
    vertical-align: middle;
}


/* =========================================================
   BOTTOM
========================================================= */

.td-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {
    .td-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .td-footer-company {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .td-footer-container {
        display: block;
        padding: 40px 25px 30px;
    }


    .td-footer-col {
        margin-bottom: 35px;
    }


    .td-footer-col:last-child {
        margin-bottom: 0;
    }


    .td-footer-company {
        margin-bottom: 35px;
    }


    .td-footer-logo img {
        width: 150px;
    }


    .td-footer-bottom {
        padding: 15px 25px;

        display: block;

        text-align: center;

        line-height: 1.8;
    }

    .td-footer-bottom div:last-child {
        margin-top: 3px;
    }

}


/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    .td-footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .td-footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .td-contact-label {
        display: block;

        width: max-content;

        margin-left: 0;
        margin-top: 3px;
    }

}