/* =====================================================================
   JobLab – giao diện phong cách WorkScout (sạch, trắng, nhấn xanh lá)
   ===================================================================== */
:root {
    --ws-primary: #3d66f6;
    --ws-primary-dark: #2c52e0;
    --ws-primary-soft: #eaf0ff;
    --ws-primary-mint: #f3f6ff;
    --ws-heading: #062750;
    --ws-text: #5a6378;
    --ws-muted: #888888;
    --ws-border: #e0e0e0;
    --ws-gray: #f7f7f7;
    --ws-input: #f4f4f4;
    --ws-dark: #0a1f44;
    --ws-radius: 4px;
    --ws-shadow: 0 1px 6px rgba(0, 0, 0, .06);
    --ws-shadow-hover: 0 8px 30px rgba(0, 0, 0, .09);

    --bs-primary: #3d66f6;
    --bs-primary-rgb: 61, 102, 246;
    --bs-link-color: #3d66f6;
    --bs-link-color-rgb: 61, 102, 246;
    --bs-link-hover-color: #2c52e0;
    --bs-link-hover-color-rgb: 44, 82, 224;
    --bs-body-font-family: "Be Vietnam Pro", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: #5a6378;
    --bs-body-font-size: .9375rem;
    --bs-border-color: #e0e0e0;
    --bs-border-radius: 4px;
    --bs-primary-bg-subtle: #eaf0ff;
    --bs-primary-text-emphasis: #1d3fc0;
}
body { background: #fff; color: var(--ws-text); font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ws-heading); font-weight: 500; }
.fw-bold { font-weight: 600 !important; }
a { text-decoration: none; transition: color .2s; }
a:hover { text-decoration: none; }
.text-dark { color: var(--ws-heading) !important; }
.text-muted { color: var(--ws-muted) !important; }
.min-w-0 { min-width: 0; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
::selection { background: var(--ws-primary); color: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--ws-radius); font-weight: 500; }
.btn-primary, .btn-ws {
    --bs-btn-bg: var(--ws-primary); --bs-btn-border-color: var(--ws-primary); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--ws-primary-dark); --bs-btn-hover-border-color: var(--ws-primary-dark); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ws-primary-dark); --bs-btn-active-border-color: var(--ws-primary-dark);
    --bs-btn-disabled-bg: var(--ws-primary); --bs-btn-disabled-border-color: var(--ws-primary);
}
.btn-ws { padding: .62rem 1.4rem; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.btn-ws-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-ws-outline, .btn-outline-primary {
    --bs-btn-color: var(--ws-primary); --bs-btn-border-color: var(--ws-primary); --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--ws-primary); --bs-btn-hover-border-color: var(--ws-primary); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ws-primary-dark); --bs-btn-active-border-color: var(--ws-primary-dark);
}
.btn-ws-outline { background: transparent; color: var(--ws-primary); border: 1px solid var(--ws-primary); }
.btn-light { --bs-btn-bg: #f2f2f2; --bs-btn-border-color: #f2f2f2; --bs-btn-hover-bg: #e8e8e8; --bs-btn-hover-border-color: #e8e8e8; }
.btn-dark { --bs-btn-bg: var(--ws-dark); --bs-btn-border-color: var(--ws-dark); }
.form-control, .form-select { border-radius: var(--ws-radius); border-color: #e3e3e3; color: #555; }
.form-control:focus, .form-select:focus { border-color: var(--ws-primary); box-shadow: 0 0 0 .2rem rgba(61, 102, 246, .15); }
.form-check-input:checked { background-color: var(--ws-primary); border-color: var(--ws-primary); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(61, 102, 246, .15); border-color: var(--ws-primary); }
.form-label { color: var(--ws-heading); font-weight: 500; font-size: .9rem; }
.ws-input { background: var(--ws-input); border: 0; height: 56px; padding: 0 20px; font-size: .95rem; }
.ws-input:focus { background: #efefef; box-shadow: none; }
.page-link { color: var(--ws-heading); border-color: var(--ws-border); }
.page-item.active .page-link { background: var(--ws-primary); border-color: var(--ws-primary); }
.pagination { gap: 4px; }
.pagination .page-link { border-radius: var(--ws-radius) !important; min-width: 40px; text-align: center; }
.nav-pills .nav-link.active { background: var(--ws-primary); }
.nav-pills .nav-link { color: var(--ws-heading); }
.text-bg-primary { background-color: var(--ws-primary) !important; }
.progress-bar { background-color: var(--ws-primary); }
.alert { border-radius: var(--ws-radius); }
.dropdown-item:active { background: var(--ws-primary); }

/* ---------- Header ---------- */
.ws-header { background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .09); z-index: 1030; }
.ws-header-inner { min-height: 82px; }
.ws-logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 1.65rem; font-weight: 600; color: var(--ws-heading); letter-spacing: -.5px; padding-right: 24px; margin-right: 8px; }
.ws-logo:hover { color: var(--ws-heading); }
.ws-logo-light, .ws-logo-light:hover { color: #fff; }
@media (min-width: 992px) and (max-width: 1199.98px) { .ws-menu .nav-link { padding: 30px 8px !important; font-size: .85rem; } .ws-header-right > .ws-hlink { padding: 0 10px !important; } .ws-logo { font-size: 1.4rem; padding-right: 14px; } }
@media (min-width: 992px) {
    .ws-logo { border-right: 1px solid #ececec; align-self: stretch; }
    .ws-menu .nav-link { padding: 30px 12px !important; font-size: .9rem; white-space: nowrap; color: var(--ws-heading); font-weight: 500; position: relative; }
    .ws-menu .nav-link::after { border-top-width: .28em; margin-left: .4em; vertical-align: .2em; }
    .ws-menu .nav-link.active, .ws-menu .nav-link:hover { color: var(--ws-primary); }
    .ws-header-right { display: flex; align-items: stretch; align-self: stretch; }
    .ws-header-right > .ws-hlink, .ws-header-right > .dropdown > .ws-hlink { border-left: 1px solid #ececec; padding: 0 18px; height: 100%; }
    .ws-header-right .btn { white-space: nowrap; }
    .ws-header-right > .btn { align-self: center; }
    .ws-header-right > .dropdown { display: flex; }
    .ws-dropdown { border: 0; border-top: 3px solid var(--ws-primary); border-radius: 0 0 var(--ws-radius) var(--ws-radius); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); margin-top: 0 !important; padding: 10px 0; min-width: 220px; }
}
.ws-dropdown .dropdown-item { padding: 8px 22px; font-size: .9rem; color: #555; }
.ws-dropdown .dropdown-item:hover { background: var(--ws-gray); color: var(--ws-primary); }
.ws-hlink { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; color: var(--ws-heading); font-weight: 500; font-size: .9rem; padding: 10px 0; }
.ws-hlink:hover { color: var(--ws-primary); }
.ws-hlink i { color: var(--ws-heading); }
.ws-dot { position: absolute; top: 18px; right: 8px; background: #e53935; color: #fff; font-size: .65rem; line-height: 1; padding: 3px 5px; border-radius: 10px; }
@media (max-width: 991.98px) {
    .ws-header-inner { min-height: 70px; }
    .ws-menu .nav-link { color: var(--ws-heading); padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .ws-header-right { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 12px 0 18px; }
    .ws-logo { font-size: 1.4rem; }
}
.avatar-circle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ws-primary-soft); color: var(--ws-primary); font-weight: 600; flex-shrink: 0; }
.avatar-sm { width: 32px; height: 32px; font-size: .85rem; }
.avatar-lg { width: 70px; height: 70px; font-size: 1.7rem; }

/* ---------- Titlebar trang con ---------- */
.ws-titlebar { background: var(--ws-gray); padding: 46px 0; margin-bottom: 50px; border-bottom: 1px solid #efefef; }
.ws-titlebar h1 { font-size: 1.85rem; margin: 0; font-weight: 500; }
.ws-titlebar-sub { margin-top: 6px; color: var(--ws-muted); }
.ws-crumbs { font-size: .85rem; color: var(--ws-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ws-crumbs a { color: var(--ws-heading); }
.ws-crumbs a:hover { color: var(--ws-primary); }
.ws-crumbs i { font-size: .65rem; }
.ws-main { min-height: 50vh; padding-bottom: 70px; }
.page-home .ws-main { padding-bottom: 0; }
.ws-flash { padding-top: 10px; }
.ws-dashboard { background: #fff; }

/* ---------- Section heading ---------- */
.ws-section { padding: 80px 0; }
.ws-section-gray { background: var(--ws-gray); }
.ws-headline { text-align: center; margin-bottom: 50px; }
.ws-headline h2 { font-size: 1.75rem; font-weight: 500; margin-bottom: 0; }
.ws-headline h2::after { content: ""; display: block; width: 50px; height: 2px; background: var(--ws-primary); margin: 18px auto 18px; border-radius: 2px; }
.ws-headline p { font-size: 1.05rem; color: var(--ws-muted); margin: 0; }
.ws-headline-left { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; gap: 16px; }
.ws-headline-left h2 { font-size: 1.6rem; margin: 0; }

/* ---------- Hero ---------- */
.ws-hero { position: relative; background-color: var(--ws-primary-mint); padding: 70px 0 60px; overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'%3E%3Cg fill='none' stroke='%233d66f6' stroke-opacity='.09' stroke-width='1.4'%3E%3Cpath d='M-50 80 C 250 20, 450 140, 700 70 S 1100 40, 1300 100'/%3E%3Cpath d='M-50 160 C 250 100, 450 220, 700 150 S 1100 120, 1300 180'/%3E%3Cpath d='M-50 240 C 250 180, 450 300, 700 230 S 1100 200, 1300 260'/%3E%3Cpath d='M-50 320 C 250 260, 450 380, 700 310 S 1100 280, 1300 340'/%3E%3Cpath d='M-50 400 C 250 340, 450 460, 700 390 S 1100 360, 1300 420'/%3E%3Cpath d='M-50 480 C 250 420, 450 540, 700 470 S 1100 440, 1300 500'/%3E%3Cpath d='M-50 560 C 250 500, 450 620, 700 550 S 1100 520, 1300 580'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover; background-position: center; }
.ws-search-box { background: #fff; border-radius: var(--ws-radius); box-shadow: 0 2px 20px rgba(0, 0, 0, .07); padding: 42px 45px 46px; max-width: 470px; }
.ws-search-box h1 { font-size: 2.35rem; font-weight: 500; margin-bottom: 4px; letter-spacing: -.5px; }
.ws-typed { font-size: 1.12rem; color: var(--ws-muted); min-height: 3.2em; margin-bottom: 26px; font-weight: 300; }
.ws-typed b { color: var(--ws-primary); font-weight: 500; }
.ws-typed .caret { display: inline-block; width: 1px; height: 1.1em; background: #999; vertical-align: -3px; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ws-field { position: relative; margin-bottom: 20px; }
.ws-field > i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #aaa; pointer-events: none; }
.ws-field .form-select.ws-input { background-position: right 20px center; }
.ws-adv { margin-top: 26px; font-size: .9rem; color: var(--ws-primary); }
.ws-adv a { color: var(--ws-primary); border-bottom: 1px solid var(--ws-primary); font-weight: 500; }
.ws-hero-art { max-width: 100%; height: auto; }
@media (max-width: 575.98px) { .ws-search-box { padding: 30px 24px; } .ws-search-box h1 { font-size: 1.9rem; } }

/* ---------- Job card (lưới) ---------- */
.ws-job { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); transition: box-shadow .25s, transform .25s; overflow: hidden; }
.ws-job:hover { box-shadow: var(--ws-shadow-hover); transform: translateY(-3px); }
.ws-job-body { padding: 26px 26px 22px; display: flex; gap: 18px; align-items: flex-start; flex: 1; }
.ws-job-logo { width: 54px; height: 54px; flex-shrink: 0; border-radius: var(--ws-radius); object-fit: contain; background: #fff; }
.ws-job-company { font-size: .82rem; color: var(--ws-muted); margin-bottom: 2px; }
.ws-job-title { font-size: 1.05rem; font-weight: 500; line-height: 1.4; margin: 0 0 10px; color: var(--ws-heading); }
.ws-job-title a { color: inherit; }
.ws-job-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ws-job:hover .ws-job-title { color: var(--ws-primary); }
.ws-job-foot { background: #f9f9f9; border-top: 1px solid #efefef; padding: 16px 26px; font-size: .84rem; color: var(--ws-muted); display: flex; flex-direction: column; gap: 6px; }
.ws-job-foot span { display: flex; align-items: center; gap: 8px; }
.ws-job-foot i { color: #9a9a9a; width: 14px; }
.ws-job-foot .ws-salary { color: var(--ws-heading); font-weight: 500; }
.ws-job.is-featured { border-color: #f5c518; background: #fffdf3; }
.ws-job.is-featured .ws-job-foot { background: #fffaea; border-top-color: #fbeeb8; }
.ws-job.is-featured::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 46px 46px 0; border-color: transparent #f5c518 transparent transparent; z-index: 2; }
.ws-job.is-featured::after { content: "\F586"; font-family: "bootstrap-icons"; position: absolute; top: 3px; right: 5px; color: #fff; font-size: .8rem; z-index: 3; }
.ws-save { position: absolute; top: 14px; right: 14px; z-index: 4; }

/* Nhãn hình thức làm việc */
.ws-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ws-tag { display: inline-block; color: #fff; font-size: .72rem; font-weight: 500; padding: 3px 9px; border-radius: 3px; line-height: 1.4; }
.ws-tag-1 { background: #186fc9; }
.ws-tag-2 { background: #f08d1d; }
.ws-tag-3 { background: #d4b414; }
.ws-tag-4 { background: #3d66f6; }
.ws-tag-5 { background: #8224e3; }
.ws-tag-6 { background: #d93025; }
.ws-tag-hot { background: #e53935; }
.ws-tag-outline { background: transparent; color: var(--ws-muted); border: 1px solid #ddd; }

/* ---------- Job row (danh sách) ---------- */
.ws-list { border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; background: #fff; }
.ws-row { position: relative; display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-bottom: 1px solid #ececec; transition: background .2s; }
.ws-row:last-child { border-bottom: 0; }
.ws-row:hover { background: #fcfcfc; }
.ws-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background .2s; }
.ws-row:hover::before { background: var(--ws-primary); }
.ws-row.is-featured { background: #fffdf3; }
.ws-row.is-featured::before { background: #f5c518; }
.ws-row-main { flex: 1; min-width: 0; }
.ws-row-title { font-size: 1.05rem; font-weight: 500; color: var(--ws-heading); margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-row-title a { color: inherit; }
.ws-row-title a::after { content: ""; position: absolute; inset: 0; }
.ws-row:hover .ws-row-title { color: var(--ws-primary); }
.ws-row-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .85rem; color: var(--ws-muted); }
.ws-row-meta i { margin-right: 5px; }
.ws-row-side { text-align: right; font-size: .82rem; color: var(--ws-muted); flex-shrink: 0; }
.ws-row-side .ws-salary { display: block; color: var(--ws-heading); font-weight: 500; font-size: .92rem; margin-bottom: 4px; }
@media (max-width: 767.98px) { .ws-row { flex-wrap: wrap; padding: 20px; } .ws-row-side { text-align: left; width: 100%; } }

/* ---------- Sidebar lọc ---------- */
.ws-widget { margin-bottom: 32px; }
.ws-widget h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; }
.ws-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9rem; color: #555; cursor: pointer; }
.ws-check input { accent-color: var(--ws-primary); width: 16px; height: 16px; }
.ws-check .count { margin-left: auto; color: #aaa; font-size: .8rem; }

/* ---------- Danh mục (strip ảnh) ---------- */
.ws-strip { display: flex; gap: 10px; height: 430px; }
.ws-strip-item { position: relative; flex: 1; min-width: 0; border-radius: 6px; overflow: hidden; color: #fff; transition: flex .5s cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 22px; }
.ws-strip-item:hover, .ws-strip-item.is-open { flex: 2.6; color: #fff; }
.ws-strip-item .bg { position: absolute; inset: 0; z-index: 0; }
.ws-strip-item .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .65)); }
.ws-strip-item .bg i { position: absolute; top: 28%; left: 50%; transform: translate(-50%, -50%); font-size: 5rem; opacity: .28; transition: .5s; }
.ws-strip-item:hover .bg i { font-size: 7rem; opacity: .35; }
.ws-strip-item > * { position: relative; z-index: 1; }
.ws-strip-num { position: absolute !important; top: 20px; left: 22px; font-size: .9rem; font-weight: 600; opacity: .9; }
.ws-strip-name { font-size: 1.05rem; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-strip-meta { max-height: 0; opacity: 0; overflow: hidden; transition: .4s; font-size: .85rem; }
.ws-strip-item:hover .ws-strip-meta, .ws-strip-item.is-open .ws-strip-meta { max-height: 60px; opacity: 1; margin-top: 8px; }
.ws-strip-meta .go { display: inline-block; margin-left: 10px; background: #fff; color: var(--ws-heading); border-radius: 3px; padding: 2px 10px; font-weight: 500; }
.g1 { background: linear-gradient(150deg, #5f81ff, #2c52e0); }
.g2 { background: linear-gradient(150deg, #1c3d78, #062750); }
.g3 { background: linear-gradient(150deg, #f2a33a, #c0641a); }
.g4 { background: linear-gradient(150deg, #8e5bd8, #5a2fa0); }
.g5 { background: linear-gradient(150deg, #e2574c, #a3291f); }
.g6 { background: linear-gradient(150deg, #1fb5b0, #0f7a76); }
.g7 { background: linear-gradient(150deg, #5d6d7e, #2c3a47); }
@media (max-width: 991.98px) {
    .ws-strip { flex-direction: column; height: auto; }
    .ws-strip-item { min-height: 90px; flex: none !important; }
    .ws-strip-meta { max-height: 60px; opacity: 1; margin-top: 6px; }
    .ws-strip-item .bg i { top: 50%; left: auto; right: 10px; transform: translateY(-50%); font-size: 3.5rem; }
}
.ws-cat-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.ws-cat-chip { border: 1px solid var(--ws-border); border-radius: 30px; padding: 7px 16px; font-size: .86rem; color: #555; background: #fff; }
.ws-cat-chip b { color: var(--ws-primary); font-weight: 600; margin-left: 4px; }
.ws-cat-chip:hover { border-color: var(--ws-primary); color: var(--ws-primary); }

/* ---------- How it works ---------- */
.ws-step { background: #fff; border-radius: 6px; padding: 34px 30px 30px; height: 100%; box-shadow: var(--ws-shadow); position: relative; transition: .3s; }
.ws-step:hover { box-shadow: var(--ws-shadow-hover); transform: translateY(-4px); }
.ws-step-num { position: absolute; top: 24px; right: 28px; font-size: 2.6rem; font-weight: 300; color: #e3e3e3; line-height: 1; }
.ws-step-icon { width: 64px; height: 64px; border-radius: 6px; background: var(--ws-primary-soft); color: var(--ws-primary); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; position: relative; margin-bottom: 28px; }
.ws-step-badge { position: absolute; top: -12px; left: 38px; background: #fff; color: var(--ws-heading); font-size: .7rem; white-space: nowrap; padding: 4px 10px; border-radius: 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-weight: 500; }
.ws-step-badge.bottom { top: auto; bottom: -12px; left: 30px; color: #f5a623; letter-spacing: 1px; }
.ws-step h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 12px; }
.ws-step p { font-size: .9rem; line-height: 1.7; }
.ws-step-link { font-weight: 500; font-size: .88rem; color: var(--ws-heading); }
.ws-step-link:hover { color: var(--ws-primary); }

/* ---------- Tabs tính năng ---------- */
.ws-tabs { background: #fff; border-radius: 6px; box-shadow: 0 4px 30px rgba(0, 0, 0, .07); overflow: hidden; border: 1px solid #efefef; }
.ws-tabs .nav { background: var(--ws-gray); padding: 6px; gap: 6px; border-bottom: 1px solid #efefef; }
.ws-tabs .nav-link { flex: 1; color: #555; border-radius: 4px; padding: 13px; font-weight: 500; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ws-tabs .nav-link.active { background: #fff; color: var(--ws-heading); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.ws-tabs .tab-pane { padding: 50px; }
.ws-tabs h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 28px; }
.ws-checklist { list-style: none; padding: 0; margin: 0; }
.ws-checklist li { display: flex; gap: 14px; margin-bottom: 22px; }
.ws-checklist li i { color: var(--ws-primary); font-size: 1.15rem; margin-top: 1px; }
.ws-checklist strong { display: block; color: var(--ws-heading); font-weight: 500; margin-bottom: 3px; }
.ws-checklist span { font-size: .88rem; }
.ws-mock { background: var(--ws-primary-mint); border-radius: 6px; padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ws-mock-card { background: #fff; border-radius: 6px; padding: 16px 18px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); display: flex; align-items: center; gap: 14px; font-size: .85rem; }
.ws-mock-card .ic { width: 42px; height: 42px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.ws-mock-card strong { color: var(--ws-heading); font-weight: 500; display: block; }
.ws-mock-card:nth-child(2) { margin-left: 30px; }
.ws-mock-card:nth-child(3) { margin-left: 60px; }
@media (max-width: 767.98px) { .ws-tabs .tab-pane { padding: 28px 22px; } .ws-tabs .nav-link span { display: none; } .ws-mock-card:nth-child(n) { margin-left: 0; } }

/* ---------- Testimonials ---------- */
.ws-testi { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 30px; align-items: start; }
.ws-quote { text-align: center; }
.ws-quote-box { color: #aaa; font-size: .9rem; line-height: 1.8; padding: 26px 22px; position: relative; border-radius: 6px; margin-bottom: 26px; }
.ws-quote.is-main .ws-quote-box { background: var(--ws-dark); color: #eee; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.ws-quote.is-main .ws-quote-box::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border: 10px solid transparent; border-bottom: 0; border-top-color: var(--ws-dark); }
.ws-quote-name { color: var(--ws-heading); font-weight: 500; font-size: .95rem; }
.ws-quote:not(.is-main) .ws-quote-name { color: #999; }
.ws-quote-role { font-size: .8rem; color: #aaa; }
@media (max-width: 767.98px) { .ws-testi { grid-template-columns: 1fr; } .ws-quote:not(.is-main) { display: none; } }

/* ---------- CTA & company ---------- */
.ws-cta { text-align: center; padding: 80px 0 90px; }
.ws-cta h2 { font-size: 1.9rem; font-weight: 500; margin-bottom: 14px; }
.ws-cta p { color: var(--ws-muted); margin-bottom: 30px; }
.ws-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.ws-logo-tile { border: 1px solid var(--ws-border); border-radius: var(--ws-radius); background: #fff; padding: 22px 14px; text-align: center; transition: .25s; display: block; }
.ws-logo-tile:hover { border-color: var(--ws-primary); box-shadow: var(--ws-shadow-hover); }
.ws-logo-tile img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.ws-logo-tile .name { color: var(--ws-heading); font-weight: 500; font-size: .88rem; }
.ws-logo-tile .count { font-size: .8rem; color: var(--ws-primary); }

/* ---------- Chi tiết việc làm ---------- */
.ws-job-head { display: flex; gap: 24px; align-items: center; }
.ws-job-head img { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: var(--ws-radius); padding: 8px; border: 1px solid #ececec; flex-shrink: 0; }
.ws-job-head h1 { font-size: 1.75rem; margin: 0 0 8px; }
.ws-job-head .company { color: var(--ws-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.ws-job-head .company a { color: var(--ws-heading); font-weight: 500; }
.ws-overview { background: var(--ws-gray); border-radius: var(--ws-radius); padding: 30px; margin-bottom: 30px; }
.ws-overview h3 { font-size: 1.15rem; margin-bottom: 22px; }
.ws-overview ul { list-style: none; padding: 0; margin: 0 0 24px; }
.ws-overview li { display: flex; gap: 16px; margin-bottom: 20px; }
.ws-overview li i { color: var(--ws-primary); font-size: 1.25rem; width: 22px; }
.ws-overview li div { font-size: .85rem; color: var(--ws-muted); }
.ws-overview li strong { display: block; color: var(--ws-heading); font-weight: 500; font-size: .92rem; }
.ws-content { line-height: 1.85; font-size: .95rem; }
.ws-content h2 { font-size: 1.25rem; margin: 34px 0 14px; }
.ws-content h2:first-child { margin-top: 0; }
.ws-box { border: 1px solid var(--ws-border); border-radius: var(--ws-radius); padding: 26px; background: #fff; }

/* ---------- Thẻ chung (dashboard) ---------- */
.card { border-radius: var(--ws-radius); border: 1px solid var(--ws-border) !important; box-shadow: none !important; }
.card.border-0 { border: 1px solid var(--ws-border) !important; }
.card-header { border-bottom: 1px solid #ececec; }
.card-header:first-child { border-radius: var(--ws-radius) var(--ws-radius) 0 0; }
.table > :not(caption) > * > * { padding: .85rem .75rem; }
.table thead th, .table-light th { background: var(--ws-gray) !important; color: var(--ws-heading); font-weight: 500; border-bottom: 1px solid #ececec; }
.company-logo { width: 56px; height: 56px; object-fit: contain; border: 1px solid #ececec; border-radius: var(--ws-radius); background: #fff; padding: 4px; flex-shrink: 0; }
.company-logo-sm { width: 40px; height: 40px; }
.company-logo-lg { width: 72px; height: 72px; }
.company-logo-xl { width: 110px; height: 110px; }
.stat-card { display: block; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); padding: 22px; color: inherit; height: 100%; transition: .25s; position: relative; overflow: hidden; }
.stat-card i { font-size: 1.5rem; }
.stat-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ws-primary); transform: scaleX(0); transform-origin: left; transition: .3s; }
.stat-card:hover { box-shadow: var(--ws-shadow-hover); }
.stat-card:hover::after { transform: scaleX(1); }
.stat-num { font-size: 1.7rem; font-weight: 500; color: var(--ws-heading); line-height: 1.25; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: #f2f2f2; color: #555; border-radius: 3px; padding: 3px 10px; font-size: .78rem; }
.chip-salary { background: var(--ws-primary-soft); color: var(--ws-primary-dark); font-weight: 500; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #e5e5e5; }
.info-list li:last-child { border-bottom: 0; }
.info-list li span { color: var(--ws-muted); }
.info-list li strong { text-align: right; font-weight: 500; color: var(--ws-heading); }
.empty-state { text-align: center; color: var(--ws-muted); background: #fff; border: 1px dashed #d5d5d5; border-radius: var(--ws-radius); padding: 50px 20px; }
.row-link { cursor: pointer; }
.cv-frame { width: 100%; height: 75vh; border: 0; border-top: 1px solid #ececec; }
.blurred-row .small.text-truncate { filter: blur(3px); user-select: none; }
.section-title { border-left: 3px solid var(--ws-primary); padding-left: 10px; }

/* Sidebar dashboard */
.ws-side { border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; background: #fff; position: sticky; top: 100px; }
.ws-side-head { background: var(--ws-dark); color: #fff; padding: 26px 22px; text-align: center; }
.ws-side-head .name { color: #fff; font-weight: 500; margin-top: 10px; }
.ws-side-head .sub { color: #aaa; font-size: .82rem; }
.ws-side-head .avatar-circle { background: rgba(255, 255, 255, .1); color: #fff; }
.ws-side-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #aaa; padding: 18px 22px 6px; }
.side-menu { padding-bottom: 10px; }
.side-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 22px; color: #555; font-size: .9rem; border-left: 3px solid transparent; }
.side-menu a i { font-size: 1.05rem; color: #999; width: 18px; }
.side-menu a:hover { background: var(--ws-gray); color: var(--ws-heading); }
.side-menu a.active { border-left-color: var(--ws-primary); background: var(--ws-primary-mint); color: var(--ws-primary-dark); font-weight: 500; }
.side-menu a.active i { color: var(--ws-primary); }
.side-menu .badge { margin-left: auto; }

/* Auth */
.ws-auth { max-width: 520px; margin: 0 auto; }
.ws-auth .card { border: 1px solid var(--ws-border) !important; }
.auth-switch { display: flex; border-bottom: 1px solid var(--ws-border); margin-bottom: 0; background: var(--ws-gray); border-radius: var(--ws-radius) var(--ws-radius) 0 0; border: 1px solid var(--ws-border); border-bottom: 0; }
.auth-switch a { flex: 1; text-align: center; padding: 16px 10px; color: #777; font-weight: 500; border-bottom: 2px solid transparent; }
.auth-switch a.active { background: #fff; color: var(--ws-heading); border-bottom-color: var(--ws-primary); }
.auth-switch + .card { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }

/* Pricing */
.pricing-card { position: relative; overflow: hidden; text-align: center; transition: .3s; }
.pricing-card:hover { box-shadow: var(--ws-shadow-hover) !important; transform: translateY(-4px); }
.pricing-card .card-body { padding: 0 0 10px; }
.pricing-card h2 { background: var(--ws-gray); margin: 0; padding: 26px 20px 8px; font-size: 1.2rem !important; }
.pricing-card .price { background: var(--ws-gray); font-size: 2rem; font-weight: 500; color: var(--ws-heading); padding: 0 20px 22px; border-bottom: 1px solid #ececec; }
.pricing-card .card-body > .small.text-muted { padding-top: 14px; }
.pricing-card ul { text-align: left; padding: 6px 28px 0 !important; }
.pricing-card ul li { padding: 7px 0; border-bottom: 1px solid #f2f2f2; }
.pricing-popular { border-color: var(--ws-primary) !important; }
.pricing-popular h2, .pricing-popular .price { background: var(--ws-primary); color: #fff !important; }
.pricing-popular .price { border-bottom-color: var(--ws-primary); }
.ribbon { position: absolute; top: 14px; right: -34px; background: #f5c518; color: var(--ws-heading); font-size: .72rem; font-weight: 600; padding: 4px 40px; transform: rotate(45deg); z-index: 2; }

/* Company page */
.company-cover { height: 0; }
.company-head { margin-top: 0; }
.company-tile:hover { box-shadow: var(--ws-shadow-hover) !important; }

/* ---------- Footer ---------- */
.ws-footer { background: var(--ws-dark); color: #a9b4cc; font-size: .9rem; margin-top: 0; }
.ws-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 0; border-bottom: 1px solid #1d3461; }
.ws-footer-stats { display: flex; }
.ws-fstat { display: flex; align-items: center; gap: 14px; padding: 0 30px; border-left: 1px solid #1d3461; }
.ws-fstat i { width: 46px; height: 46px; border-radius: 4px; background: #15305e; color: #ddd; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ws-fstat strong { display: block; color: #fff; font-weight: 500; font-size: 1.1rem; line-height: 1.2; }
.ws-fstat span { font-size: .82rem; }
.ws-footer-links { padding: 46px 0 30px; }
.ws-footer h6 { color: #fff; font-weight: 500; font-size: 1rem; margin-bottom: 18px; }
.ws-footer ul { list-style: none; padding: 0; margin: 0; }
.ws-footer li { margin-bottom: 10px; }
.ws-footer a { color: #a9b4cc; }
.ws-footer a:hover { color: #fff; }
.ws-footer .btn-ws { color: #fff; }
.ws-copyright { border-top: 1px solid #1d3461; padding: 24px 0; text-align: center; font-size: .84rem; }
@media (max-width: 575.98px) { .ws-fstat { padding: 0 14px; } .ws-fstat:first-child { border-left: 0; padding-left: 0; } }
.ws-backtop { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 4px; background: var(--ws-primary); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 1020; }
.ws-backtop.show { opacity: 1; visibility: visible; }
.ws-backtop:hover { color: #fff; background: var(--ws-primary-dark); }

/* ---------- Admin ---------- */
.admin-body { background: #f4f5f7; }
.admin-sidebar { width: 240px; min-height: 100vh; background: var(--ws-dark); position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; }
@media (max-width: 991.98px) { .admin-sidebar:not(.d-none) { display: flex !important; position: fixed; z-index: 1040; } }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; padding: 20px; font-size: 1.15rem; border-bottom: 1px solid #1d3461; }
.admin-brand:hover { color: #fff; }
.admin-sidebar .nav-link { display: flex; align-items: center; gap: 10px; color: #a9b4cc; padding: 11px 20px; border-left: 3px solid transparent; font-size: .9rem; }
.admin-sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.admin-sidebar .nav-link.active { color: #fff; background: rgba(61, 102, 246, .15); border-left-color: var(--ws-primary); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: var(--ws-primary); color: #fff; font-weight: 700; }
.brand-mark-lg { width: 52px; height: 52px; font-size: 24px; }
.mini-chart { display: flex; gap: 12px; align-items: flex-end; }
.mini-col { flex: 1; text-align: center; }
.mini-bars { height: 140px; display: flex; gap: 4px; align-items: flex-end; justify-content: center; border-bottom: 1px solid #e5e5e5; }
.mini-bars .bar { width: 40%; max-width: 26px; border-radius: 3px 3px 0 0; min-height: 2px; }
.bar-rev, .legend-rev { background: var(--ws-primary); }
.bar-apps, .legend-apps { background: #91a9ff; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: middle; }
.ws-footer .ws-logo { border-right: 0 !important; }

/* Logo thương hiệu (SVG) */
.ws-logo img.ws-logo-img { height: 38px; width: auto; display: block; }
.ws-footer .ws-logo img.ws-logo-img { height: 36px; }
@media (max-width: 991.98px) { .ws-logo img.ws-logo-img { height: 32px; } }
.ws-tag-1 { background: #0e8ad4; }
.rich-text p { margin-bottom: .75rem; } .rich-text ul, .rich-text ol { padding-left: 1.3rem; margin-bottom: .9rem; } .rich-text li { margin-bottom: .25rem; } .rich-text h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; } .rich-text h4 { font-size: 1rem; margin: .9rem 0 .4rem; } .rich-text table { width: 100%; margin-bottom: 1rem; } .rich-text td, .rich-text th { border: 1px solid var(--ws-border); padding: 6px 10px; } .rich-text > :last-child { margin-bottom: 0; } .tox-tinymce { border-radius: var(--ws-radius) !important; border-color: #e3e3e3 !important; }
