/* ========== DARK MODE FOR JOB EDITOR (wp_editor) ========== */
.mnp-editor-wrap .wp-editor-container, .mnp-editor-wrap .wp-editor-area, .mce-tinymce, .mce-container, .mce-panel, .mce-edit-area, .mce-content-body {
  background: #232e3b !important;
  color: #e5e7eb !important;
  border-radius: 8px;
  border: 1px solid #374151 !important;
}
.mnp-editor-wrap .wp-editor-area, .mce-content-body {
  min-height: 180px;
  font-size: 16px;
  color: #e5e7eb !important;
  background: #232e3b !important;
}
.mce-content-body p, .mce-content-body ul, .mce-content-body ol, .mce-content-body li {
  color: #e5e7eb !important;
}
.mce-toolbar, .mce-menubar, .mce-btn-group, .mce-btn, .mce-btn button {
  background: #232e3b !important;
  color: #e5e7eb !important;
  border: none !important;
}
.mce-btn:hover, .mce-btn:focus, .mce-btn button:hover, .mce-btn button:focus {
  background: #374151 !important;
  color: #fff !important;
}
.mce-statusbar {
  background: #232e3b !important;
  color: #9ca3af !important;
  border-top: 1px solid #374151 !important;
}
/* ======= SLIDER LƯƠNG (noUiSlider) ĐỒNG BỘ CANDIDATES ======= */
#salary-slider.noUi-target {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #e5e7eb !important; /* xám nhạt */
  box-shadow: none;
  border: none;
  margin-bottom: 8px;
}
#salary-slider .noUi-connect {
  background: #4ade80 !important; /* xanh lá nhạt */
  border-radius: 6px;
  box-shadow: none;
}
#salary-slider .noUi-handle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #4ade80 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  top: -7px;
  transition: box-shadow 0.2s;
}
#salary-slider .noUi-handle:after, #salary-slider .noUi-handle:before {
  display: none;
}
#salary-slider .noUi-handle:hover {
  box-shadow: 0 4px 12px rgba(76,222,128,0.25);
}
#salary-slider .noUi-tooltip {
  display: none;
}
/* Đồng bộ thanh lương trong form tạo/sửa job với filter ngoài */
#salary-slider.noUi-target {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #6b7280 !important; /* xám đậm giống filter ngoài */
  box-shadow: none;
  border: none;
  margin-bottom: 8px;
}
#salary-slider .noUi-connect {
  background: #77f2a1 !important; /* xanh lá nhạt */
  border-radius: 6px;
  box-shadow: none;
}
#salary-slider .noUi-handle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #77f2a1 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  top: -7px;
}
#salary-slider .noUi-handle:after, #salary-slider .noUi-handle:before {
  display: none;
}
#salary-slider .noUi-tooltip {
  display: none;
}
/* ==========================================================================
   VERSA CAREER – STYLE SHEET
   - View (web): sidebar + 2 cột, giống VietnamWorks.
   - View (mobile ≤768px): 1 cột.
   - Edit (web & mobile): luôn 1 cột.
   - Giữ các lớp cũ để tương thích các phần khác trong site của bạn.
   ========================================================================== */


/*
Theme Name: Astra Child
Template: astra
*/

/* Bộ Màu cho Website */
.Mau_Chinh {
  color: #1F2B37;
}
.Mau_Phu {
  color: #4F76F6;
}
.Mau_Nen {
  color: #F9F9F9;
}
.Mau_Nhan {
  color: #77F2A1;
}

