/* =========================================================
   HDVVN TUYỂN DỤNG & DANH BẠ - JOBS.CSS (BẢN CHUẨN HÓA)
   ========================================================= */

:root {
    --jobs-green: #0d4a3a;
    --jobs-green2: #117b5b;
    --jobs-action: #20b554;
    --jobs-line: #d9e3de;
    --jobs-soft: #f5faf7;
}

/* =========================================================
   1. TIÊU ĐỀ TRANG (CANH GIỮA THEME)
   ========================================================= */

header.hdv-page-header {
    text-align: center !important;
    margin: 28px auto 24px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
}

header.hdv-page-header h1 {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    color: var(--jobs-green) !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

/* =========================================================
   2. FORM ĐĂNG TIN TUYỂN DỤNG (2 KHUNG)
   ========================================================= */

.hdvvn-jobs-card {
    max-width: 1000px;
    margin: 30px auto;
    padding: 32px;
    border: 1px solid var(--jobs-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(12, 62, 48, 0.07);
    box-sizing: border-box;
}

.hdvvn-jobs-section {
    margin-bottom: 25px;
}

.hdvvn-section-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--jobs-green);
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--jobs-soft);
}

.hdvvn-jobs-divider {
    border: 0;
    height: 1px;
    background: var(--jobs-line);
    margin: 32px 0 28px;
}

.hdvvn-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hdvvn-jobs-grid label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    color: #123f33;
    font-size: 14px;
}

.hdvvn-jobs-grid input,
.hdvvn-jobs-grid textarea,
.hdvvn-jobs-grid select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #c9d7d1;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    background: #ffffff;
    color: #17251f;
}

.hdvvn-jobs-grid input:focus,
.hdvvn-jobs-grid textarea:focus,
.hdvvn-jobs-grid select:focus {
    outline: 0;
    border-color: #6ba68e;
    box-shadow: 0 0 0 3px rgba(17, 123, 91, 0.09);
}

.hdvvn-jobs-grid textarea {
    resize: vertical;
    line-height: 1.55;
}

.hdvvn-jobs-grid .full {
    grid-column: 1 / -1;
}

.hdvvn-file-input {
    padding: 8px !important;
    background: var(--jobs-soft) !important;
    border: 1px dashed var(--jobs-line) !important;
    border-radius: 8px !important;
    cursor: pointer;
}

/* =========================================================
   3 Ô LIÊN HỆ TIẾP NHẬN NẰM CÙNG 1 HÀNG
   ========================================================= */

.hdvvn-jobs-grid .hdvvn-contact-trio,
.hdvvn-contact-trio {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hdvvn-contact-trio label {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
}

/* =========================================================
   NÚT ĐĂNG TUYỂN NHÂN VIÊN (MÀU XANH #20b554)
   ========================================================= */

.hdvvn-jobs-submit-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 32px !important;
}

.hdvvn-jobs-submit-bar button,
.hdvvn-btn-submit {
    display: inline-block !important;
    min-width: 260px !important;
    padding: 14px 34px !important;
    background: #20b554 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 0 !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(32, 181, 84, 0.28) !important;
    transition: all 0.2s ease !important;
}

.hdvvn-jobs-submit-bar button:hover,
.hdvvn-btn-submit:hover {
    background: #189e47 !important;
    box-shadow: 0 6px 20px rgba(32, 181, 84, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* =========================================================
   3. DANH SÁCH TIN TUYỂN DỤNG (JOBS LIST)
   ========================================================= */

.hdvvn-jobs-list {
    max-width: 1180px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hdvvn-job-card-item {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--jobs-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(12, 62, 48, 0.04);
}

.hdvvn-job-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
}

.hdvvn-job-logo-wrap {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
}

.hdvvn-job-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--jobs-line);
    background: #ffffff;
    padding: 4px;
    box-sizing: border-box;
}

.hdvvn-job-logo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #e8f4ee;
    color: var(--jobs-green2);
    font-size: 24px;
    font-weight: 800;
    border: 1px solid var(--jobs-line);
}

.hdvvn-job-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hdvvn-job-company-badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--jobs-green);
}

