﻿
.header-text {
    color: #034ea2;
    font-size: 63px;
    font-weight: 900;
    text-align: center;
    padding: 10px;
}

.section-tag {
    background: #0B4BB3;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    white-space: nowrap;
}

.section-tag__yellow-box {
    padding: 10px;
    height: 56px;
    border-radius: 0 0 0 10px;
    background: #F59E0B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-tag__text {
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .2px;
}
.section-head--tagline::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0px;
    border-top: 2px dotted rgba(11, 75, 179, .55);
    z-index: 0;
}

.section-head--tagline .section-tag {
    position: absolute;   
    top: 0px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px 0 0;
    background: #0B4BB3;
    border-radius: 0 0 10px 10px;
    color: #fff;
    white-space: nowrap;
}

.section-head--tagline {
    max-width: 1440px;
    margin: 0 auto 14px;
    position: relative;
    height: 40px;
}

/* =========================
   SECTION TAGLINE - TABLET (<= 991.98px)
   ========================= */
@media (max-width: 991.98px) {

    .section-tag {
        left: 16px;
        height: 44px;
        gap: 8px;
        padding: 0 12px 0 0;
    }

    .section-tag__yellow-box {
       
        height: 44px;
    }
    .header-text {
        font-size: 40px;
    }
  

    .section-tag__text {
    }
    .section-head--tagline {
        height: 44px; /* đủ không gian cho tag nhỏ hơn */
        margin: 0 auto 12px;
    }

        .section-head--tagline::after {
            left: 16px;
            right: 16px;
        }

        .section-head--tagline .section-tag {
            left: 5px;
            height: 44px;
            gap: 8px;
            padding: 0 12px 0 0;
        }

}

/* =========================
   SECTION TAGLINE - MOBILE (<= 575.98px)
   ========================= */
@media (max-width: 575.98px) {

    .text-20 {
        font-size: 14px;
    }
    .text-24 {
        font-size: 16px;
    }
    .header-text {
        font-size: 35px;
    }

    .section-tag {
        left: 12px;
        height: 40px;
        gap: 6px;
        padding: 0 10px 0 0;
        max-width: calc(100% - 24px); /* tránh tràn */
        overflow: hidden;
    }

    .section-tag__yellow-box {
        height: 40px;
    }

    .section-tag__icon {
        width: 30px;
        height: 30px;
    }

    .section-tag__text {
        line-height: 1;
                white-space: wrap;
        text-overflow: ellipsis;
    }
    .section-head--tagline {
        padding: 0 12px;
        height: 40px;
        margin: 0 auto 10px;
    }

        .section-head--tagline::after {
            left: 12px;
            right: 12px;
        }

        .section-head--tagline .section-tag {
            left: 5px;
            height: 40px;
            gap: 6px;
            padding: 0 10px 0 0;
            max-width: calc(100% - 24px); /* tránh tràn */
            overflow: hidden;
        }
}

.section-content {
    background: #f3f6fb;
    border-radius: 16px;
    padding: 18px 18px;
    margin-bottom: 18px;
}
.text-blue-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.2px;
    color: #034EA2;
    text-transform: uppercase;
}
.m-h-50 {
    min-height: 50px;
}

