/* =========================================================
   HDVVN THÀNH VIÊN - MEMBER.CSS (BẢN FULL-WIDTH KHÔNG PREVIEW)
   ========================================================= */

:root {
    --hdv-green: #0d4a3a;
    --hdv-green-2: #117b5b;
    --hdv-action: #20b554;
    --hdv-line: #dbe5e0;
    --hdv-soft: #f6faf8;
    --hdv-text: #173d33;
    --hdv-muted: #6b7d76;
}

/* 1. TIÊU ĐỀ TRANG AUTH (CANH GIỮA) */
body.hdvvn-auth-page .hdv-page-header,
body.hdvvn-auth-page header.hdv-page-header {
    text-align: center !important;
    margin: 28px auto 24px !important;
    padding: 0 18px !important;
    max-width: 1080px !important;
    box-sizing: border-box !important;
}

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

/* 2. KHUNG CHUNG ĐĂNG KÝ / ĐĂNG NHẬP */
.hdvvn-auth-wrap {
    box-sizing: border-box;
    margin: 0 auto 46px;
    padding: 0;
    clear: both;
}

.hdvvn-auth-card {
    box-sizing: border-box;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d5dfda;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 73, 59, 0.06);
}

/* 3. INPUT / BUTTON / FOCUS DÙNG CHUNG */
.hdvvn-auth-grid input,
.hdvvn-login-row input,
.hdvvn-profile-grid input,
.hdvvn-profile-grid textarea,
.hdvvn-profile-grid select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cdd9d3;
    border-radius: 8px;
    background: #ffffff;
    color: #17251f;
    font: inherit;
    font-size: 14px;
}

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

.hdvvn-auth-actions button,
.hdvvn-login-card button,
.hdvvn-save-bar button {
    border: 0;
    background: var(--hdv-action);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.hdvvn-save-bar button:hover,
.hdvvn-auth-actions button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 4. FORM ĐĂNG KÝ */
.hdvvn-register-wrap {
    width: 604px;
    max-width: calc(100% - 32px);
}

.hdvvn-register-form {
    padding: 43px 21px 19px;
}

.hdvvn-member-type {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 22px;
    color: #202b27;
    font-size: 14px;
}

.hdvvn-member-type strong { color: #225a29; }
.hdvvn-member-type label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.hdvvn-member-type input,
.hdvvn-login-meta input,
.hdvvn-public-toggle input {
    accent-color: var(--hdv-green-2);
}

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

.hdvvn-auth-grid label,
.hdvvn-profile-grid label {
    display: grid;
    gap: 7px;
    color: #164632;
    font-size: 14px;
    font-weight: 700;
}

.hdvvn-auth-grid input {
    height: 40px;
    padding: 8px 10px;
}

.hdvvn-auth-grid small {
    display: block;
    color: #8a918d;
    font-size: 11px;
}

.hdvvn-auth-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.hdvvn-auth-actions button {
    min-width: 150px;
    padding: 10px 15px;
    font-size: 14px;
}

/* 5. FORM ĐĂNG NHẬP */
.hdvvn-login-wrap {
    width: 545px;
    max-width: calc(100% - 32px);
}

.hdvvn-login-card {
    padding: 50px 86px 38px 61px;
}

.hdvvn-login-row {
    display: grid;
    grid-template-columns: 160px 220px;
    align-items: center;
    gap: 18px;
    width: 398px;
    max-width: 100%;
    margin-bottom: 24px;
    color: #24483e;
    font-size: 18px;
}

.hdvvn-login-row input {
    height: 38px;
    padding: 7px 10px;
    border-radius: 0;
    border: 1px solid #929792;
    font-size: 16px;
}

.hdvvn-login-button-row {
    width: 220px;
    margin-left: 178px;
}

.hdvvn-login-card button {
    width: 220px;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 0;
    font-size: 16px;
}

.hdvvn-login-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 398px;
    max-width: 100%;
    margin-top: 20px;
    color: #22955c;
    font-size: 16px;
}

.hdvvn-login-meta label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hdvvn-login-meta a {
    color: #176c50;
    text-decoration: underline;
}

/* 6. THÔNG BÁO */
.hdvvn-trap {
    position: absolute;
    left: -9999px;
}

.hdvvn-notice {
    max-width: 1080px;
    box-sizing: border-box;
    margin: 18px auto;
    padding: 14px 18px;
    border-radius: 10px;
    background: #e7f6ee;
    color: #0e513d;
}

.hdvvn-notice.error {
    background: #fff0ed;
    color: #9a2918;
}

/* =========================================================
   7. TRANG QUẢN LÝ TÀI KHOẢN (FULL-WIDTH 100% - ĐÃ BỎ PREVIEW)
   ========================================================= */

.hdvvn-account-shell {
    max-width: 1080px;
    box-sizing: border-box;
    margin: 25px auto 50px;
    padding: 0 18px;
    color: var(--hdv-text);
}

.hdvvn-account-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 18px;
    padding: 24px 28px;
    border: 1px solid var(--hdv-line);
    border-radius: 18px;
    background: #ffffff;
}

.hdvvn-account-topbar h1 {
    margin: 3px 0 4px;
    color: var(--hdv-green);
    font-size: 30px;
}

.hdvvn-account-topbar p { margin: 0; color: var(--hdv-muted); }
.hdvvn-kicker {
    color: var(--hdv-green-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hdvvn-logout {
    padding: 10px 16px;
    border-radius: 999px;
    background: #edf5f1;
    color: var(--hdv-green);
    font-weight: 700;
    text-decoration: none;
}

.hdvvn-completion {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #dbe8e2;
    border-radius: 14px;
    background: var(--hdv-soft);
}

.hdvvn-completion > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hdvvn-completion span { color: var(--hdv-muted); font-size: 13px; }

.hdvvn-progress {
    height: 8px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #e0ebe6;
}

.hdvvn-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--hdv-action);
}

/* MỞ RỘNG BỐ CỤC 1 CỘT TOÀN DIỆN */
.hdvvn-account-layout {
    display: block !important;
    width: 100% !important;
}

.hdvvn-account-layout main {
    width: 100% !important;
}

/* ẨN TOÀN BỘ KHUNG XEM TRƯỚC HỒ SƠ */
.hdvvn-account-layout aside,
.hdvvn-preview-sticky,
.hdvvn-public-profile.is-compact {
    display: none !important;
}

.hdvvn-profile-editor {
    display: grid;
    gap: 24px;
    width: 100%;
}

.hdvvn-form-section {
    padding: 28px;
    border: 1px solid var(--hdv-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 73, 59, 0.035);
}

.hdvvn-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1ef;
}