/* 0. Reset nhỏ cho trang CV ------------------------------------------------ */
.versa-cv-container{max-width:900px;margin:30px auto;background:#fff;padding:25px;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);font-family:Arial,Helvetica,sans-serif;}
.cv-title{font-size:28px;font-weight:700;margin:0 0 18px;border-bottom:3px solid #f36f21;padding-bottom:10px;color:#333;}
.cv-section{background:#fff;border:1px solid #eee;border-radius:10px;padding:16px 18px;margin-bottom:18px;box-shadow:0 2px 6px rgba(0,0,0,.05);}
.cv-section h3{font-size:18px;margin:0 0 12px;color:#1f2937}

/* 1. Wrapper chính --------------------------------------------------------- */
.career-wrapper{display:flex;gap:24px;max-width:1200px;margin:28px auto;padding:0 16px;box-sizing:border-box;}
.career-wrapper.is-edit{} /* only a marker */

/* 2. Sidebar --------------------------------------------------------------- */
.career-sidebar{flex:0 0 280px;max-width:280px}
.sidebar-card{background:#fff;border:1px solid #eee;border-radius:10px;padding:20px;text-align:center;box-shadow:0 3px 10px rgba(0,0,0,.06)}
.avatar-wrap img{border-radius:50%}
.sidebar-name{margin-top:8px;font-size:18px;font-weight:600;color:#111827}
.progress{width:100%;height:8px;background:#eee;border-radius:10px;margin:12px 0;overflow:hidden}
.progress-bar{height:8px;background:#ff6600;border-radius:10px}
.progress-label{font-size:13px;color:#6b7280}

/* 3. Main ------------------------------------------------------------------ */
.career-main{flex:1}
.cv-grid{display:grid;gap:20px}
.view-two-columns{grid-template-columns:1fr 2fr}  /* View desktop = 2 cột */
.edit-one-column{grid-template-columns:1fr}      /* Edit luôn 1 cột */

/* 4. Card Kinh nghiệm ------------------------------------------------------ */
.experience-card{background:#fafafa;border:1px solid #eee;border-left:4px solid #f97316;border-radius:8px;padding:12px 14px;margin-bottom:12px}
.experience-card p{margin:4px 0}

/* 5. Dòng label + value ---------------------------------------------------- */
.cv-row{display:flex;gap:8px;align-items:flex-start;margin:6px 0;line-height:1.55}
.cv-label{min-width:170px;color:#111827;font-weight:600}
.cv-value{color:#374151}
.cv-skill-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.cv-skill-list li{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-size:13px;color:#111827}

/* 6. Buttons --------------------------------------------------------------- */
.career-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}
.btn-edit-profile,.btn-save,.btn-cancel,.btn-download{display:inline-block;border-radius:8px;text-decoration:none;padding:10px 16px;font-weight:600;transition:all .2s ease}
.btn-edit-profile,.btn-save{background:#2563eb;color:#fff;border:1px solid #1d4ed8}
.btn-edit-profile:hover,.btn-save:hover{filter:brightness(.95)}
.btn-cancel{background:#e5e7eb;color:#111827;border:1px solid #d1d5db}
.btn-cancel:hover{background:#dfe3e6}
.btn-download{background:#10b981;color:#fff;border:1px solid #059669}
.btn-download:hover{filter:brightness(.95)}
.btn-download.admin{background:#f59e0b;border-color:#d97706}
.btn-download.admin:hover{filter:brightness(.95)}

/* 7. CV – khối dành riêng cho Admin --------------------------------------- */
.cv-admin-block{margin-top:10px;padding-top:10px;border-top:1px dashed #e5e7eb}
.cv-admin-block .help{font-size:12px;color:#6b7280;margin-top:6px}

/* 8. ACF – field states ---------------------------------------------------- */
.acf-field {
  margin-bottom: 6px;
}
.acf-field .acf-label label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}
.acf-input input[type="text"],
.acf-input input[type="email"],
.acf-input input[type="tel"],
.acf-input input[type="number"],
.acf-input select,
.acf-input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  font-size: 14px;
  color: #111827;
  background: #fff;
}
.acf-input textarea {
  min-height: 120px;
  resize: vertical;
}
.acf-input input:focus,
.acf-input select:focus,
.acf-input textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* --- Chỉ áp dụng khi ở edit mode để tránh khoảng trắng quá nhiều --- */
.is-edit .acf-field {
  margin-bottom: 6px !important;
  padding: 0 !important;
}
.is-edit .acf-label {
  margin-bottom: 4px !important;
}
.is-edit .acf-input input,
.is-edit .acf-input textarea,
.is-edit .acf-input select {
  padding: 6px 10px !important;
  font-size: 14px;
}

/* Ẩn nút submit mặc định của ACF để tránh bị 2 nút */
.acf-form .acf-submit,
.acf-form .acf-form-submit {
  display: none !important;
}


/* 9. Layout phụ – tương thích lớp cũ của bạn ------------------------------- */
.versa-cv-wrapper{display:flex;gap:25px;max-width:1280px;margin:30px auto;padding:20px}
.cv-sidebar{flex:1;max-width:280px}
.cv-main{flex:3}
.cv-left .cv-section,.cv-right .cv-section{background:#fff;padding:15px;margin-bottom:15px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.08)}
/* nút cũ (giữ tương thích) */
.btn-edit,.btn-download{display:inline-block;padding:10px 18px;background:#0073e6;color:#fff;border-radius:6px;text-decoration:none;margin-top:10px}
.btn-edit:hover,.btn-download:hover{background:#005bb5}

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1024px){
  .cv-label{min-width:150px}
}
@media (max-width: 900px){
  .career-wrapper{gap:18px}
}
@media (max-width: 768px){
  /* Mobile: toàn bộ về 1 cột */
  .career-wrapper{flex-direction:column}
  .career-sidebar{max-width:100%}
  .view-two-columns{grid-template-columns:1fr}     /* View -> 1 cột */
  .edit-one-column{grid-template-columns:1fr}      /* Edit -> 1 cột (đã là 1 cột) */
  .progress{max-width:420px;margin-left:auto;margin-right:auto}
  .cv-label{min-width:130px}
  .career-actions{justify-content:flex-start}
}
@media (max-width: 480px){
  .cv-title{font-size:22px}
  .sidebar-name{font-size:16px}
  .cv-label{min-width:120px}
  .btn-edit-profile,.btn-save,.btn-cancel{width:auto}
}

/* 11. Nhãn “box” kiểu VietnamWorks ---------------------------------------- */
.cv-section h3{
  position:relative;
  padding-left:14px;
}
.cv-section h3:before{
  content:'';
  /* Đăng ký: icon mắt hiện/ẩn mật khẩu */
  .toggle-eye {
  position:absolute;
  left:0;
  top:2px;
  width:4px;
  height:18px;
  background:#f97316;
  border-radius:2px;
}

/* 12. Trạng thái tải file -------------------------------------------------- */
  .toggle-eye.shown span {
.acf-input .file-wrap,
.acf-input .image-wrap{border:1px dashed #d1d5db;padding:10px;border-radius:8px}
  .dashicons-visibility:before {

/* 13. Một số tiện ích ------------------------------------------------------ */
.text-muted{color:#6b7280}
.text-danger{color:#dc2626}
  .versa-pass-toggle input[type="password"],
  .versa-pass-toggle input[type="text"] {
.text-success{color:#16a34a}

/* 14. Chống “ô xanh lạ” (nút submit thừa/empty button) -------------------- */
button.acf-button, .acf-button.button{border:none;background:transparent;padding:0}
.acf-actions input[type="submit"]{display:none}

  select#user_type, input#phone, input#user_pass, input#confirm_pass {
/* 15. Candidates List ------------------------------------------------------ */
.candidate-list {
  max-width: 100%;
  margin: 30px auto;
  padding: 0 15px;
}
.candidate-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.candidate-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.candidate-avatar {
  flex: 0 0 64px;
  height: 64px;
  width: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
}
.candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.candidate-info {flex: 1;}
.candidate-info h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: #111827;
  font-weight: 600;
}
.candidate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
  color: #374151;
}
.candidate-meta strong {
  font-weight: 600;
  color: #111827;
}
.candidate-actions {margin-left: auto;}
.candidate-actions a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  background: #2563eb;
  color: #fff;
  transition: background 0.25s;
}
.candidate-actions a:hover {background: #1e40af;}

/* Bộ lọc */

.candidate-filter select,
.candidate-filter input {
  flex: 1 1 200px;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
.candidate-filter button {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}
.candidate-filter button:hover {background: #059669;}

/* Responsive Candidates */
@media (max-width: 640px) {
  .candidate-card {flex-direction: column;align-items: flex-start;}
  .candidate-avatar {margin-right: 0;margin-bottom: 10px;}
  .candidate-actions {margin-left: 0;margin-top: 10px;width: 100%;}
  .candidate-actions a {display: block;width: 100%;text-align: center;}
}

.versa-form {
  max-width: 400px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.versa-form .form-group {
  margin-bottom: 15px;
}
.versa-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}
.versa-form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  font-size: 14px;
}
.versa-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.completed-courses {
  margin: 5px 0 15px;
  padding-left: 20px;
  list-style-type: disc;
}
.completed-courses li {
  margin-bottom: 5px;
}
.completed-courses a {
  color: #0073aa;
  text-decoration: none;
}
.completed-courses a:hover {
  text-decoration: underline;
}

.profile-avatar-wrap {
  text-align: center;
  margin-bottom: 15px;
}
.profile-avatar {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
/* Giữ avatar tròn và làm mờ/pixel che mặt */
/* Base avatar wrapper: đảm bảo tròn, object-fit */
/* Khung avatar */
.avatar-wrap {
  width: 120px;              /* khung avatar */
  height: 120px;
  border-radius: 50%;        /* bo tròn */
  overflow: hidden;
  display: flex;
  justify-content: center;   /* căn giữa ngang */
  align-items: center;       /* căn giữa dọc */
  background: #f5f5f5;
  margin: 0 auto;            /* căn giữa container */
}

.avatar-wrap img,
.avatar-wrap .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* không méo ảnh, crop vừa khung */
  border-radius: 50%;        /* giữ tròn */
  display: block;
}

/* Khi cần làm mờ (HR1 hoặc ứng viên khác) */
.avatar-wrap.avatar-blurred img,
.avatar-wrap.avatar-blurred .avatar-img {
  filter: blur(6px) grayscale(40%);
  opacity: 0.7;
}



.candidate-avatar {
  flex: 0 0 64px;
  height: 64px;
  width: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* không bị méo */
  border-radius: 50%;  /* giữ hình tròn */
  display: block;
}

.candidate-avatar.avatar-blurred img {
  filter: blur(6px) grayscale(40%);
  opacity: 0.7;
}


.candidate-filter .filter-search {
  grid-column: 1 / -1;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.candidate-filter select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.filter-salary {
  grid-column: 1 / -1;
}
.salary-values {
  font-size: 14px;
  margin-top: 6px;
}

.candidates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Candidate item wrapper */
.candidate-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #fff;
}

.candidate-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Avatar */
.candidate-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}
.candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.candidate-avatar.avatar-blurred img {
  filter: blur(6px) grayscale(50%);
  opacity: 0.7;
}

/* Body */
.candidate-body {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  align-items: left;
}
.candidate-position {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #222;
}
.candidate-skill,
.candidate-language,
.candidate-courses {
  margin: 4px 0;
  font-size: 13px;
  color: #555;
}
.candidate-skill i,
.candidate-courses i {
  margin-right: 4px;
  color: #0073aa;
}

/* Meta info */
.candidate-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #444;
}
.candidate-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Action */
.candidate-action {
  align-self: center;
}
.candidate-action .btn-detail {
  background: #0073aa;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}
.candidate-action .btn-detail:hover {
  background: #005177;
}
/* Mobile */
@media (max-width: 768px) {
  .candidate-item {
    flex-direction: column;
    text-align: center; /* thẻ cha vẫn căn giữa */
  }
  .candidate-avatar {
    margin: 0 0 10px 0;
  }
  .candidate-body {
    width: 100%;
    text-align: left;   /* thông tin ứng viên căn trái */
    padding: 0 10px;    /* thêm khoảng cách hai bên */
  }
  .candidate-action {
    margin: 10px 0 0 0;
  }
}

/* ==== Bộ lọc ứng viên ==== */


/* Ô tìm kiếm full width */
.candidate-filter .filter-search {
  grid-column: 1 / -1;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Dropdown và input */
.candidate-filter select,
.candidate-filter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

/* Thanh lương full width */
.filter-salary {
  grid-column: 1 / -1;
}
.salary-values {
  font-size: 14px;
  margin-top: 6px;
  font-weight: 600;
  color: #0073aa;
}

/* Nút tìm kiếm và reset */
.filter-buttons {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
}
.filter-buttons button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.filter-buttons .btn-search {
  background: #007bff;
  color: #fff;
}
.filter-buttons .btn-reset {
  background: #f5f5f5;
  color: #333;
}

/* Mobile xuống 1 cột */
@media (max-width: 768px) {
  
}




/* === Candidate filter (CONSOLIDATED) === */
.candidate-filter {
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 18px;
  align-items: start;
  box-sizing: border-box;
}

.candidate-filter .filter-row.full {
  grid-column: 1 / -1;
  width: 100%;
}

.candidate-filter .filter-row.full .filter-input,
.candidate-filter .filter-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
}

.candidate-filter .filter-row.grid-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 14px;
  align-items: center;
}


.candidate-filter .filter-row.grid-3 .filter-group { display: block; }
.candidate-filter .filter-row.grid-3 .filter-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  align-items: center;
  margin-bottom: 6px;
  color: #111827;
}

.candidate-filter .filter-row.full #salary-slider { 
  width: 100%;
  margin-bottom: 8px;
}
.candidate-filter .filter-row.full p {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: #374151;
}
.candidate-filter .filter-row.full .salary-values,
.candidate-filter .filter-row.full #salary-min,
.candidate-filter .filter-row.full #salary-max {
  font-weight: 600;
  color: #007bff;
}

.candidate-filter .filter-row.full.buttons {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.candidate-filter .filter-row.full.buttons .btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.candidate-filter .filter-row.full.buttons .btn-search {
  background: #10b981;
  color: #fff;
  border: none;
}
.candidate-filter .filter-row.full.buttons .btn-reset {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .candidate-filter {
    grid-template-columns: 1fr;
  }
  .candidate-filter .filter-row.grid-3 {
    grid-template-columns: 1fr;
  }
  .candidate-filter .filter-row.full.buttons {
    justify-content: flex-start;
  }
}



/* ==== Fix Select2 UI cho bộ lọc ==== */


/* Select2 multiple đẹp như input */
/* Giao diện Select2 multiple như input */
.select2-container .select2-selection--multiple {
  border-radius: 6px !important;
  min-height: 42px;
  display: flex;
  align-items: center;   /* căn chữ giữa theo chiều dọc */
  padding: 4px 6px;
  box-shadow: none !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.select2-container .select2-search__field {
  margin: 0 !important;
  padding: 6px !important;
  min-height: 28px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #f3f4f6;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
}





/* Placeholder Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  color: #9ca3af; /* xám giống placeholder input */
  font-style: italic;
}


/* ============ VersA ACF Form ============ */
.versa-modal .acf-form {
  padding: 20px;
}
.versa-modal .acf-field {
  margin-bottom: 15px;
}
.versa-modal .acf-label label {
  font-weight: 600;
  margin-bottom: 5px;
}
.versa-modal .acf-input input,
.versa-modal .acf-input textarea,
.versa-modal .acf-input select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
}
.versa-modal .acf-button,
.versa-modal .acf-form-submit input[type=submit] {
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}
.versa-modal .acf-button:hover,
.versa-modal .acf-form-submit input[type=submit]:hover {
  background: #0056b3;
}
.versa-modal .acf-repeater .acf-row {
  border: 1px solid #eee;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.career-wrapper {
  display: flex;
  gap: 20px;
}
.career-sidebar {
  width: 250px;
}
.career-main {
  flex: 1;
}
.cv-section {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.icon-edit {
  cursor: pointer;
  margin-left: 8px;
  color: #007bff;
}
.icon-edit:hover {
  color: #0056b3;
}
.profile-progress .progress-bar {
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  height: 8px;
  margin: 10px 0;
}
.profile-progress .progress-fill {
  background: #007bff;
  height: 8px;
}
.versa-modal {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}
.versa-modal.hidden { display:none; }
.versa-modal-content {
  background:#fff;
  padding:20px;
  border-radius:10px;
  max-width:600px;
  width:90%;
}