.col-lg-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991px) {
    .col-lg-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.card {
    display: flex;
    padding: 16px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #034EA208;
    border-radius: 18px;
    overflow: hidden;
    margin: 10px;
}

.recruitment__card-icon {
    height: 96px;
}

.card-subtitle,
.card-title {
    color: #034EA2;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.card-body {
    color: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.card-blue {
    background: #0B4BB3;
    border-radius: 18px;
    color: #FFFFFF;
    padding: 15px;
    margin-right: 20px;
    text-align: left;
    height: 100%; /* Hotline & Email cao bằng nhau dù số dòng khác nhau */
}
ul {
    margin: 0 !important;
}
.recruit-warning {
    position: relative;
    background: #fdecec;
    border-radius: 16px;
    padding: 24px 20px 20px;
    height: 100%;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

    .recruit-warning ul {
        padding-left: 18px;
        list-style-position: inside;
        text-align: center;
    }

    .recruit-warning li {
        margin-bottom: 4px;      
    }

.warning-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: #e92020;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text-20 {
    font-size: 20px;
    line-height: 1.6;
}
.text-24 {
    font-size: 24px; 
    line-height: 1.6;
}
.text-blue {
    color: #0256B3 !important;
    font-weight: 700;
    font-size: 44px;
}

.bg-primary {
    background-color: #0b5ed7 !important;
}

.border {
    border: 2px solid #0b5ed7 !important;
}

.row > .col-lg-5:first-child {
    padding-left: 0;
}

.row > div:first-child .card {
    margin-left: 0;
}

.row > div:last-child .card {
    margin-right: 0;
}
.process-wrapper {
    display: flex;
    align-items: center;
}

/* box chung */
.step-box {
    display: flex;
    align-items: center;
    border: 2px solid #0256B3;
    border-radius: 12px;
    overflow: hidden;
    width: 610px;
    background: #fff;
}

/* icon bên trái */
.step-icon {
    width: 205px;
    height: 163px;
    background: #0256B3;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .step-icon img {
        width: 140px;
        height: 135px;
        filter: brightness(0) invert(1);
    }

/* nội dung */
.step-content {
    padding: 16px 20px;
}

    .step-content h3 {
        margin: 0 0 6px;
        color: #0256B3;
    }

    .step-content p {
        margin: 0;
        color: #000000;
        line-height: 1.4;
    }

/* connector */
.connector {
    position: relative;
    width: 140px;
    height: 2px;
    background: #0256B3;
}

    .connector span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 15px;
        background: #0256B3;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

/* Mobile: 2 vòng phỏng vấn đang nằm ngang cố định 1360px -> xếp dọc cho vừa màn hình */
@media (max-width: 767.98px) {
    .process-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .step-box {
        width: 100%;
    }

    .step-icon {
        flex: 0 0 108px;
        width: 108px;
        height: auto;
        min-height: 128px;
    }

        .step-icon img {
            width: 72px;
            height: auto;
        }

    .connector {
        width: 2px;
        height: 28px;
        align-self: center;
    }
}

/* ===================== Theo Figma (màn 1440px) – breakpoint giống Việc làm, Liên hệ ===================== */
/* ≥1200px: nội dung 1252px căn giữa; 992–1199 / 768–991 dùng .container của layout (960 / 720) */
@media (min-width: 1200px) {
    .qttd-page.container {
        max-width: calc(1252px + 15px); /* 1252 nội dung + padding 7.5px x 2 */
    }
}

/* Link website / fanpage trong đoạn văn: cùng màu chữ, gạch chân (theo design) */
.qttd-page .text-20 a,
.qttd-page .text-20 a:visited {
    color: inherit;
    text-decoration: underline;
}

/* Email trong thẻ xanh: chữ trắng, gạch chân */
.qttd-page .card-blue a,
.qttd-page .card-blue a:visited,
.qttd-page .card-blue a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Bước 3 – 2 vòng phỏng vấn: trước rộng cố định 2 x 610 + 140 = 1360px → tràn ngang ở mọi màn < 1360.
   Đổi sang co giãn theo bề rộng nội dung: 2 ô chia đều, đường nối ở giữa (theo design). */
@media (min-width: 768px) {
    .process-wrapper {
        width: 100%;
    }

    .step-box {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .step-icon {
        flex: 0 0 auto;
    }

    .connector {
        flex: 0 0 clamp(32px, 9%, 140px);
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .step-icon {
        width: 130px;
        height: 130px;
    }

        .step-icon img {
            width: 88px;
            height: auto;
        }

    .step-content {
        padding: 12px 14px;
    }
}

/* Tiêu đề trang: thẻ h1 (spec 4.2) nhưng giữ cỡ của .header-text */
h1.header-text {
    margin: 0;
    line-height: 1.25;
}

.qttd-chi-mobile {
    display: none;
}

/* Tiêu đề 2 dòng "…TUYỂN DỤNG TẠI / HỆ THỐNG…" vừa khung ở từng mốc */
@media (min-width: 992px) and (max-width: 1199.98px) {
    h1.header-text {
        font-size: 34px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    h1.header-text {
        font-size: 25px;
    }
}

@media (min-width: 1200px) {
    h1.header-text {
        font-size: 56px;
    }

    /* Bước 3 – chữ trong ô Vòng 1 / Vòng 2 to hơn (theo design) */
    .step-content h3 {
        margin-bottom: 8px;
    }

    .step-content p {
    }
}

/* ===================== Điện thoại (< 768px) – theo design mobile ===================== */
@media (max-width: 767.98px) {
    h1.header-text {
        font-size: 18px;
        line-height: 1.4;
        padding: 12px 0 4px;
    }

    .qttd-chi-mobile {
        display: inline;
    }

    .qttd-chi-pc {
        display: none;
    }

    /* Chữ thường + tiêu đề nhỏ */
    .text-20 {
        font-size: 14px;
        line-height: 1.5;
    }

    .text-24 {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Tag "BƯỚC n | TÊN": nằm gọn 1 dòng */
    .section-head--tagline {
        height: 36px;
        padding: 0;
        margin: 8px auto 10px;
    }

        .section-head--tagline .section-tag,
        .section-tag {
            left: 0;
            height: 36px;
            gap: 8px;
            padding: 0 10px 0 0;
            max-width: 100%;
        }

    .section-tag__yellow-box {
        height: 36px;
        padding: 0 8px;
    }

    .section-tag__text {
        white-space: nowrap;
    }

    /* Thẻ Hotline / Email: xếp dọc, tiêu đề 1 dòng */
    .card-blue {
        height: auto; /* xếp dọc: không kéo giãn theo cột */
        margin: 0 0 12px;
        padding: 12px 14px;
        border-radius: 12px;
    }

        .card-blue h2 {
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .card-blue h2 img {
                width: 24px;
                height: 24px;
            }

        .card-blue li {
        }

    /* Bước 3 – Vòng 1 / Vòng 2 */
    .step-content h3 {
    }

    .step-content p {
    }
}

/* Bước 4 – icon Điện thoại / Email (trước để width/height inline trong HTML) */
.qttd-kenh__img--phone {
    width: 100px;
}

.qttd-kenh__img--mail {
    height: 110px;
}

.step-box {
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .qttd-kenh__img--phone {
        width: 48px;
    }

    .qttd-kenh__img--mail {
        height: 48px;
    }

    .qttd-page .text-blue {
        font-size: 16px;
        white-space: nowrap;
    }

    /* Tag dài (BƯỚC 4 – ĐÁNH GIÁ VÀ QUYẾT ĐỊNH TUYỂN DỤNG) vẫn nằm gọn 1 dòng */
    .section-tag__text {
    }

    /* Bước 3 – 2 vòng: ô gọn, đường nối dọc bên trái (theo design) */
    /* Thu còn 92% bề rộng và căn giữa (trước lệch phải do padding-left) */
    .process-wrapper {
        width: 92%;
        margin: 0 auto;
        padding-left: 0;
    }

    .step-icon {
        flex: 0 0 64px;
        width: 64px;
        min-height: 64px;
    }

        .step-icon img {
            width: 44px;
        }

    .step-content {
        padding: 8px 12px;
    }

    .connector {
        align-self: flex-start;
        margin-left: 31px;
        height: 20px;
    }

        .connector span {
            width: 9px;
            height: 9px;
        }
}

/* ===================== Theo Figma "Quy trình tuyển dụng PC" (node 2:2810) =====================
   typography.css nạp sau và dùng 'html body .x' → thêm .qttd-page để selector mạnh hơn. */

/* Tiêu đề trang: Roboto Black, xanh #0256B3 (mọi màn; cỡ chữ mobile giữ theo typography.css) */
html body .qttd-page .header-text,
html body .qttd-page .header-text strong {
    color: #0256B3;
    font-weight: 900;
}

@media (min-width: 1200px) {
    /* Tiêu đề 62.93px, line-height normal (2 dòng cao 148px); dấu "&" 35px */
    html body .qttd-page h1.header-text,
    html body .qttd-page h1.header-text strong,
    html body .qttd-page h1.header-text .qttd-chi-pc {
        font-size: 62.929px;
        line-height: normal;
    }

    /* Bỏ padding ngang để dòng 1 (~1242px) vừa khung 1252px → đúng 2 dòng như Figma */
    html body .qttd-page h1.header-text {
        padding-left: 0;
        padding-right: 0;
    }

        html body .qttd-page h1.header-text .qttd-va {
            font-size: 35px;
        }

    /* Khung chứa tag cao bằng tag (63px) để tag không tràn đè lên chữ bên dưới; cách nội dung 24px */
    .qttd-page .section-head--tagline {
        height: 63px;
    }

        .qttd-page .section-head--tagline:not(.my-4) {
            margin-bottom: 0;
        }

    /* Tag "BƯỚC n | TÊN": cao 63px, ô vàng rộng 155px, chữ cách ô vàng 19px, lề phải 18px */
    .qttd-page .section-head--tagline .section-tag {
        height: 63px;
        gap: 19px;
        padding-right: 18px;
    }

    .qttd-page .section-tag__yellow-box {
        width: 155px;
        height: 63px;
    }

    html body .qttd-page .section-tag__text {
        line-height: normal;
    }

    /* Bước 3 – chấm tròn giữa đường nối 17px */
    .qttd-page .connector span {
        width: 17px;
        height: 17px;
    }
}

/* Nội dung chữ theo Figma (2:3484, 2:3485, 2:3519, 2:3524): chữ đen; đoạn văn 20/25, tiêu đề mục Bold 24/25,
   danh sách 20/21 cách nhau 10px; letter-spacing 3% cỡ chữ. Màn nhỏ giữ cỡ chữ / line-height cũ. */
html body .qttd-page .text-20,
html body .qttd-page .text-bold.text-24,
html body .qttd-page .list-unstyled li {
    color: #000;
}

@media (min-width: 1200px) {
    html body .qttd-page .text-20,
    html body .qttd-page .list-unstyled li {
        line-height: 25px;
        letter-spacing: .6px;
    }

    html body .qttd-page .text-bold.text-24 {
        line-height: 25px;
        letter-spacing: .72px;
    }

    /* Bootstrap mt-2 / mb-1 dùng !important */
    .qttd-page .list-unstyled {
        margin-top: 10px !important;
    }

        html body .qttd-page .list-unstyled li {
            line-height: 21px;
            margin-bottom: 10px !important;
        }

            .qttd-page .list-unstyled li:last-child {
                margin-bottom: 0 !important;
            }

    /* Khoảng cách khối Bước 1 (Figma): đoạn văn → "Kênh hỗ trợ…" 18px, tiêu đề → thẻ Hotline/Email 20px,
       thẻ → "Hồ sơ ứng tuyển bao gồm:" 28px */
    html body .qttd-page .col-12:has(> .text-20) + .col-12 > .text-bold.text-24 {
        display: block;
        margin-top: 18px;
    }

    .qttd-page .col-lg-6:has(> .card-blue) {
        margin-top: 20px;
        margin-bottom: 28px;
    }
}