.hdvvn-section-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hdvvn-section-head span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f4ee;
    color: var(--hdv-green-2);
    font-weight: 800;
    font-size: 14px;
}

.hdvvn-section-head h2 {
    margin: 0;
    color: var(--hdv-green);
    font-size: 20px;
}

.hdvvn-section-head p {
    max-width: 500px;
    margin: 0;
    color: var(--hdv-muted);
    font-size: 13px;
    text-align: right;
}

.hdvvn-profile-media {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.hdvvn-profile-image-preview {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
}

.hdvvn-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--hdv-line);
    border-radius: 16px;
    background: #f3f7f5;
}

.hdvvn-profile-placeholder {
    display: grid;
    place-items: center;
    color: #71958a;
    font-size: 36px;
    font-weight: 800;
}

.hdvvn-upload-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

.hdvvn-upload-label input {
    display: block;
    margin-top: 8px;
    font-weight: 400;
}

.hdvvn-profile-media small { color: var(--hdv-muted); }

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

.hdvvn-profile-grid input,
.hdvvn-profile-grid textarea,
.hdvvn-profile-grid select {
    padding: 12px 14px;
    border: 1px solid #cbd9d3;
    border-radius: 9px;
}

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

.hdvvn-span-2 { grid-column: 1 / -1; }

.hdvvn-public-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #dce8e2;
    border-radius: 12px;
    background: #f7fbf9;
    cursor: pointer;
}

.hdvvn-public-toggle span { display: grid; gap: 2px; }
.hdvvn-public-toggle small { color: var(--hdv-muted); font-weight: 400; }

.hdvvn-save-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.hdvvn-save-bar button {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
}

/* 8. RESPONSIVE MOBILE & TABLET */
@media (max-width: 768px) {
    .hdvvn-account-shell { padding: 0 12px; }
    .hdvvn-account-topbar { padding: 18px; flex-direction: column; }
    .hdvvn-completion > div:first-child { display: block; }
    .hdvvn-completion span { display: block; margin-top: 4px; }
    .hdvvn-form-section { padding: 18px; }
    .hdvvn-section-head { display: block; }
    .hdvvn-section-head p { max-width: none; margin-top: 8px; text-align: left; }
    .hdvvn-profile-grid { grid-template-columns: 1fr; }
    .hdvvn-span-2 { grid-column: auto; }
}
/* =========================================================
   HDVVN MEMBER 2.0 - AUTH / ACTIVATION / ACCOUNT SUMMARY
   ========================================================= */
.hdvvn-login-card h2 {
    margin: 0 0 8px;
    color: var(--hdv-green, #04433b);
    text-align: center;
    font-size: 28px;
}

.hdvvn-auth-help {
    margin: 0 0 22px;
    color: #64748b;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.5;
}

.hdvvn-login-card form {
    display: grid;
    gap: 16px;
}

.hdvvn-login-card form > label:not(.hdvvn-login-remember) {
    display: grid;
    gap: 7px;
    color: #164632;
    font-size: 14px;
    font-weight: 700;
}

.hdvvn-login-card form > label input:not([type="checkbox"]) {
    width: 100% !important;
    height: 42px !important;
    box-sizing: border-box;
    padding: 8px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff;
}

.hdvvn-login-card form > button {
    width: 100% !important;
    margin: 4px 0 0 !important;
    min-height: 42px !important;
    border-radius: 8px !important;
}

.hdvvn-login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
}

.hdvvn-login-links {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
}

.hdvvn-resend {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #dbe5e0;
}

.hdvvn-resend summary {
    cursor: pointer;
    color: #176c50;
    font-size: 13px;
    font-weight: 700;
}

.hdvvn-resend form {
    margin-top: 14px;
}

.hdvvn-account-summary {
    max-width: 1080px;
    margin: 20px auto 24px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    border: 1px solid #dbe5e0;
    border-radius: 14px;
    background: #f8fafc;
}

.hdvvn-account-summary > div {
    display: grid;
    gap: 4px;
    align-content: start;
}

.hdvvn-account-summary strong {
    color: #04433b;
    font-size: 13px;
}

.hdvvn-account-summary span,
.hdvvn-account-summary a {
    color: #475569;
    font-size: 13px;
}

.hdvvn-status-active {
    color: #15803d !important;
    font-weight: 700;
}