.hdvvn-job-location-badge {
    font-size: 12px;
    color: #6b7d76;
}

.hdvvn-job-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.hdvvn-job-card-title a {
    color: #164632;
    text-decoration: none;
}

.hdvvn-job-card-title a:hover {
    color: var(--jobs-action);
}

.hdvvn-job-meta-row {
    margin-bottom: 12px;
}

.hdvvn-job-salary {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #fff8e8;
    color: #b37400;
    font-size: 13px;
    font-weight: 700;
}

.hdvvn-job-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: #536961;
    margin: 0 0 18px;
    flex-grow: 1;
}

.hdvvn-job-card-footer {
    margin-top: auto;
    border-top: 1px dashed var(--jobs-line);
    padding-top: 14px;
}

.hdvvn-job-detail-btn {
    display: inline-block;
    color: var(--jobs-green2);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.hdvvn-jobs-notice {
    max-width: 1000px;
    margin: 20px auto;
    padding: 14px 18px;
    border-radius: 10px;
    background: #e4f4ec;
    color: #11523f;
    box-sizing: border-box;
}

.hdvvn-jobs-notice.error {
    background: #ffefec;
    color: #972b1b;
}

.hdvvn-manage-list article {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #e4e9e6;
}

.hdvvn-manage-list small {
    display: block;
    margin-top: 4px;
    color: #7c8b86;
}

/* =========================================================
   4. DANH BẠ & PROFILE (DIRECTORY / HANDOFF)
   ========================================================= */

.hdvvn-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hdvvn-account-actions a {
    padding: 10px 15px;
    border-radius: 999px;
    background: #e1eee8;
    color: #124b3b;
    text-decoration: none;
    font-weight: 700;
}

.hdvvn-account-tools { margin-top: 22px; }
.hdvvn-tool-note { font-size: 12px; color: #6b7d76; }
.hdvvn-jobs-kicker { font-size: 12px; letter-spacing: .08em; font-weight: 800; color: var(--jobs-green2); }

.hdvvn-profile-handoff {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.hdvvn-profile-handoff h2 { margin: 5px 0; color: var(--jobs-green); }
.hdvvn-profile-handoff p { margin: 0; color: #64776f; }
.hdvvn-profile-full-preview { max-width: 1000px; margin: 22px auto; }

.hdvvn-directory-head {
    max-width: 1180px;
    margin: 28px auto 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.hdvvn-directory-head h2 { margin: 4px 0 0; color: var(--jobs-green); }
.hdvvn-profile-tabs { display: flex; gap: 8px; }
.hdvvn-profile-tabs a {
    padding: 9px 14px;
    border: 1px solid var(--jobs-line);
    border-radius: 999px;
    color: var(--jobs-green);
    text-decoration: none;
    font-weight: 700;
    background: #ffffff;
}
.hdvvn-profile-tabs a.active { background: var(--jobs-green); color: #ffffff; }

.hdvvn-profile-list {
    max-width: 1180px;
    margin: 15px auto 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hdvvn-profile-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--jobs-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(12, 62, 48, 0.035);
}

.hdvvn-profile-card-avatar { width: 68px; height: 68px; flex: 0 0 68px; }
.hdvvn-profile-card-avatar img,
.hdvvn-profile-initial {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    background: #eef5f1;
    border: 1px solid var(--jobs-line);
}

.hdvvn-profile-initial {
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
    color: #6d9185;
}

.hdvvn-profile-card-body > span {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e8f4ee;
    color: var(--jobs-green2);
    font-size: 10px;
    font-weight: 800;
}

.hdvvn-profile-card h3 { margin: 6px 0 2px; color: var(--jobs-green); font-size: 18px; }
.hdvvn-profile-card strong { display: block; color: #385e53; font-size: 13px; }
.hdvvn-profile-card small { display: block; margin-top: 3px; color: #7c8b86; }
.hdvvn-profile-card p { font-size: 13px; line-height: 1.5; color: #5f716a; }
.hdvvn-profile-card a { font-weight: 700; color: var(--jobs-green2); text-decoration: none; }
.hdvvn-profile-detail-nav { max-width: 1000px; margin: 25px auto 10px; }
.hdvvn-profile-detail-nav a { color: var(--jobs-green2); font-weight: 700; text-decoration: none; }

/* =========================================================
   5. RESPONSIVE (TABLET & MOBILE)
   ========================================================= */

@media (max-width: 900px) {
    .hdvvn-profile-list,
    .hdvvn-jobs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hdvvn-jobs-grid,
    .hdvvn-jobs-list,
    .hdvvn-profile-list,
    .hdvvn-jobs-grid .hdvvn-contact-trio,
    .hdvvn-contact-trio {
        grid-template-columns: 1fr !important;
    }

    .hdvvn-jobs-card {
        margin: 20px 14px;
        padding: 20px;
    }

    .hdvvn-profile-handoff,
    .hdvvn-directory-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hdvvn-directory-head {
        margin-left: 14px;
        margin-right: 14px;
    }

    .hdvvn-profile-card {
        margin: 0 14px;
    }
}
/* =========================================================
   TÌM VIỆC LÀM - THOÁT GIỚI HẠN 860PX CỦA THEME
   ========================================================= */
body.hdvvn-job-directory-page .hdv-page-header.hdv-shell,
body.hdvvn-job-directory-page .hdv-entry-content.hdv-shell {
    width: min(1080px, calc(100% - 40px));
    max-width: 1080px !important;
}
body.hdvvn-job-directory-page .hdv-entry-content > .hdvvn-job-directory-wrap {
    width: 100%;
    max-width: none !important;
    margin: 24px 0 48px;
    padding-left: 0;
    padding-right: 0;
}

/* =========================================================
   HDVVN TUYỂN DỤNG 2.1.6 - TÌM VIỆC LÀM
   ========================================================= */
.hdvvn-job-directory-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 24px auto 48px;
    padding: 0;
    box-sizing: border-box;
}

.hdvvn-directory-intro {
    margin: 0 0 14px;
    color: #60746d;
    font-size: 14px;
    line-height: 1.6;
}

.hdvvn-job-filter {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d7e2de;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(4, 67, 59, 0.03);
    box-sizing: border-box;
}

.hdvvn-job-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)) minmax(210px, 0.95fr);
    gap: 12px;
    align-items: end;
}

.hdvvn-job-filter label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #21483e;
    font-size: 13px;
    font-weight: 700;
}

.hdvvn-job-filter input,
.hdvvn-job-filter select {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid #cddbd5;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    color: #233c35;
    font: inherit;
    font-weight: 500;
}

.hdvvn-job-filter-actions {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    min-width: 0;
    justify-content: stretch;
}
.hdvvn-job-filter-actions button,
.hdvvn-job-filter-actions a {
    min-width: 0;
    white-space: nowrap;
}
.hdvvn-job-filter-actions button { flex: 1.25 1 0; }
.hdvvn-job-filter-actions a { flex: 0.85 1 0; }

.hdvvn-job-filter-actions button,
.hdvvn-job-filter-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    box-sizing: border-box;
}

.hdvvn-job-filter-actions button {
    border: 0;
    background: #075c4f;
    color: #fff;
    cursor: pointer;
}
.hdvvn-job-filter-actions a {
    border: 1px solid #ccd9d4;
    background: #fff;
    color: #516c63;
}

.hdvvn-job-directory-summary {
    margin: 16px 0 12px;
    color: #51675f;
    font-size: 14px;
}
.hdvvn-job-directory-summary strong { color: #064f43; }

.hdvvn-job-directory-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 24px;
    align-items: start;
}

.hdvvn-job-directory-main { min-width: 0; }
.hdvvn-job-search-list { display: grid; gap: 14px; }

.hdvvn-job-search-card {
    display: flex;
    gap: 15px;
    padding: 17px;
    border: 1px solid #dfe8e4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(4,67,59,.03);
}

.hdvvn-job-search-logo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 1px solid #d9e4df;
    border-radius: 11px;
    overflow: hidden;
    background: #f6faf8;
}
.hdvvn-job-search-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    padding: 4px;
    background: #fff;
}
.hdvvn-job-search-logo span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 28px;
}