.hdvvn-trap {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .hdvvn-login-card {
        padding: 28px 20px !important;
    }

    .hdvvn-login-card h2 {
        font-size: 24px;
    }

    .hdvvn-account-summary {
        margin-left: 12px;
        margin-right: 12px;
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   HDVVN MEMBER 2.0.2 - PASSWORD RECOVERY + RESPONSIVE HARDENING
   ========================================================= */
.hdvvn-password-card {
    width: 100%;
    box-sizing: border-box;
}

.hdvvn-inline-alert {
    margin: 14px 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.hdvvn-inline-alert--error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

.hdvvn-auth-card,
.hdvvn-form-section,
.hdvvn-account-summary,
.hdv-form-card,
.hdv-section-block {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.hdvvn-auth-card input,
.hdvvn-auth-card button,
.hdvvn-profile-editor input,
.hdvvn-profile-editor textarea,
.hdvvn-profile-editor select,
.hdvvn-profile-editor input[type="file"] {
    max-width: 100%;
    box-sizing: border-box;
}

.hdvvn-auth-card button,
.hdvvn-save-bar button {
    white-space: normal;
    line-height: 1.3;
}

.hdvvn-notice,
.hdvvn-auth-help,
.hdvvn-login-links,
.hdvvn-account-summary,
.hdvvn-section-head p {
    overflow-wrap: anywhere;
}

@media (max-width: 520px) {
    body.hdvvn-auth-page .hdv-page-header,
    header.hdv-page-header {
        margin-top: 20px !important;
        margin-bottom: 18px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.hdvvn-auth-page .hdv-page-header h1,
    header.hdv-page-header h1 {
        font-size: 28px !important;
        line-height: 1.22 !important;
    }

    .hdvvn-auth-wrap,
    .hdvvn-login-wrap,
    .hdvvn-register-wrap {
        width: 100%;
        max-width: none;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .hdvvn-login-card {
        padding: 24px 16px !important;
        border-radius: 12px;
    }

    .hdvvn-login-card h2 {
        font-size: 22px;
    }

    .hdvvn-login-card form > label input:not([type="checkbox"]) {
        min-height: 44px !important;
        font-size: 16px !important; /* tránh iOS tự zoom khi focus */
    }

    .hdvvn-login-card form > button {
        min-height: 46px !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    .hdvvn-account-summary {
        grid-template-columns: 1fr;
        margin-left: 12px;
        margin-right: 12px;
    }

    .hdvvn-profile-media {
        align-items: flex-start;
        flex-direction: column;
    }

    .hdvvn-form-section {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .hdvvn-section-head > div {
        align-items: flex-start;
    }

    .hdvvn-save-bar {
        justify-content: stretch;
    }

    .hdvvn-save-bar button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    body.hdvvn-auth-page .hdv-page-header h1,
    header.hdv-page-header h1 {
        font-size: 25px !important;
    }

    .hdvvn-login-card {
        padding: 20px 13px !important;
    }

    .hdvvn-auth-help,
    .hdvvn-login-links,
    .hdvvn-resend summary {
        font-size: 12.5px;
    }
}

/* =========================================================
   HDVVN MEMBER 2.0.9 - ACTIVATION + MEMBER DASHBOARD
   ========================================================= */
.hdvvn-activation-code-input {
    text-align: center;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: 7px;
    color: #0b6b3a !important;
    background: #f4fff9 !important;
    border: 2px solid #86d6ad !important;
}

/* =========================================================
   2.0.22 - TÀI KHOẢN THÀNH VIÊN CHUẨN 1080PX
   - Khung trang và dashboard dùng đúng 1080px.
   - Tiêu đề trang canh giữa cùng khung.
   - Gỡ giới hạn 860px mặc định của theme cho nội dung tài khoản.
   ========================================================= */
body.hdvvn-member-account-page .hdv-page-header,
body.hdvvn-member-account-page header.hdv-page-header {
    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-member-account-page .hdv-page-header h1,
body.hdvvn-member-account-page header.hdv-page-header h1 {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

body.hdvvn-member-account-page .hdv-entry-content.hdv-shell,
body.hdvvn-member-account-page .hdv-entry-content {
    width: min(1080px, calc(100% - 40px)) !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.hdvvn-member-account-page .hdv-entry-content > * {
    max-width: none !important;
}

.hdvvn-account-dashboard {
    width: 100%;
    max-width: 1080px;
    margin: 18px auto 48px;
    position: static;
    left: auto;
    transform: none;
}

.hdvvn-dashboard-profile-card,
.hdvvn-dashboard-detail-card {
    background: #fff;
    border: 1px solid #dce7e3;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(4, 67, 59, .06);
    padding: 24px;
    margin-bottom: 22px;
}

.hdvvn-dashboard-profile-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.hdvvn-dashboard-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #dbe5e0;
}

.hdvvn-dashboard-avatar.is-personal {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    border: 3px solid #05564b;
}

.hdvvn-dashboard-avatar.is-organization {
    width: 180px;
    height: 112px;
    border-radius: 12px;
    padding: 8px;
    box-sizing: border-box;
}

.hdvvn-dashboard-avatar img {
    width: 100%;
    height: 100%;
    display: block;
}

.hdvvn-dashboard-avatar.is-personal img { object-fit: cover; }
.hdvvn-dashboard-avatar.is-organization img { object-fit: contain; }
.hdvvn-dashboard-avatar span { font-size: 42px; }

.hdvvn-dashboard-kicker {
    display: block;
    margin-bottom: 6px;
    color: #0b7a5a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.hdvvn-dashboard-profile-main h2 {
    margin: 0 0 10px;
    color: #04433b;
    font-size: clamp(21px, 2.8vw, 30px);
    line-height: 1.25;
}

.hdvvn-dashboard-facts {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.hdvvn-dashboard-facts span,
.hdvvn-dashboard-facts strong {
    overflow-wrap: anywhere;
}

.hdvvn-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #dbe5e0;
}

.hdvvn-dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid #cfe0da;
    background: #fff;
    color: #05564b;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 750;
    box-sizing: border-box;
}

.hdvvn-dashboard-btn--primary { background: #0284c7; border-color: #0284c7; color: #fff; }
.hdvvn-dashboard-btn--success { background: #16a34a; border-color: #16a34a; color: #fff; }
.hdvvn-dashboard-btn--muted { background: #f8fafc; color: #475569; }

.hdvvn-dashboard-detail-card h3 {
    margin: 0 0 18px;
    padding-bottom: 11px;
    border-bottom: 2px solid #05564b;
    color: #04433b;
    font-size: 18px;
}

.hdvvn-dashboard-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.hdvvn-dashboard-info-grid > div {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.hdvvn-dashboard-info-grid strong,
.hdvvn-dashboard-block > strong {
    color: #334155;
    font-size: 13.5px;
}

.hdvvn-dashboard-info-grid span {
    color: #04433b;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.hdvvn-dashboard-block { margin: 16px 0; }
.hdvvn-dashboard-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.hdvvn-dashboard-chips span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
}

.hdvvn-dashboard-intro {
    margin-top: 18px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.75;
}

.hdvvn-account-edit-toolbar {
    width: min(1080px, calc(100% - 40px));
    max-width: 1080px;
    margin: 18px auto 0;
}

.hdvvn-account-edit-toolbar a {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 8px;
    background: #eef7f4;
    color: #05564b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
}

@media (max-width: 760px) {
    body.hdvvn-member-account-page .hdv-page-header,
    body.hdvvn-member-account-page header.hdv-page-header,
    body.hdvvn-member-account-page .hdv-entry-content.hdv-shell,
    body.hdvvn-member-account-page .hdv-entry-content {
        width: min(100% - 28px, 1080px) !important;
    }
    .hdvvn-account-dashboard { width: 100%; }
    .hdvvn-dashboard-profile-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .hdvvn-dashboard-facts { justify-items: center; }
    .hdvvn-dashboard-actions { justify-content: center; }
    .hdvvn-dashboard-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .hdvvn-dashboard-profile-card,
    .hdvvn-dashboard-detail-card { padding: 17px 14px; border-radius: 13px; }
    .hdvvn-dashboard-avatar.is-personal { width: 104px; height: 104px; }
    .hdvvn-dashboard-avatar.is-organization { width: min(180px, 100%); height: 105px; }
    .hdvvn-dashboard-actions { display: grid; grid-template-columns: 1fr; }
    .hdvvn-dashboard-btn { width: 100%; }
    .hdvvn-activation-code-input { font-size: 24px !important; letter-spacing: 5px; }
}


/* =========================================================
   2.0.5 - DASHBOARD 2 CỘT + SIDEBAR QUẢNG CÁO / KHÓA HỌC
   ========================================================= */
.hdvvn-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.hdvvn-dashboard-main { min-width: 0; }

.hdvvn-dashboard-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 24px;
}

.hdvvn-dashboard-side-card {
    background: #fff;
    border: 1px solid #dce7e3;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(4, 67, 59, .05);
    padding: 18px;
}

.hdvvn-dashboard-side-card h3 {
    margin: 0 0 14px;
    padding-bottom: 9px;
    font-size: 16px;
    line-height: 1.35;
}

.hdvvn-dashboard-side-card--ads h3 {
    border-bottom: 2px solid #e11d48;
    color: #e11d48;
}

.hdvvn-dashboard-side-card--courses h3 {
    border-bottom: 2px solid #05564b;
    color: #04433b;
}

.hdvvn-dashboard-banner-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 7 / 5;
    min-height: 180px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #8b8f97;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 700;
    text-align: center;
}

.hdvvn-dashboard-side-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.85;
}

.hdvvn-dashboard-side-card li { margin: 3px 0; }
.hdvvn-dashboard-side-card a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.hdvvn-dashboard-side-card a:hover { color: #05564b; text-decoration: underline; }

@media (max-width: 900px) {
    .hdvvn-dashboard-layout { grid-template-columns: 1fr; }
    .hdvvn-dashboard-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hdvvn-dashboard-sidebar { grid-template-columns: 1fr; }
    .hdvvn-dashboard-side-card { padding: 15px; border-radius: 13px; }
}

/* =========================================================
   HDVVN MEMBER 2.0.11 - PROFILE CÁ NHÂN CHUYÊN NGHIỆP
   ========================================================= */
.hdv-section-help {
    margin: -6px 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.hdv-field-note {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.hdv-field-spacer { margin-top: 20px; }

.hdvvn-repeater-list {
    display: grid;
    gap: 16px;
}

.hdvvn-repeater-item {
    padding: 18px;
    border: 1px solid #dce7e3;
    border-radius: 12px;
    background: #ffffff;
}

.hdvvn-repeater-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #04433b;
}

.hdvvn-repeater-remove,
.hdvvn-language-remove {
    border: 0;
    background: #fff1f2;
    color: #be123c;
    cursor: pointer;
    font-weight: 700;
}

.hdvvn-repeater-remove {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.hdvvn-add-row-btn {
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid #9cc8b7;
    border-radius: 9px;
    background: #eef8f4;
    color: #05564b;
    cursor: pointer;
    font-weight: 750;
}

.hdvvn-add-row-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.hdvvn-add-row-btn--small { margin-top: 10px; }

.hdvvn-language-grid {
    display: grid;
    gap: 10px;
}

.hdvvn-language-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.hdvvn-language-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
}

.hdv-work-type-group { padding-top: 1px; }

.hdvvn-dashboard-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e6eeea;
}

.hdvvn-dashboard-section:first-of-type { margin-top: 8px; }

.hdvvn-dashboard-section h4 {
    margin: 0 0 14px;
    color: #04433b;
    font-size: 16px;
}

.hdvvn-career-timeline {
    display: grid;
    gap: 12px;
}

.hdvvn-career-item {
    padding: 15px 16px;
    border-left: 3px solid #15966b;
    border-radius: 0 10px 10px 0;
    background: #f8fbfa;
}

.hdvvn-career-item-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.hdvvn-career-item-head > div {
    display: grid;
    gap: 3px;
}

.hdvvn-career-item-head strong {
    color: #173d33;
    font-size: 14.5px;
}

.hdvvn-career-item-head span,
.hdvvn-career-item-head time {
    color: #64748b;
    font-size: 12.5px;
}

.hdvvn-career-item p {
    margin: 10px 0 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.6;
}

.hdvvn-dashboard-textblock {
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.hdvvn-dashboard-textblock strong {
    color: #334155;
    font-size: 13.5px;
}

.hdvvn-dashboard-textblock p {
    margin: 7px 0 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.65;
}

.hdvvn-language-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hdvvn-language-summary span {
    display: inline-flex;
    gap: 4px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #166534;
    font-size: 13px;
}

@media (max-width: 760px) {
    .hdvvn-language-row { grid-template-columns: 1fr; }
    .hdvvn-language-remove {
        width: auto;
        height: 34px;
        border-radius: 8px;
    }
    .hdvvn-language-remove::after {
        content: ' Xóa';
        font-size: 12px;
        vertical-align: 2px;
    }
    .hdvvn-career-item-head { display: grid; gap: 6px; }
}

@media (max-width: 520px) {
    .hdvvn-repeater-item { padding: 14px 12px; }
    .hdvvn-repeater-head { align-items: flex-start; }
    .hdvvn-add-row-btn { width: 100%; }
}


/* HDVVN MEMBER 2.0.23 - chuẩn hóa tiêu đề Tìm ứng viên */
body.hdvvn-member-directory-page .hdv-page-header.hdv-shell {
    width: min(1080px, calc(100% - 40px));
    max-width: 1080px !important;
    margin: 34px auto 24px !important;
    padding: 0 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
body.hdvvn-member-directory-page .hdv-page-header.hdv-shell h1 {
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    line-height: 1.15 !important;
    color: #0d4a3a !important;
}
@media (max-width: 767px) {
    body.hdvvn-member-directory-page .hdv-page-header.hdv-shell {
        width: min(100% - 28px, 1080px);
        margin: 24px auto 18px !important;
        padding: 0 8px !important;
    }
    body.hdvvn-member-directory-page .hdv-page-header.hdv-shell h1 {
        font-size: 30px !important;
    }
}

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

/* =========================================================
   HDVVN MEMBER 2.0.20 - TÌM ỨNG VIÊN
   ========================================================= */
.hdvvn-directory-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 24px auto 48px;
    padding: 0;
    box-sizing: border-box;
}

.hdvvn-directory-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-directory-filter-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr 1fr;
    gap: 14px;
    align-items: end;
}

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

.hdvvn-directory-filter input,
.hdvvn-directory-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-directory-filter-actions {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    min-width: 0;
}
.hdvvn-directory-filter-actions button,
.hdvvn-directory-filter-actions a {
    min-width: 0;
    white-space: nowrap;
}
.hdvvn-directory-filter-actions button { flex: 1.25 1 0; }
.hdvvn-directory-filter-actions a { flex: 0.85 1 0; }

.hdvvn-directory-filter-actions button,
.hdvvn-directory-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-directory-filter-actions button {
    border: 0;
    background: #075c4f;
    color: #fff;
    cursor: pointer;
}

.hdvvn-directory-filter-actions a {
    border: 1px solid #ccd9d4;
    background: #fff;
    color: #516c63;
}

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

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

.hdvvn-directory-main { min-width: 0; }
.hdvvn-candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

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

.hdvvn-candidate-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    margin-top: 16px;
    align-self: flex-start;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0a6657;
    background: #eef5f2;
    text-decoration: none;
}
.hdvvn-candidate-avatar img,
.hdvvn-candidate-avatar span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    object-fit: cover;
    font-size: 28px;
}

.hdvvn-candidate-body { min-width: 0; flex: 1; }
.hdvvn-candidate-body h3 {
    margin: 0 0 3px;
    font-size: 17.5px;
    line-height: 1.3;
}
.hdvvn-candidate-body h3 a { color: #063f37; text-decoration: none; }
.hdvvn-candidate-role {
    margin-top: 1px;
    color: #315d52;
    font-size: 12.8px;
    line-height: 1.4;
    font-weight: 650;
}
.hdvvn-candidate-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0;
    row-gap: 4px;
    margin-top: 7px;
    color: #52685f;
    font-size: 12.5px;
    line-height: 1.5;
}
.hdvvn-candidate-facts span {
    display: inline;
    min-width: 0;
    overflow-wrap: anywhere;
}
.hdvvn-candidate-facts span:not(:first-child)::before {
    content: " - ";
    color: #82928c;
    white-space: pre;
}

.hdvvn-directory-detail-btn {
    display: inline-flex;
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 7px;
    background: #edf7f3;
    color: #075c4f;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 800;
}

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

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

.hdvvn-directory-pagination { margin-top: 22px; }
.hdvvn-directory-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hdvvn-directory-pagination a,
.hdvvn-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-directory-pagination .current { background: #075c4f; color: #fff; border-color: #075c4f; }

@media (max-width: 920px) {
    .hdvvn-directory-filter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hdvvn-directory-layout { grid-template-columns: 1fr; }
    .hdvvn-directory-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}

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

@media (max-width: 430px) {
    .hdvvn-candidate-card { padding: 13px; gap: 11px; }
    .hdvvn-candidate-avatar { width: 64px; height: 64px; flex-basis: 64px; margin-top: 10px; }
    .hdvvn-candidate-body h3 { font-size: 15.5px; }
   .hdvvn-directory-filter { padding: 14px; }
}


/* 2.2.2 - MOBILE/TABLET UX ONLY: full-width auth + 1 hệ màu hành động. Desktop không đổi. */
@media(max-width:900px){
  body.hdvvn-auth-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-auth-page .hdvvn-register-wrap,body.hdvvn-auth-page .hdvvn-login-wrap,body.hdvvn-auth-page .hdvvn-auth-wrap{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
  body.hdvvn-auth-page .hdvvn-auth-card{width:100%!important;max-width:none!important}
  body.hdvvn-auth-page .hdvvn-register-form{padding:28px 20px 22px!important}
  body.hdvvn-auth-page .hdvvn-login-card{padding:30px 22px!important}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-btn{width:100%!important;background:#fff!important;border:1px solid #a9c8bd!important;color:#05564b!important;box-shadow:none!important}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--post{order:1;background:#0d6b50!important;border-color:#0d6b50!important;color:#fff!important}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--find{order:2}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--applications{order:3}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--edit{order:4}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--public{order:5}
  .hdvvn-account-dashboard .hdvvn-dashboard-actions .hdvvn-dashboard-action--cv{order:6}
}
@media(max-width:600px){
  body.hdvvn-auth-page .hdv-entry-content.hdv-shell{width:calc(100% - 20px)!important}
  body.hdvvn-auth-page .hdvvn-register-form{padding:20px 14px 18px!important}
  body.hdvvn-auth-page .hdvvn-login-card{padding:22px 14px!important}
  body.hdvvn-auth-page .hdvvn-auth-grid{grid-template-columns:1fr!important;gap:14px!important}
  body.hdvvn-auth-page .hdvvn-auth-grid input,body.hdvvn-auth-page .hdvvn-login-card input:not([type=checkbox]){font-size:16px!important;min-height:44px!important}
}

/* =========================================================
   2.2.3 — MOBILE/TABLET FULL-WIDTH REGISTRATION
   Chỉ tác động trang Đăng ký thành viên <= 900px.
   ========================================================= */
@media (max-width: 900px) {
    body.hdvvn-register-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-register-page .hdv-entry-content.hdv-shell > * {
        max-width: none !important;
        width: 100% !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering {
        width: 100% !important;
        max-width: none !important;
        margin: 8px auto 34px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .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-register-page .hdv-modern-form-wrapper.is-registering .hdv-section-block {
        width: 100% !important;
        max-width: none !important;
        padding: 16px 12px !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-tab-pill-container {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-input,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-select,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-textarea,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-file-upload {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
@media (max-width: 600px) {
    body.hdvvn-register-page .hdv-entry-content.hdv-shell {
        width: calc(100% - 8px) !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-form-card {
        padding: 12px 8px !important;
        border-radius: 12px !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-section-block {
        padding: 14px 10px !important;
        border-radius: 10px !important;
    }
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-input,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-select,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-textarea,
    body.hdvvn-register-page .hdv-modern-form-wrapper.is-registering .hdv-file-upload {
        font-size: 16px !important;
    }
}

/* 2.3.1 - Public profile readiness + opportunity status */
.hdvvn-public-profile-state{display:grid;gap:4px;margin:14px 0 4px;padding:11px 13px;border-radius:10px;border:1px solid #d6e3de;background:#f8fbfa;color:#334155;font-size:13px;line-height:1.5}
.hdvvn-public-profile-state strong{color:#05564b;font-size:13.5px}
.hdvvn-public-profile-state.is-incomplete{border-color:#f0d49b;background:#fffaf0}
.hdvvn-public-profile-state.is-incomplete strong{color:#9a5a00}
.hdvvn-opportunity-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:5px 0 1px;padding:4px 8px;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1.2}
.hdvvn-opportunity-badge.is-paused{background:#fff4df;color:#9a5a00;border:1px solid #f2cf8c}
@media(max-width:820px){.hdvvn-public-profile-state{margin-top:12px;padding:10px 11px}.hdvvn-opportunity-badge{font-size:11px}}

/* =========================================================
   2.3.6 - DASHBOARD PROFILE UI REFRESH
   Nhận diện 28% / thông tin 44% / thao tác 28%, icon line đồng bộ.
   ========================================================= */
.hdvvn-dashboard-profile-card--refresh {
    padding: 22px 20px;
}

.hdvvn-dashboard-profile-grid {
    display: grid;
    grid-template-columns: minmax(150px, 28fr) minmax(240px, 44fr) minmax(160px, 28fr);
    gap: 18px;
    align-items: stretch;
}

.hdvvn-dashboard-identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 2px;
}

.hdvvn-dashboard-identity .hdvvn-dashboard-kicker {
    margin: 0 0 12px;
    font-size: 11.5px;
    letter-spacing: .8px;
}

.hdvvn-dashboard-identity .hdvvn-dashboard-avatar.is-personal {
    width: 116px;
    height: 116px;
    flex: 0 0 116px;
    margin: 0 auto 12px;
    box-shadow: 0 5px 16px rgba(4,67,59,.09);
}

.hdvvn-dashboard-identity .hdvvn-dashboard-avatar.is-organization {
    width: min(170px, 100%);
    height: 106px;
    flex: 0 0 106px;
    margin: 0 auto 12px;
    box-shadow: 0 5px 16px rgba(4,67,59,.07);
}

.hdvvn-dashboard-identity .hdvvn-dashboard-avatar .hdvvn-ui-icon {
    width: 46px;
    height: 46px;
    color: #78918a;
}

.hdvvn-dashboard-identity h2 {
    margin: 0;
    color: #04433b;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hdvvn-dashboard-member-code {
    display: inline-flex;
    margin-top: 6px;
    padding: 3px 8px;
    border: 1px solid #d8e5e0;
    border-radius: 999px;
    background: #f8fbfa;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.25;
}

.hdvvn-dashboard-summary {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 3px 0;
}

.hdvvn-dashboard-fact {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 10px;
    transition: background .18s ease;
}

.hdvvn-dashboard-fact:hover {
    background: #f8fbfa;
}

.hdvvn-dashboard-fact-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf7f3;
    color: #0b725e;
}

.hdvvn-dashboard-fact > span:last-child {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.hdvvn-dashboard-fact strong {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
}

.hdvvn-dashboard-fact b {
    color: #173c36;
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.hdvvn-dashboard-utility {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-left: 17px;
    border-left: 1px solid #e1ebe7;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 9px;
    align-items: start;
    margin: 0;
    padding: 11px;
    border-radius: 11px;
    background: #f3faf7;
    color: #48635d;
    font-size: 11.5px;
    line-height: 1.4;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state.is-incomplete {
    background: #fffaf0;
}

.hdvvn-public-profile-state-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dff3ea;
    color: #08755c;
}

.hdvvn-public-profile-state.is-incomplete .hdvvn-public-profile-state-icon {
    background: #fff0cf;
    color: #9a5a00;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state strong {
    margin: 0;
    color: #075c4b;
    font-size: 12.5px;
    line-height: 1.3;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state.is-incomplete strong {
    color: #9a5a00;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-public-profile-state span {
    overflow-wrap: anywhere;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn {
    width: 100%;
    min-height: 40px;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.25;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn .hdvvn-ui-icon {
    flex: 0 0 auto;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn--primary {
    background: #0b6b57;
    border-color: #0b6b57;
    color: #fff;
    box-shadow: 0 5px 13px rgba(11,107,87,.14);
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn--primary:hover {
    background: #085947;
    border-color: #085947;
    color: #fff;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn:not(.hdvvn-dashboard-btn--primary):not(.hdvvn-dashboard-btn--success) {
    background: #fff;
    border-color: #bfd4cc;
    color: #075c4b;
}

.hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-btn--success {
    background: #11815f;
    border-color: #11815f;
    color: #fff;
}

@media (max-width: 760px) {
    .hdvvn-dashboard-profile-grid {
        grid-template-columns: 180px minmax(0,1fr);
        gap: 18px 22px;
    }
    .hdvvn-dashboard-identity { justify-content: flex-start; }
    .hdvvn-dashboard-utility {
        grid-column: 1 / -1;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #e1ebe7;
    }
    .hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-actions {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .hdvvn-dashboard-profile-card--refresh { padding: 18px 15px; }
    .hdvvn-dashboard-profile-grid { grid-template-columns: 1fr; gap: 16px; }
    .hdvvn-dashboard-identity { padding-bottom: 2px; }
    .hdvvn-dashboard-summary { width: 100%; }
    .hdvvn-dashboard-fact { padding: 7px 5px; }
    .hdvvn-dashboard-utility {
        grid-column: auto;
        padding-top: 14px;
    }
    .hdvvn-dashboard-profile-card--refresh .hdvvn-dashboard-actions { grid-template-columns: 1fr; }
    .hdvvn-dashboard-identity .hdvvn-dashboard-avatar.is-personal {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }
}

/* =========================================================
   2.3.7 - MOBILE-FIRST AD PRIORITY / ADSENSE READY
   Mục tiêu:
   - Không nới sidebar desktop làm co nội dung chính.
   - Giữ 320px sidebar hiện tại, vùng quảng cáo thực tối đa 300px.
   - Tablet/mobile: đưa quảng cáo lên ngay sau card hồ sơ đầu tiên.
   - Một ad slot duy nhất trong DOM, tránh nhân đôi impression/script.
   ========================================================= */

/* Desktop: giữ tỷ lệ tổng hiện tại, không tăng sidebar lên 336/340px. */
.hdvvn-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

/* Card quảng cáo dùng padding ngang mỏng để vùng media có thể đạt gần 300px. */
.hdvvn-dashboard-side-card--ads {
    box-sizing: border-box;
    padding: 16px 9px 10px;
}

.hdvvn-dashboard-side-card--ads h3 {
    margin-left: 5px;
    margin-right: 5px;
}

/* Slot chung cho banner tự bán / AdSense / mạng quảng cáo responsive. */
.hdvvn-dashboard-banner-slot,
.hdvvn-dashboard-ad-slot {
    width: 100%;
    max-width: 300px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.hdvvn-dashboard-banner-slot > *,
.hdvvn-dashboard-ad-slot > * {
    max-width: 100%;
    box-sizing: border-box;
}

.hdvvn-dashboard-banner-slot a,
.hdvvn-dashboard-ad-slot a,
.hdvvn-dashboard-banner-slot picture,
.hdvvn-dashboard-ad-slot picture {
    display: block;
    width: 100%;
    max-width: 100%;
}

.hdvvn-dashboard-banner-slot img,
.hdvvn-dashboard-ad-slot img,
.hdvvn-dashboard-banner-slot video,
.hdvvn-dashboard-ad-slot video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

/* Không ép height iframe: AdSense/ad network cần tự quyết định chiều cao creative. */
.hdvvn-dashboard-banner-slot iframe,
.hdvvn-dashboard-ad-slot iframe {
    display: block;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

/* Google AdSense responsive thường render qua ins.adsbygoogle. */
.hdvvn-dashboard-ad-slot ins.adsbygoogle,
.hdvvn-dashboard-banner-slot ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/*
 * Tablet/mobile là nguồn truy cập ưu tiên:
 * PROFILE -> QUẢNG CÁO -> CHI TIẾT HỒ SƠ -> KHÓA HỌC / NỘI DUNG SIDEBAR KHÁC.
 * Dùng display:contents để chỉ có một ad slot thật trong DOM, không clone banner/AdSense.
 */
@media (max-width: 900px) {
    .hdvvn-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hdvvn-dashboard-main,
    .hdvvn-dashboard-sidebar {
        display: contents;
    }

    .hdvvn-dashboard-profile-card {
        order: 1;
        margin-bottom: 0;
    }

    .hdvvn-dashboard-side-card--ads {
        order: 2;
        width: 100%;
        margin: 0;
        padding: 14px;
    }

    .hdvvn-dashboard-detail-card {
        order: 3;
        margin-bottom: 0;
    }

    .hdvvn-dashboard-sidebar > *:not(.hdvvn-dashboard-side-card--ads) {
        order: 4;
    }

    .hdvvn-dashboard-banner-slot,
    .hdvvn-dashboard-ad-slot {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 620px) {
    .hdvvn-dashboard-layout {
        gap: 14px;
    }

    .hdvvn-dashboard-side-card--ads {
        padding: 12px;
        border-radius: 13px;
    }

    .hdvvn-dashboard-side-card--ads h3 {
        margin: 0 0 10px;
        padding-bottom: 8px;
        font-size: 15px;
    }
}

/* =========================================================
   HDVVN MEMBER 2.4.0 — DASHBOARD SPEC CÁ NHÂN / DOANH NGHIỆP
   Bám layout vận hành: nhận diện | thông tin | chức năng.
   ========================================================= */
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-card--spec {
    padding: 22px 22px 20px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec {
    grid-template-columns: 180px minmax(0, 1fr) 170px;
    gap: 18px;
    align-items: center;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
    grid-template-columns: 170px minmax(0, 1fr) 175px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-company-title {
    margin: 0 0 18px;
    color: #18551e;
    font-size: clamp(21px, 2.1vw, 29px);
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-identity {
    justify-content: center;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-avatar.is-personal {
    width: 116px;
    height: 116px;
    flex-basis: 116px;
    margin-bottom: 12px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-avatar.is-organization {
    width: 155px;
    height: 105px;
    flex-basis: 105px;
    margin-bottom: 10px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-identity h2 {
    font-size: 21px;
    white-space: normal;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-member-code {
    margin-top: 5px;
    background: #fff;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-summary {
    gap: 5px;
    padding: 0 4px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact {
    grid-template-columns: 28px minmax(0,1fr);
    gap: 7px;
    padding: 5px 4px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact > span:last-child {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact strong {
    font-size: 11.5px;
    white-space: nowrap;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact b {
    font-size: 12.8px;
    overflow-wrap: anywhere;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-utility--actions-only {
    border-left: 1px solid #dce7e3;
    padding-left: 16px;
    min-width: 0;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-btn {
    min-height: 38px;
    width: 100%;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 12.4px;
    background: #fff;
    color: #174c40;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-btn--primary {
    background: #16743b;
    border-color: #16743b;
    color: #fff;
}
.hdvvn-dashboard-activity-card {
    background: #fff;
    border: 1px solid #dce7e3;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(4,67,59,.035);
    padding: 17px 18px;
    margin-bottom: 20px;
}
.hdvvn-dashboard-activity-card h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #05564b;
    color: #204c29;
    font-size: 13px;
    line-height: 1.4;
}
.hdvvn-dashboard-activity-list,
.hdvvn-dashboard-job-list {
    display: grid;
    gap: 8px;
}
.hdvvn-dashboard-activity-row,
.hdvvn-dashboard-job-row {
    display: grid;
    grid-template-columns: 82px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    font-size: 11.5px;
    line-height: 1.45;
}
.hdvvn-dashboard-activity-row time,
.hdvvn-dashboard-job-row time {
    color: #64748b;
}
.hdvvn-dashboard-activity-row a,
.hdvvn-dashboard-job-row strong {
    color: #165a2e;
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.hdvvn-dashboard-job-row {
    grid-template-columns: 82px minmax(0,1fr) auto;
    align-items: center;
}
.hdvvn-dashboard-job-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 11.5px;
}
.hdvvn-dashboard-job-actions a,
.hdvvn-dashboard-job-actions button {
    border: 0;
    background: transparent;
    color: #174c40;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}
.hdvvn-dashboard-job-actions a + a::before,
.hdvvn-dashboard-job-actions form::before {
    content: "|";
    margin-right: 5px;
    color: #94a3b8;
}
.hdvvn-dashboard-job-actions form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.hdvvn-dashboard-inline-success {
    margin: -2px 0 10px;
    color: #16743b;
    font-size: 12px;
    font-weight: 700;
}
.hdvvn-dashboard-empty {
    margin: 0;
    color: #64748b;
    font-size: 12.5px;
}
@media (max-width: 1050px) and (min-width: 901px) {
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec,
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
        grid-template-columns: 145px minmax(0,1fr);
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-utility--actions-only {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #dce7e3;
        padding: 14px 0 0;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-actions {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 900px) {
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec,
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
        grid-template-columns: 150px minmax(0,1fr);
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-utility--actions-only {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #dce7e3;
        padding: 14px 0 0;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-actions {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .hdvvn-dashboard-activity-card { order: 3; }
}
@media (max-width: 560px) {
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-card--spec {
        padding: 18px 15px;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-company-title {
        text-align: center;
        font-size: 20px;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec,
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-summary {
        width: 100%;
        padding: 0;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-fact > span:last-child {
        display: grid;
        grid-template-columns: max-content minmax(0,1fr);
        gap: 6px;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-actions {
        grid-template-columns: 1fr;
    }
    .hdvvn-dashboard-activity-card {
        padding: 15px;
    }
    .hdvvn-dashboard-activity-row,
    .hdvvn-dashboard-job-row {
        grid-template-columns: 72px minmax(0,1fr);
    }
    .hdvvn-dashboard-job-actions {
        grid-column: 2;
        white-space: normal;
        flex-wrap: wrap;
    }
}


/* =========================================================
   HDVVN MEMBER 2.4.1 — STATUS TÌM VIỆC + KHÔI PHỤC TIN
   ========================================================= */
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
    grid-template-columns: 160px minmax(0,1fr) 170px;
    gap: 14px;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization .hdvvn-dashboard-fact > span:last-child {
    display: grid;
    grid-template-columns: max-content minmax(0,1fr);
    align-items: baseline;
    column-gap: 6px;
    row-gap: 2px;
    min-width: 0;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization .hdvvn-dashboard-fact strong {
    white-space: nowrap;
}
.hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization .hdvvn-dashboard-fact b {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}
.hdvvn-dashboard-inline-warning {
    margin: -2px 0 10px;
    color: #9a5a00;
    font-size: 12px;
    font-weight: 700;
}
.hdvvn-dashboard-job-hidden-label {
    color: #64748b;
    font-weight: 700;
}
.hdvvn-dashboard-job-actions button.is-restore {
    color: #0b725e;
    font-weight: 800;
}
.hdvvn-organization-directory .hdvvn-organization-card .hdvvn-candidate-avatar img {
    object-fit: contain;
    background: #fff;
}

@media (max-width: 900px) {
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
        grid-template-columns: 150px minmax(0,1fr);
        gap: 16px;
    }
}
@media (max-width: 560px) {
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization {
        grid-template-columns: 1fr;
    }
    .hdvvn-account-dashboard--v240 .hdvvn-dashboard-profile-grid--spec.is-organization .hdvvn-dashboard-fact > span:last-child {
        grid-template-columns: max-content minmax(0,1fr);
    }
}

.hdvvn-dashboard-job-actions .hdvvn-dashboard-job-hidden-label::before {
    content: "|";
    margin: 0 5px 0 1px;
    color: #94a3b8;
}


/* =========================================================
   HDVVN MEMBER 2.4.4 — ADMIN FRONTEND OPERATIONS
   Chỉ render trong trang Tài khoản thành viên; không tạo public profile cho Admin.
   ========================================================= */
.hdvvn-admin-frontend-hub{max-width:1080px;margin:0 auto 36px;padding:0 18px;box-sizing:border-box}
.hdvvn-admin-frontend-hero,.hdvvn-admin-frontend-jobs{background:#fff;border:1px solid #dce7e3;border-radius:14px;padding:22px;box-sizing:border-box}
.hdvvn-admin-frontend-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}
.hdvvn-admin-frontend-hero h2{margin:6px 0 8px;font-size:24px;color:#123f34}
.hdvvn-admin-frontend-hero p{margin:0;max-width:700px;line-height:1.65;color:#52645f}
.hdvvn-admin-frontend-badge{display:inline-block;padding:4px 9px;border-radius:999px;background:#e9fff4;color:#0b725e;font-size:11px;font-weight:800;letter-spacing:.5px}
.hdvvn-admin-frontend-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.hdvvn-admin-frontend-actions a,.hdvvn-admin-job-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #cbdad5;border-radius:8px;padding:8px 11px;font-weight:700;color:#155b4b;background:#fff}
.hdvvn-admin-frontend-actions a.is-primary,.hdvvn-admin-job-actions a.is-edit{background:#136f52;border-color:#136f52;color:#fff}
.hdvvn-admin-frontend-section-head h3{margin:0 0 5px;color:#123f34;font-size:20px}
.hdvvn-admin-frontend-section-head p{margin:0 0 16px;color:#64748b;font-size:13px;line-height:1.5}
.hdvvn-admin-job-list{display:grid;gap:9px}
.hdvvn-admin-job-row{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf2f0}
.hdvvn-admin-job-row:first-child{border-top:0}
.hdvvn-admin-job-main{min-width:0;display:grid;gap:3px}
.hdvvn-admin-job-main strong{color:#123f34;overflow-wrap:anywhere}
.hdvvn-admin-job-main span{font-size:12px;color:#64748b}
.hdvvn-admin-job-status{font-size:12px;font-weight:700;color:#52645f}
.hdvvn-admin-job-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:760px){.hdvvn-admin-frontend-hero{display:block}.hdvvn-admin-frontend-actions{justify-content:flex-start;margin-top:16px}.hdvvn-admin-job-row{grid-template-columns:1fr}.hdvvn-admin-job-actions{justify-content:flex-start}.hdvvn-admin-job-status{margin-top:-4px}}

/* =========================================================
   2.5.11 - EMAIL VERIFY NOTICE / PROFILE EDIT POLISH
   ========================================================= */
.hdvvn-email-verify-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto 18px;
    padding: 17px 18px;
    border: 1px solid #d4e4dd;
    border-left: 4px solid #0b6b56;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7fbf9 0%, #ffffff 100%);
    box-shadow: 0 7px 20px rgba(20, 73, 59, 0.06);
    color: #29443b;
    box-sizing: border-box;
}

.hdvvn-email-verify-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #e7f4ee;
    color: #0b6b56;
    font-size: 20px;
    line-height: 1;
}

.hdvvn-email-verify-content {
    min-width: 0;
    flex: 1;
}

.hdvvn-email-verify-content > strong {
    display: block;
    margin: 1px 0 6px;
    color: #123f35;
    font-size: 15px;
    line-height: 1.4;
}

.hdvvn-email-verify-content > p {
    margin: 0;
    color: #53665f;
    font-size: 13.5px;
    line-height: 1.62;
}

.hdvvn-email-verify-form {
    margin: 12px 0 0;
}

.hdvvn-email-verify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #0b6b56;
    border-radius: 999px;
    background: #0b6b56;
    color: #fff;
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(11, 107, 86, 0.16);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hdvvn-email-verify-btn:hover {
    background: #095c4a;
    transform: translateY(-1px);
    box-shadow: 0 7px 15px rgba(11, 107, 86, 0.20);
}

.hdvvn-email-verify-btn span {
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 767px) {
    .hdvvn-email-verify-notice {
        margin: 0 12px 16px;
        padding: 14px;
        gap: 10px;
    }
    .hdvvn-email-verify-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 17px;
    }
    .hdvvn-email-verify-btn {
        width: 100%;
    }
}

/* 2.5.15 - Account overview: plain CV-style skills display, aligned with public profile. */
.hdvvn-dashboard-skills-clean .hdvvn-dashboard-plain-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 0;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dashed #d7e1de;
    color: #334155;
    font-size: 13.5px;
    line-height: 1.65;
}

.hdvvn-dashboard-skills-clean .hdvvn-dashboard-plain-item {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: 400;
}

.hdvvn-dashboard-skills-clean .hdvvn-dashboard-plain-item + .hdvvn-dashboard-plain-item::before {
    content: " · ";
    color: #94a3b8;
    font-weight: 400;
    white-space: pre;
}

.hdvvn-dashboard-skills-clean .hdvvn-dashboard-plain-item strong {
    color: #173d33;
    font-size: inherit;
}

.hdvvn-dashboard-skills-clean .hdvvn-dashboard-skill-copy {
    margin: 0;
    padding: 13px 0 0;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 13.5px;
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 640px) {
    .hdvvn-dashboard-skills-clean .hdvvn-dashboard-plain-row,
    .hdvvn-dashboard-skills-clean .hdvvn-dashboard-skill-copy {
        font-size: 13px;
    }
}