.hdvvn-job-search-body { flex: 1; min-width: 0; }
.hdvvn-job-search-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.hdvvn-job-search-topline h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.hdvvn-job-search-topline h3 a { color: #063f37; text-decoration: none; }
.hdvvn-job-search-topline time { color: #81908a; font-size: 12px; white-space: nowrap; }
.hdvvn-job-search-company { display: block; margin-top: 4px; color: #355d52; font-size: 13.5px; }
.hdvvn-job-search-facts,
.hdvvn-job-search-industry {
    margin-top: 7px;
    color: #556b63;
    font-size: 12.8px;
    line-height: 1.5;
}
.hdvvn-job-search-industry { color: #756a55; }
.hdvvn-job-search-body p {
    margin: 8px 0 0;
    color: #5a6f67;
    font-size: 13px;
    line-height: 1.55;
}
.hdvvn-job-search-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px dashed #dce6e2;
}
.hdvvn-job-search-footer a { color: #075c4f; font-weight: 800; text-decoration: none; }
.hdvvn-job-search-footer span { color: #8a6654; font-size: 12px; }

.hdvvn-job-directory-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}
.hdvvn-job-directory-sidebox {
    border: 1px solid #dfe8e4;
    border-radius: 13px;
    background: #fff;
    padding: 15px;
    overflow: hidden;
}
.hdvvn-job-directory-sidebox > h3 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e11d48;
    color: #e11d48;
    font-size: 15px;
}
.hdvvn-job-directory-sidebox .hdvvn-banner-stack img { width: 100%; height: auto; display: block; }
.hdvvn-job-directory-sidebox--courses .hdvvn-featured-courses { margin: 0; padding: 0; border: 0; box-shadow: none; }

.hdvvn-job-directory-empty {
    padding: 26px 18px;
    border: 1px dashed #cfdcd7;
    border-radius: 12px;
    background: #fafcfb;
    color: #667a72;
    text-align: center;
}

.hdvvn-job-directory-pagination { margin-top: 22px; }
.hdvvn-job-directory-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hdvvn-job-directory-pagination a,
.hdvvn-job-directory-pagination span {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #d5e1dc;
    border-radius: 7px;
    color: #075c4f;
    text-decoration: none;
    background: #fff;
}
.hdvvn-job-directory-pagination .current { background: #075c4f; color: #fff; border-color: #075c4f; }

@media (max-width: 1020px) {
    .hdvvn-job-filter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hdvvn-job-filter-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .hdvvn-job-directory-layout { grid-template-columns: 1fr; }
    .hdvvn-job-directory-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .hdvvn-job-directory-wrap { padding: 0; }
    .hdvvn-job-filter-grid,
    .hdvvn-job-directory-sidebar { grid-template-columns: 1fr; }
    .hdvvn-job-filter-actions { grid-column: 1 / -1; }
    .hdvvn-job-filter-actions button,
    .hdvvn-job-filter-actions a { flex: 1; }
}

@media (max-width: 500px) {
    .hdvvn-job-filter { padding: 14px; }
    .hdvvn-job-search-card { padding: 13px; gap: 11px; }
    .hdvvn-job-search-logo { width: 58px; height: 58px; flex-basis: 58px; }
    .hdvvn-job-search-topline { display: block; }
    .hdvvn-job-search-topline time { display: block; margin-top: 3px; }
    .hdvvn-job-search-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* =========================================================
   2026-09-10 — DIRECTORY TITLE / ỨNG TUYỂN NỘI BỘ HDVVN
   ========================================================= */
body.hdvvn-job-directory-page .hdv-page-header.hdv-shell {
    max-width: 1080px !important;
    width: calc(100% - 30px) !important;
    margin: 34px auto 24px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: block !important;
}
body.hdvvn-job-directory-page .hdv-page-header.hdv-shell h1 {
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    line-height: 1.2 !important;
}

.hdvvn-applications-wrap {
    max-width: 1080px;
    margin: 24px auto 50px;
    padding: 0 15px;
    box-sizing: border-box;
}
.hdvvn-applications-head {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #dbe5e0;
    border-radius: 10px;
    background: #f7fbf9;
    color: #315d52;
}
.hdvvn-applications-head p { margin: 0; line-height: 1.55; }
.hdvvn-application-list { display: grid; gap: 14px; }
.hdvvn-application-card {
    padding: 16px;
    border: 1px solid #dbe5e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(4,67,59,.04);
}
.hdvvn-application-card h3 {
    margin: 7px 0 10px;
    color: #04433b;
    font-size: 17px;
    line-height: 1.45;
}
.hdvvn-application-card h3 a { color: inherit; text-decoration: none; }
.hdvvn-application-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hdvvn-application-card p { margin: 6px 0; color: #415b52; line-height: 1.55; }
.hdvvn-application-candidate-row {
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:space-between;
    margin: 2px 0 8px;
}
.hdvvn-application-candidate-row p { margin:0; min-width:0; }
.hdvvn-application-status {
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    font-size:11.5px;
    line-height:1;
    font-weight:800;
    white-space:nowrap;
}
.hdvvn-application-status.is-new { background:#fff3df; color:#a85b00; border:1px solid #f4d19b; }
.hdvvn-application-status.is-seen { background:#edf3f6; color:#48636e; border:1px solid #d3e0e5; }
.hdvvn-application-status.is-invited { background:#e8f7ef; color:#11643e; border:1px solid #bde6cf; }
.hdvvn-application-contact {
    display:inline-grid;
    width:max-content;
    max-width:100%;
    gap:7px;
    margin:8px 0 2px;
    padding:10px 12px;
    border:1px solid #d9e3de;
    border-radius:8px;
    background:#f8fbfa;
    color:#174c40;
    box-sizing:border-box;
}
.hdvvn-application-contact strong { display:block; line-height:1.35; }
.hdvvn-application-contact-lines { display:grid; gap:5px; min-width:0; max-width:100%; }
.hdvvn-application-contact-item {
    display:inline-flex;
    width:max-content;
    max-width:100%;
    align-items:center;
    gap:7px;
    font-weight:700;
    min-width:0;
}
.hdvvn-application-contact-value {
    display:block;
    max-width:100%;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    font-size:clamp(11px, 2.9vw, 14px);
    line-height:1.35;
}
.hdvvn-application-contact-value::-webkit-scrollbar { display:none; }
.hdvvn-application-contact-note { padding:9px 11px; border-left:3px solid #d4a14a; background:#fffaf0; border-radius:4px; }
.hdvvn-application-meta { color: #7a8b85; font-size: 12.5px; }
.hdvvn-application-actions { margin-top: 12px; }
.hdvvn-application-actions a {
    display: flex;
    width:100%;
    justify-content:center;
    align-items:center;
    min-height:42px;
    padding: 9px 12px;
    border-radius: 7px;
    background: #edf7f3;
    color: #075c4f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-sizing:border-box;
}
.hdvvn-application-actions a:hover { background:#e1f2eb; }
.hdvvn-application-notice {
    max-width: 1080px;
    margin: 20px auto;
    padding: 15px 18px;
    border: 1px solid #dbe5e0;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    box-sizing: border-box;
}
.hdvvn-application-pagination { margin-top:18px; }
.hdvvn-application-pagination .page-numbers {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    list-style:none;
}
.hdvvn-application-pagination .page-numbers li { margin:0; }
.hdvvn-application-pagination a,
.hdvvn-application-pagination span.current {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 10px;
    border:1px solid #d7e3de;
    border-radius:8px;
    background:#fff;
    color:#075c4f;
    text-decoration:none;
    font-size:13px;
    font-weight:750;
    box-sizing:border-box;
}
.hdvvn-application-pagination span.current { background:#075c4f; color:#fff; border-color:#075c4f; }

@media (max-width: 680px) {
    body.hdvvn-job-directory-page .hdv-page-header.hdv-shell {
        width: calc(100% - 24px) !important;
        margin-top: 34px !important;
        margin-bottom: 20px !important;
        padding: 0 12px !important;
    }
    .hdvvn-applications-wrap { padding: 0 12px; }
    .hdvvn-application-card { padding:14px; }
    .hdvvn-application-candidate-row { align-items:flex-start; }
    .hdvvn-application-status { margin-top:1px; }
    .hdvvn-application-contact { padding:9px 10px; }
    .hdvvn-application-contact strong { font-size:13px; }
    .hdvvn-application-actions a { justify-content: center; }
}

/* 2.1.14 - Trang xác nhận nộp hồ sơ, responsive desktop/mobile */
.hdvvn-application-success-wrap{max-width:760px;margin:34px auto;padding:0 16px}
.hdvvn-application-success-card{background:#fff;border:1px solid #dfe7e3;border-radius:14px;padding:32px;text-align:center;box-shadow:0 8px 28px rgba(0,0,0,.05)}
.hdvvn-application-success-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8f6ef;color:#087a51;font-size:30px;font-weight:800}
.hdvvn-application-success-card h2{margin:0 0 12px;color:#123f36;font-size:26px}
.hdvvn-application-success-card p{margin:8px 0;color:#475569;line-height:1.65}
.hdvvn-application-success-job{padding:9px 12px;background:#f8faf9;border-radius:8px}
.hdvvn-application-success-community{margin:22px 0 18px;padding:16px;border-radius:10px;background:#fff8e7;border:1px solid #f2ddb0;text-align:left}
.hdvvn-application-success-community strong,.hdvvn-application-success-community span{display:block}
.hdvvn-application-success-community strong{color:#664918;margin-bottom:5px}
.hdvvn-application-success-community span{color:#6b7280;font-size:14px;line-height:1.55}
.hdvvn-application-success-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.hdvvn-application-success-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700}
.hdvvn-success-primary{background:#0b5b4d;color:#fff!important}
.hdvvn-success-secondary{border:1px solid #ccd8d4;color:#184d43!important;background:#fff}
@media(max-width:600px){.hdvvn-application-success-wrap{margin:20px auto;padding:0 12px}.hdvvn-application-success-card{padding:22px 16px}.hdvvn-application-success-card h2{font-size:22px}.hdvvn-application-success-actions{display:grid;grid-template-columns:1fr}.hdvvn-application-success-actions a{width:100%}}


/* 2.3.3 — Hồ sơ ứng tuyển dùng khung nội dung chuẩn 1080px. */
body.hdvvn-applications-page .hdv-page-header.hdv-shell{
    width:min(1080px,calc(100% - 40px)) !important;
    max-width:1080px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}
body.hdvvn-applications-page .hdv-page-header.hdv-shell h1{
    width:100% !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}
body.hdvvn-applications-page .hdv-entry-content.hdv-shell{
    width:min(1080px,calc(100% - 40px)) !important;
    max-width:1080px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
body.hdvvn-applications-page .hdv-entry-content.hdv-shell > .hdvvn-applications-wrap{
    width:100% !important;
    max-width:1080px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
@media(max-width:600px){
    body.hdvvn-applications-page .hdv-page-header.hdv-shell,
    body.hdvvn-applications-page .hdv-entry-content.hdv-shell{
        width:calc(100% - 28px) !important;
    }
}


/* 2.3.5 - MOBILE/TABLET UX ONLY: form đăng tuyển gần full-width, bỏ double gutter. */
@media(max-width:900px){
  body.hdvvn-job-form-page .hdv-page-header.hdv-shell,body.hdvvn-job-form-page .hdv-entry-content.hdv-shell{width:calc(100% - 32px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  body.hdvvn-job-form-page .hdv-entry-content.hdv-shell>*{max-width:none!important}
  body.hdvvn-job-form-page .hdvvn-jobs-card{width:100%!important;max-width:none!important;margin:18px 0 30px!important;padding:22px 18px!important;border-radius:14px!important}
}
@media(max-width:600px){
  body.hdvvn-job-form-page .hdv-page-header.hdv-shell,body.hdvvn-job-form-page .hdv-entry-content.hdv-shell{width:calc(100% - 20px)!important}
  body.hdvvn-job-form-page .hdvvn-jobs-card{margin:14px 0 26px!important;padding:16px 12px!important;border-radius:12px!important}
  body.hdvvn-job-form-page .hdvvn-jobs-grid{gap:14px!important}
  body.hdvvn-job-form-page .hdvvn-jobs-grid input,body.hdvvn-job-form-page .hdvvn-jobs-grid textarea,body.hdvvn-job-form-page .hdvvn-jobs-grid select{font-size:16px!important}
  body.hdvvn-job-form-page .hdvvn-jobs-submit-bar button{width:100%!important;min-width:0!important}
}

/* =========================================================
   2.3.6 — MOBILE/TABLET FULL-WIDTH JOB FORM
   Chỉ tác động trang Đăng tin tuyển dụng <= 900px.
   Loại bỏ các lớp padding/max-width lồng nhau làm form bị co nhỏ.
   ========================================================= */
@media (max-width: 900px) {
    body.hdvvn-job-form-page .hdv-entry-content.hdv-shell {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.hdvvn-job-form-page .hdv-entry-content.hdv-shell > * {
        max-width: none !important;
        width: 100% !important;
    }
    body.hdvvn-job-form-page .hdv-modern-form-wrapper {
        width: 100% !important;
        max-width: none !important;
        margin: 8px auto 34px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-job-form-page .hdv-form-card {
        width: 100% !important;
        max-width: none !important;
        padding: 18px 14px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-job-form-page .hdv-section-block {
        width: 100% !important;
        max-width: none !important;
        padding: 16px 12px !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-job-form-page .hdv-input,
    body.hdvvn-job-form-page .hdv-select,
    body.hdvvn-job-form-page .hdv-textarea,
    body.hdvvn-job-form-page .hdv-file-upload {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
@media (max-width: 600px) {
    body.hdvvn-job-form-page .hdv-entry-content.hdv-shell {
        width: calc(100% - 8px) !important;
    }
    body.hdvvn-job-form-page .hdv-form-card {
        padding: 12px 8px !important;
        border-radius: 12px !important;
    }
    body.hdvvn-job-form-page .hdv-section-block {
        padding: 14px 10px !important;
        border-radius: 10px !important;
    }
    body.hdvvn-job-form-page .hdv-input,
    body.hdvvn-job-form-page .hdv-select,
    body.hdvvn-job-form-page .hdv-textarea,
    body.hdvvn-job-form-page .hdv-file-upload {
        font-size: 16px !important;
    }
}

/* 2.4.2 - Application Workflow UX: 2-column employer card + archive lifecycle */
.hdvvn-application-flash{
    margin:0 0 14px;
    padding:11px 14px;
    border-radius:9px;
    border:1px solid #cfe0d8;
    background:#f3faf6;
    color:#195a48;
    font-size:14px;
    line-height:1.5;
}
.hdvvn-application-flash.is-warning{background:#fff9ec;border-color:#efd9a6;color:#815817}
.hdvvn-application-flash.is-error{background:#fff4f4;border-color:#edcaca;color:#9a3434}
.hdvvn-applications-head--employer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.hdvvn-applications-head--employer strong{
    display:block;
    margin-bottom:3px;
    color:#06483e;
    font-size:15px;
}
.hdvvn-application-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 15px;
}
.hdvvn-application-tabs a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:8px 13px;
    border:1px solid #d5e3dc;
    border-radius:999px;
    background:#fff;
    color:#28584c;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    box-sizing:border-box;
}
.hdvvn-application-tabs a span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:22px;
    height:22px;
    padding:0 6px;
    border-radius:999px;
    background:#eef5f2;
    color:#49665e;
    font-size:11px;
}
.hdvvn-application-tabs a.is-active{
    border-color:#08715f;
    background:#08715f;
    color:#fff;
}
.hdvvn-application-tabs a.is-active span{background:rgba(255,255,255,.18);color:#fff}
.hdvvn-application-card.is-employer-card{
    display:grid;
    grid-template-columns:minmax(0, 68%) minmax(250px, 32%);
    padding:0;
    overflow:hidden;
}
.hdvvn-application-main{
    min-width:0;
    padding:18px 20px;
}
.hdvvn-application-card:not(.is-employer-card) .hdvvn-application-main{padding:0}
.hdvvn-application-candidate{margin-top:4px!important}
.hdvvn-application-workflow{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:18px;
    border-left:1px solid #dbe8e2;
    background:linear-gradient(180deg,#f4faf7 0%,#eef7f3 100%);
}
.hdvvn-application-workflow-top{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:12px;
}
.hdvvn-application-workflow-label{
    color:#58736a;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.hdvvn-application-status.is-interviewed{background:#eef0ff;color:#4f46a5;border:1px solid #d9dbff}
.hdvvn-application-status.is-hired{background:#e7f8ea;color:#146c2e;border:1px solid #bde8c7}
.hdvvn-application-status.is-rejected{background:#f4f4f5;color:#66666d;border:1px solid #dedee1}
.hdvvn-application-archived-at{
    margin:-3px 0 12px;
    color:#71827c;
    font-size:11.5px;
}
.hdvvn-application-workflow-actions{
    display:grid;
    gap:8px;
    margin-top:auto;
}
.hdvvn-application-action-form{margin:0}
.hdvvn-app-btn{
    display:flex;
    width:100%;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:8px 11px;
    border:1px solid #c9ddd5;
    border-radius:8px;
    background:#fff;
    color:#075c4f;
    text-decoration:none;
    font-family:inherit;
    font-size:12.5px;
    font-weight:800;
    line-height:1.25;
    cursor:pointer;
    box-sizing:border-box;
}
.hdvvn-app-btn:hover{background:#f7fbf9}
.hdvvn-app-btn.is-primary{background:#08715f;border-color:#08715f;color:#fff}
.hdvvn-app-btn.is-primary:hover{background:#066553}
.hdvvn-app-btn.is-secondary{background:#fff;border-color:#91b9ab;color:#075c4f}
.hdvvn-app-btn.is-success{background:#edf8ef;border-color:#b9dfc1;color:#166a30}
.hdvvn-app-btn.is-muted{background:#f7f7f7;border-color:#ddd;color:#5e6260}
.hdvvn-app-btn.is-archive{background:transparent;border-color:#c9d8d2;color:#60746c}
.hdvvn-app-btn.is-delete{background:#fff4f4;border-color:#edc7c7;color:#a33636}
.hdvvn-application-result-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.hdvvn-application-contact{
    margin-top:12px;
}

@media (max-width: 820px){
    .hdvvn-application-card.is-employer-card{grid-template-columns:1fr}
    .hdvvn-application-workflow{border-left:0;border-top:1px solid #dbe8e2}
}
@media (max-width: 520px){
    .hdvvn-application-main,.hdvvn-application-workflow{padding:14px}
    .hdvvn-application-tabs{display:grid;grid-template-columns:1fr 1fr}
    .hdvvn-application-tabs a{justify-content:center;padding:8px 10px}
    .hdvvn-application-result-actions{grid-template-columns:1fr}
}


/* 2.4.9 - Địa điểm làm việc tự nhập, hỗ trợ nhiều địa chỉ */
.hdvvn-job-location-list{display:grid;gap:8px}
.hdvvn-job-location-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;align-items:center}
.hdvvn-location-remove{height:38px;border:1px solid #d6e2dd;border-radius:8px;background:#fff;color:#a33;font-size:22px;line-height:1;cursor:pointer}
.hdvvn-location-remove:hover{background:#fff4f4;border-color:#edc7c7}
.hdvvn-location-add{margin-top:8px;border:1px solid #9fc6b8;border-radius:8px;background:#f5fbf8;color:#075c4f;padding:8px 12px;font-weight:700;cursor:pointer}
.hdvvn-location-add:hover{background:#edf8f3}
.hdvvn-location-help{display:block;margin-top:6px;color:#64748b;line-height:1.45}
@media(max-width:600px){.hdvvn-job-location-row{grid-template-columns:minmax(0,1fr) 36px}}
