#employer_filters {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

#employer_filters select {
   flex: 1;
   min-width: 15em;
}

/* Show heart like button */
[data-action="toggle-like-candidate"] {
	display: inline-block !important;
}

.heart-icon svg { 
    color: #999; 
    transition: color .15s ease-in-out; 
}

.heart-icon:hover svg { 
    color: #e74c3c; 
    background: transparent; 
}

.heart-icon.is-liked svg { 
    color: #e74c3c; 
}

.like-candidate-button { 
    background: transparent; 
    border: 0; 
    cursor: pointer; 
    padding: 4px; 
}

.high-match-leads-wrap .high-match-actions-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.high-match-leads-wrap .high-match-table th.high-match-col-actions,
.high-match-leads-wrap .high-match-table td.high-match-col-actions {
	text-align: center;
	vertical-align: top;
}
.high-match-leads-wrap .high-match-actions-cell .like-candidate-button,
.high-match-leads-wrap .high-match-actions-cell .hml-message-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	padding: 0;
	line-height: 1;
	box-sizing: border-box;
	flex-shrink: 0;
}
.high-match-leads-wrap .high-match-actions-cell .like-candidate-button .heart-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	line-height: 1;
}
.high-match-leads-wrap .high-match-actions-cell .like-candidate-button .heart-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}
.high-match-leads-wrap .high-match-actions-cell .hml-message-btn .dashicons {
	display: block;
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
}
.high-match-leads-wrap .high-match-actions-cell .hml-message-btn .dashicons::before {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}
.high-match-leads-wrap .like-candidate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.high-match-leads-wrap .like-candidate-button .heart-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.high-match-leads-wrap .hml-message-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	padding: 4px;
	cursor: pointer;
	color: #6b7280;
	transition: color 0.2s ease;
}
.high-match-leads-wrap .hml-message-btn:hover {
	color: #E60D64;
}
.high-match-leads-wrap .hml-message-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}
.hml-direct-message-modal__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.hml-direct-message-modal__sender {
	margin: 0 0 4px;
	font-size: 0.9375rem;
	color: #374151;
}
.hml-direct-message-modal__sender-label {
	font-weight: 600;
	margin-inline-end: 6px;
}
.hml-direct-message-modal__sender-name {
	font-weight: 500;
	color: #111827;
}
.hml-direct-message-modal__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
}
.hml-direct-message-modal__input,
.hml-direct-message-modal__textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 0.9375rem;
	font-family: inherit;
	color: #111827;
	background: #fff;
}
.hml-direct-message-modal__input:focus,
.hml-direct-message-modal__textarea:focus {
	outline: none;
	border-color: #E60D64;
	box-shadow: 0 0 0 2px rgba(230, 13, 100, 0.15);
}
.hml-direct-message-modal__textarea {
	min-height: 140px;
	resize: vertical;
}
body.hml-direct-message-modal-open {
	overflow: hidden;
}

button:hover:not(.hml-private-modal__btn):not(.mjob-btn),
html input[type="button"]:hover:not(.hml-private-modal__btn):not(.mjob-btn),
button:focus:not(.hml-private-modal__btn):not(.mjob-btn),
html input[type="button"]:focus:not(.hml-private-modal__btn):not(.mjob-btn) {
	background: transparent !important;
}

.jm-dashboard-job-column.phone {
	white-space: nowrap !important;
	direction: ltr !important;
}

.jm-dashboard-job-column.email {
	white-space: nowrap !important;
}

.jm-dashboard-job-column.user_checkbox {
	max-width: 15px;
}

.jm-dashboard-job-column.name {
	max-width: 10%;
}

.jm-dashboard-job-column.CV_submission {
	max-width: 80px;
}

.jm-dashboard-job-column.like {
	max-width: 25px;
}

.jm-dashboard-job-column.match_precentage {
	max-width: 45px;
}

.jm-dashboard-job-column.phone {
	max-width: 150px;
}

.jm-dashboard-job-column.status {
	max-width: 55px;
}

.jm-dashboard-job-column.community {
	max-width: 10%;
}

.search-row {
	display: flex;
	gap: 10px;
	align-items: center;
}

.search-row input[type="search"] {
	flex: 1;
}

.search-submit-btn {
	white-space: nowrap;
	cursor: pointer;
}

.jm-dashboard__intro {
	margin-bottom: 30px;
}

.jm-dashboard__add-job {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.jm-dashboard__add-job .jm-ui-button {
	display: inline-block !important;
	width: auto !important;
	background-color: #E60D64 !important;
	border-color: #E60D64 !important;
}

.jm-dashboard__add-job .jm-ui-button,
.jm-dashboard__add-job .jm-ui-button span {
	color: #fff !important;
}

@media (max-width: 768px) {
	#employer_filters {
		display: grid;
		width: 70%;
	}
}

/* =============================================
   Manual Job Offer Modal
   ============================================= */

.mjob-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.mjob-modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 750px;
    width: 92%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    animation: mjobSlideIn 0.25s ease;
}

@keyframes mjobSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes mjobFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

.mjob-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mjob-modal-header h2 {
    margin: 0;
    color: #111928;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.mjob-modal-close {
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    padding: 0;
}

.mjob-modal-close:hover {
    background: #f3f4f6 !important;
}

.mjob-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

.mjob-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mjob-modal-footer-actions {
    display: flex;
    gap: 10px;
}

/* Job-by-position modal: grouped sections */
.mjob-section {
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f4;
}
.mjob-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.mjob-section-title {
    font-size: 14px;
    font-weight: 800;
    color: #2e3b8f;
    margin: 0 0 4px;
}
.mjob-section-sub {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0 0 16px;
}

/* Auto-fill note (תחום, מולא אוטומטית מהתפקיד) */
.mjob-auto-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #1a8a4a;
    margin: 6px 0 0;
}

/* Work arrangement radio group */
.mjob-radio-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
}
.mjob-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
}
.mjob-radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #E60D64;
    cursor: pointer;
}

/* "No experience required" note */
.jbp-no-exp-note {
    margin: 8px 0 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #111928;
}

/* Live "add manually" suggestion inside the position dropdown */
.mjob-dropdown-item.jbp-add-manual {
    color: #2e3b8f;
    font-weight: 700;
    border-top: 1px solid #e5e7eb;
}

/* Role-change confirmation dialog */
.jbp-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 30, 0.45);
    z-index: 100001;
    align-items: center;
    justify-content: center;
    direction: rtl;
}
.jbp-confirm-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px;
    width: 420px;
    max-width: 90vw;
}
.jbp-confirm-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 10px;
}
.jbp-confirm-body {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 22px;
}
.jbp-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form elements */
.mjob-form-group {
    margin-bottom: 14px;
}

.mjob-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #111928;
    font-size: 13px;
    font-weight: 500;
}

.mjob-required {
    color: #e74c3c;
}

.mjob-form-input,
.mjob-form-select,
.mjob-form-textarea {
    display: block;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    background: #f9fafb;
    color: #111928;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.mjob-form-input:focus,
.mjob-form-select:focus,
.mjob-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
}

.mjob-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.mjob-form-row {
    display: flex;
    gap: 12px;
}

.mjob-form-row .mjob-form-group {
    flex: 1;
}

.mjob-form-row-location {
    align-items: flex-end;
}

.mjob-location-field {
    flex: 1;
}

.mjob-workmode-field {
    flex: 0 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 4px;
}

.mjob-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4B5563;
    cursor: pointer;
    white-space: nowrap;
}

.mjob-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563EB;
    cursor: pointer;
}

.mjob-form-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

/* ---- Experience requirement (דרישות ניסיון) ---- */
.jbp-exp-section .jbp-exp-title {
    font-size: 14px;
    font-weight: 600;
    color: #111928;
}

.jbp-exp-subfield {
    margin-top: 10px;
}

.jbp-exp-sublabel {
    display: block;
    margin-bottom: 6px;
    color: #111928;
    font-size: 13px;
    font-weight: 500;
}

.jbp-exp-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jbp-exp-years {
    flex: 0 0 120px;
    max-width: 120px;
}

.jbp-exp-type {
    flex: 1;
}

@media (max-width: 600px) {
    .jbp-exp-row {
        flex-direction: column;
        align-items: stretch;
    }
    .jbp-exp-years {
        flex: 1 1 auto;
        max-width: none;
    }
}

/* Override Select2 default height (28px) for the job modal single-selects */
#jbp-modal .select2-container--default .select2-selection--single {
    height: 38px;
}
#jbp-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px;
}

.mjob-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400 !important;
}

.mjob-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #E60D64;
}

/* Field error */
.mjob-field-error {
    border-color: #e74c3c !important;
    background: #fef2f2 !important;
}

.mjob-error-msg {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}

/* Buttons */
.mjob-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mjob-btn-icon {
    font-size: 1em;
    line-height: 1;
}

.mjob-btn-cancel {
    background: #fff;
    color: #dc2626;
    border-color: #dc2626;
}

.mjob-btn-cancel:hover {
    background: #fef2f2 !important;
    border-color: #b91c1c !important;
    color: #b91c1c;
}

.mjob-btn-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mjob-btn-draft {
    background: #fff;
    color: #2563eb;
    border-color: #2563eb;
}

.mjob-btn-draft:hover {
    background: #eff6ff !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8;
}

.mjob-btn-draft:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mjob-btn-primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.mjob-btn-primary:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff;
}

.mjob-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mjob-btn-secondary {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.mjob-btn-danger {
    background: #fff;
    color: #dc2626;
    border-color: #fca5a5;
}

.mjob-btn-danger:hover {
    background: #fef2f2 !important;
    border-color: #dc2626 !important;
    color: #b91c1c;
}

.mjob-btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mjob-btn-secondary:hover {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

/* Chips / autocomplete */
.mjob-chips-section {
    position: relative;
}

.mjob-selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.mjob-selected-chips:empty {
    margin-bottom: 0;
}

.mjob-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 13px;
    color: #1e40af;
    animation: mjobChipIn 0.2s ease;
}

@keyframes mjobChipIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.mjob-chip-text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mjob-chip-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #93c5fd;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

.mjob-chip-remove:hover {
    color: #1e40af;
    background: transparent !important;
}

.mjob-search-wrapper {
    position: relative;
}

.mjob-search-wrapper .mjob-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
}

.mjob-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.mjob-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: background 0.15s;
}

.mjob-dropdown-item:hover {
    background: #eff6ff;
    color: #1e40af;
}

.mjob-dropdown-loader,
.mjob-dropdown-empty {
    padding: 10px 12px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.mjob-load-more {
    display: block;
    width: 100%;
    padding: 8px;
    text-align: center;
    border: none;
    background: #f9fafb;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    border-top: 1px solid #e5e7eb;
}

.mjob-load-more:hover {
    background: #f3f4f6 !important;
    color: #374151;
}

/* Loading overlay */
.mjob-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 14px;
    gap: 12px;
    flex: 1;
}

.mjob-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #E60D64;
    border-radius: 50%;
    animation: mjobSpin 0.8s linear infinite;
}

@keyframes mjobSpin {
    to { transform: rotate(360deg); }
}

/* Selected position chip (job by position modal) */
.jbp-selected-position .jbp-position-chip,
#jbp-selected-areas .jbp-position-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #065f46;
    margin-bottom: 8px;
    animation: mjobChipIn 0.2s ease;
}

/* Job offers table row actions */
.job-offers-table .job-offers-actions {
	white-space: nowrap;
	overflow: visible;
	position: relative;
}
.job-offers-table .job-offers-actions-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	overflow: visible;
}
.job-offers-table .job-offers-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.job-offers-table .job-offers-action-btn .dashicons {
	display: block;
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	transition: color 0.15s ease;
}
.job-offers-table .job-dashboard-action-edit .dashicons {
	color: #2196f3;
}
.job-offers-table .job-dashboard-action-expire .dashicons {
	color: #dc2626;
}
.job-offers-table .job-dashboard-action-edit:hover {
	background: #eff6ff;
	text-decoration: none;
}
.job-offers-table .job-dashboard-action-edit:hover .dashicons {
	color: #1976d2;
}
.job-offers-table .job-dashboard-action-expire:hover {
	background: #fef2f2;
}
.job-offers-table .job-dashboard-action-expire:hover .dashicons {
	color: #b91c1c;
}
.job-offers-table .job-dashboard-action-pending {
	position: relative;
	cursor: default;
}
.job-offers-table .job-dashboard-action-pending .job-offers-pending-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 13px;
	font-weight: 700;
	color: #6b7280;
	border: 1.5px solid #9ca3af;
	border-radius: 50%;
	line-height: 1;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.job-offers-table .job-dashboard-action-pending:hover,
.job-offers-table .job-dashboard-action-pending:focus-visible {
	background: #f3f4f6;
	outline: none;
}
.job-offers-table .job-dashboard-action-pending:hover .job-offers-pending-icon,
.job-offers-table .job-dashboard-action-pending:focus-visible .job-offers-pending-icon {
	color: #374151;
	border-color: #6b7280;
}
.job-offers-table .job-offers-pending-tooltip {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: auto;
	z-index: 30;
	min-width: 220px;
	max-width: 280px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #111928;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: normal;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}
.job-offers-table .job-offers-pending-tooltip::after {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 10px;
	right: auto;
	transform: none;
	border: 6px solid transparent;
	border-bottom-color: #111928;
}
.job-offers-table .job-dashboard-action-pending:hover .job-offers-pending-tooltip,
.job-offers-table .job-dashboard-action-pending:focus-visible .job-offers-pending-tooltip {
	opacity: 1;
	visibility: visible;
}
.job-dashboard-action-edit {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .mjob-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .mjob-form-row {
        flex-direction: column;
    }

    /* Stacked column: stop flex-end from shrinking the location field to its
       content width — let it span the full row like the other inputs. */
    .mjob-form-row-location {
        align-items: stretch;
    }

    .mjob-workmode-field {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------------------------------------
   Location/region picker (Select2) — match the native fields.
   Used by the job modal location field and the region filter on the dashboard.
--------------------------------------------------------------------------- */
.mjob-location-field .select2-container,
#employer_filters .select2-container {
    width: 100% !important;
    display: block;
}

/* Region filter keeps the same flex sizing as the sibling native selects. */
#employer_filters .select2-container {
    flex: 1;
    min-width: 15em;
}

.mjob-location-field .select2-container--default .select2-selection--single,
#employer_filters .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #7e86aa;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.mjob-location-field .select2-container--default .select2-selection--single .select2-selection__rendered,
#employer_filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    flex: 1 1 auto;
    padding: 2px;
    color: #051143;
    font-size: 16px;
    line-height: 1.4;
    text-align: right;
}

.mjob-location-field .select2-container--default .select2-selection--single .select2-selection__arrow,
#employer_filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
}

.mjob-location-field .select2-container--default.select2-container--focus .select2-selection--single,
.mjob-location-field .select2-container--default.select2-container--open .select2-selection--single,
#employer_filters .select2-container--default.select2-container--focus .select2-selection--single,
#employer_filters .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #7e86aa;
    background: #fff;
}

/* Multi-select (location) — selected locations render as Select2 pills inside
   the box, matching the business-profile-update picker but in the job-modal
   color scheme. The inline search field is hidden until the picker opens, then
   shown as a full-width row at the top of the selection box. */
.mjob-location-field .select2-container--default .select2-selection--multiple {
    min-height: 38px;
    box-sizing: border-box;
    padding: 2px 6px;
    border: 1px solid #7e86aa;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.mjob-location-field .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
}

.mjob-location-field .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #e8f0fe;
    border: 1px solid #c5d9f7;
    border-radius: 4px;
    color: #051143;
    font-size: 14px;
    line-height: 1.4;
    margin: 3px 0 3px 4px;
}

.mjob-location-field .select2-container--default .select2-selection--multiple .select2-search--inline {
    display: none;
}

.mjob-location-field .select2-container--default.select2-container--open .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 4px;
}

.mjob-location-field .select2-container--default.select2-container--open .select2-selection--multiple .select2-selection__choice {
    flex: 0 0 auto;
    margin: 0;
}

.mjob-location-field .select2-container--default.select2-container--open .select2-selection--multiple .select2-search--inline {
    display: block;
    order: -1;
    flex: 0 0 100%;
    margin: 0 0 6px;
}

.mjob-location-field .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    width: 100% !important;
    box-sizing: border-box;
    height: 34px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #7e86aa;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
    color: #051143;
}

.mjob-location-field .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.mjob-location-field .select2-container--default.select2-container--focus .select2-selection--multiple,
.mjob-location-field .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #7e86aa;
    background: #fff;
}

/* ---------------------------------------------------------------------------
   Job Offers Dashboard — job-offers-dashboard shortcode
--------------------------------------------------------------------------- */
.job-offers-dashboard-wrap {
	max-width: 98%;
	width: 100%;
	min-width: 0;
	margin: 0 auto;
	padding: 0 16px 24px;
	direction: rtl;
	text-align: right;
	background: #f9fafb;
	min-height: 40vh;
	box-sizing: border-box;
}
.job-offers-dashboard-wrap .job-offers-page-title {
	color: #E60D64;
	font-size: 1.875rem;
	font-weight: 700;
	margin: 20px 0 16px 0;
	padding-top: 20px;
}
.job-offers-dashboard-wrap .job-offers-top-toolbar {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 24px;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}
header.job-offers-header {
	z-index: 1 !important;
}
.job-offers-dashboard-wrap .job-offers-top-toolbar .job-offers-header {
	flex: 1;
	min-width: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
	padding: 16px 20px 14px;
	margin-bottom: 0;
	overflow: hidden;
	box-sizing: border-box;
}
.job-offers-dashboard-wrap .job-offers-header-actions {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 10px;
	flex-shrink: 0;
}
.job-offers-dashboard-wrap .job-offers-square-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	height: auto;
	align-self: stretch;
	min-height: 82px;
	height: 110px;
	min-width: 82px;
	max-width: 110px;
	padding: 6px;
	border: none;
	border-radius: 12px;
	background: #E60D64;
	color: #fff;
	box-shadow: 0 4px 12px rgba(230, 13, 100, 0.3);
	cursor: pointer;
	text-align: center;
	line-height: 1.15;
	transition: all 0.3s ease;
	font-family: inherit;
}
.job-offers-dashboard-wrap .job-offers-square-btn:hover {
	background: #c90a56 !important;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(230, 13, 100, 0.4);
}
.job-offers-dashboard-wrap .job-offers-square-btn__text {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}
.job-offers-dashboard-wrap .job-offers-add-jobs-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
	padding: 16px 24px;
	margin-bottom: 24px;
}
.job-offers-dashboard-wrap .job-offers-add-jobs-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.job-offers-dashboard-wrap .job-offers-add-jobs-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: #1f2937;
}
.job-offers-dashboard-wrap .job-offers-add-jobs-card__actions {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-inline-start: auto;
}
.job-offers-dashboard-wrap .job-offers-add-jobs-card__actions .job-offers-btn {
	min-width: 178px;
}
.job-offers-dashboard-wrap .job-offers-assign-jobs-panel {
	margin-top: -8px;
}
.job-offers-dashboard-wrap .jod-jobs-search-box {
	margin-bottom: 16px;
}
.job-offers-dashboard-wrap .jod-jobs-search-input {
	width: 100%;
	padding: 10px 14px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.job-offers-dashboard-wrap .jod-jobs-search-input:focus {
	outline: none;
	border-color: #E60D64;
	box-shadow: 0 0 0 2px rgba(230, 13, 100, 0.15);
}
.job-offers-dashboard-wrap .jod-jobs-selected-count {
	padding: 10px 14px;
	background: #fdf2f8;
	border-radius: 8px;
	color: #BE1966;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 12px;
}
.job-offers-dashboard-wrap .jod-jobs-search-results {
	max-height: 360px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafbfc;
	margin-bottom: 16px;
}
.job-offers-dashboard-wrap .jod-jobs-loading,
.job-offers-dashboard-wrap .jod-jobs-no-results {
	padding: 32px;
	text-align: center;
	color: #6b7280;
	font-size: 14px;
}
.job-offers-dashboard-wrap .jod-jobs-info-bar {
	padding: 10px 14px;
	background: #fdf2f8;
	color: #BE1966;
	font-size: 13px;
	border-bottom: 1px solid #e5e7eb;
}
.job-offers-dashboard-wrap .jod-job-item {
	padding: 10px 14px;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: background 0.15s;
}
.job-offers-dashboard-wrap .jod-job-item:last-child {
	border-bottom: none;
}
.job-offers-dashboard-wrap .jod-job-item:hover {
	background: #f3f4f6;
}
.job-offers-dashboard-wrap .jod-job-checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
}
.job-offers-dashboard-wrap .jod-job-item-content {
	flex: 1;
	min-width: 0;
}
.job-offers-dashboard-wrap .jod-job-item-title {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 14px;
	margin-bottom: 2px;
}
.job-offers-dashboard-wrap .jod-job-item-meta {
	font-size: 12px;
	color: #6b7280;
}
.job-offers-dashboard-wrap .job-offers-name-cell {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.job-offers-dashboard-wrap .jod-job-status {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}
.job-offers-dashboard-wrap .jod-job-item-meta .jod-job-status {
	margin-inline-end: 4px;
}
.job-offers-dashboard-wrap .jod-job-status--publish {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}
.job-offers-dashboard-wrap .jod-job-status--pending {
	background: #fff3e0;
	color: #e65100;
	border: 1px solid #ffcc80;
}
.job-offers-dashboard-wrap .jod-job-status--other {
	background: #f3f4f6;
	color: #4b5563;
	border: 1px solid #d1d5db;
}
.job-offers-dashboard-wrap .jod-jobs-save-btn {
	width: 100%;
	margin-top: 4px;
}
.job-offers-dashboard-wrap .jod-jobs-message {
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 12px;
	font-size: 14px;
}
.job-offers-dashboard-wrap .jod-jobs-message--success {
	background: #d1fae5;
	color: #065f46;
}
.job-offers-dashboard-wrap .jod-jobs-message--error {
	background: #fee2e2;
	color: #991b1b;
}
@media (max-width: 1280px) {
	#job-manager-job-dashboard #employer_filters .search-row.job-offers-btn-row {
		flex: 1 1 100%;
	}
	.job-offers-btn-row .job-offers-btn {
		flex-shrink: 0;
	}
}
@media (max-width: 768px) {
	.job-offers-dashboard-wrap .job-offers-top-toolbar {
		flex-direction: column;
	}
	.job-offers-dashboard-wrap .job-offers-top-toolbar .job-offers-header {
		max-width: 100%;
	}
	.job-offers-dashboard-wrap .job-offers-header-actions {
		width: 100%;
	}
	.job-offers-dashboard-wrap .job-offers-square-btn {
		flex: 1;
		min-width: 0;
		max-width: none;
		min-height: 72px;
	}
	.job-offers-dashboard-wrap .job-offers-add-jobs-card__header {
		align-items: flex-start;
	}
	.job-offers-dashboard-wrap .job-offers-add-jobs-card__actions {
		width: 100%;
		margin-inline-start: 0;
	}
	.job-offers-dashboard-wrap .job-offers-add-jobs-card__actions .job-offers-btn {
		flex: 1;
		min-width: 0;
	}
}
.job-offers-dashboard-wrap .job-offers-header {
	color: #000;
	font-size: 1.375rem;
	font-weight: 600;
	margin: 0 0 8px 0;
}
.job-offers-dashboard-wrap .job-offers-header {
	color: #000;
	font-size: 0.95rem;
	margin: 0 0 12px 0;
}
.job-offers-dashboard-wrap .job-offers-header .job-offers-filters-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
	background: rgba(255,255,255,0.5);
	border-radius: 8px;
	padding: 12px 16px;
	width: 100%;
	box-sizing: border-box;
}
.job-offers-dashboard-wrap .job-offers-header .job-offers-filters-row form {
	flex: 1;
	min-width: 0;
}
#job-manager-job-dashboard #employer_filters {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
#job-manager-job-dashboard #employer_filters select,
#job-manager-job-dashboard #employer_filters .search-row .jm-ui-input--search-icon,
.job-offers-btn-row .job-offers-btn {
	height: 44px;
	box-sizing: border-box;
	line-height: 1.2;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}
#job-manager-job-dashboard #employer_filters select {
	padding: 0 12px;
	background: #fff;
	flex: 1 1 120px;
	min-width: 100px;
	max-width: 220px;
}
#job-manager-job-dashboard #employer_filters .select2-container {
	flex: 1 1 120px;
	min-width: 100px !important;
	max-width: 220px;
}
#job-manager-job-dashboard #employer_filters .search-row.job-offers-btn-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	flex: 1 1 220px;
	min-width: 0;
}
#job-manager-job-dashboard #employer_filters .search-row .jm-ui-input--search-icon {
	flex: 1;
	min-width: 120px;
	max-width: none;
	padding: 0 14px;
}
@media (max-width: 768px) {
	#job-manager-job-dashboard #employer_filters {
		flex-wrap: wrap;
		width: 100%;
	}
	#job-manager-job-dashboard #employer_filters .search-row.job-offers-btn-row {
		flex: 1 1 100%;
	}
	#job-manager-job-dashboard #employer_filters .select2-container {
		flex: 0 1 auto;
		min-width: 100px;
		max-width: 220px;
	}
}
.job-offers-btn-row .job-offers-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	background: #E60D64;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(230, 13, 100, 0.3);
}
.job-offers-btn-row .job-offers-btn:hover {
	background: #c90a56 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(230, 13, 100, 0.4);
}
.job-offers-btn-row a.job-offers-btn {
	cursor: pointer;
}
.job-offers-table-wrapper {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
	overflow: visible;
	margin-bottom: 32px;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}
.job-offers-table-wrapper .job-offers-table-scroll {
	overflow-x: auto;
	overflow-y: hidden;
}
.job-offers-table-wrapper .job-offers-table-title {
	padding: 16px 24px;
}
.job-offers-table-wrapper .job-offers-table-title h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 4px 0;
	color: #1f2937;
}
.job-offers-table-wrapper .job-offers-table-title p {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0;
}
.job-offers-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
.job-offers-table thead {
	background: #f9fafb;
}
.job-offers-table th {
	padding: 10px 10px;
	text-align: right;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
}
.job-offers-table td {
	padding: 8px 8px;
	text-align: right;
	font-size: 0.875rem;
	border-bottom: 1px solid #e5e7eb;
}
.job-offers-table tbody tr {
	transition: background 0.15s;
}
.job-offers-table tbody tr:hover {
	background: #eff6ff;
}
.job-offers-table .job-offers-actions a:not(.job-offers-action-btn) {
	margin-left: 12px;
	text-decoration: none;
	color: #2196f3;
	font-size: 14px;
	font-weight: 600;
}
.job-offers-table .job-offers-actions a:not(.job-offers-action-btn):hover {
	text-decoration: underline;
}
.job-offers-dashboard-wrap .job-offers-table-wrapper > .jm-dashboard-empty {
	background: #fff;
	text-align: center;
}

/* Pagination (same pattern as courses_list) */
.job-offers-dashboard-wrap .cob-admin-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 16px 24px 24px;
	flex-wrap: wrap;
}
.job-offers-dashboard-wrap .cob-admin-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: all .15s ease;
}
.job-offers-dashboard-wrap .cob-admin-page-btn:hover {
	border-color: #94a3b8;
	color: #0f172a;
}
.job-offers-dashboard-wrap .cob-admin-page-btn--active {
	background: #E60D64;
	border-color: #E60D64;
	color: #fff !important;
}
.job-offers-table .jm-dashboard-empty {
	text-align: right;
	background: transparent;
	padding: 0;
	display: inline;
}
.job-offers-dashboard-wrap .jm-dashboard-empty .jm-ui-notice {
	color: #6b7280;
	font-size: 1rem;
	margin: 0;
}
.job-offers-dashboard-wrap .jm-dashboard-empty .job-offers-empty-cta-wrap {
	margin: 12px 0 0;
}
.job-offers-dashboard-wrap .jm-dashboard-empty .job-offers-empty-cta {
	color: #E60D64;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}
.job-offers-dashboard-wrap .jm-dashboard-empty .job-offers-empty-cta:hover,
.job-offers-dashboard-wrap .jm-dashboard-empty .job-offers-empty-cta:focus {
	color: #c90a56;
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   High Match Leads — candidate table shortcode
--------------------------------------------------------------------------- */
.high-match-leads-wrap {
	max-width: 90vw;
	margin: 0 auto;
	padding: 0 10px 10px;
	direction: rtl;
	text-align: right;
	background: #f9fafb;
}
.high-match-leads-wrap .high-match-header {
	background: transparent;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
	padding: 24px 24px 20px;
	margin-bottom: 24px;
}
.high-match-leads-wrap .high-match-page-title {
	color: #E60D64;
	font-size: 1.875rem;
	font-weight: 700;
	margin: 20px 0 8px 0;
	padding-top: 20px;
}
.high-match-leads-wrap .high-match-header .high-match-header-intro {
	margin: 0 0 12px;
}
.high-match-leads-wrap .high-match-filters-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	background: rgba(255,255,255,0.5);
	border-radius: 8px;
	padding: 12px 16px;
}
.high-match-leads-wrap #high_match_filters {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
}
.high-match-leads-wrap #high_match_filters select,
.high-match-leads-wrap #high_match_filters input[type="search"] {
	height: 44px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	min-width: 100px;
	max-width: 420px;
	box-sizing: border-box;
}
.high-match-leads-wrap #high_match_filters .search-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
	flex: 1;
	min-width: 0;
}
.high-match-leads-wrap #high_match_filters .search-row input[type="search"] {
	flex: 1;
	min-width: 120px;
	max-width: none;
}
.high-match-leads-wrap #high_match_filters .high-match-search-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
}
.high-match-leads-wrap .high-match-search-btn {
	height: 44px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	background: #E60D64;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(230, 13, 100, 0.3);
}
.high-match-leads-wrap .high-match-search-btn:hover {
	background: #c90a56 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(230, 13, 100, 0.4);
}
@media (max-width: 768px) {
	.high-match-leads-wrap #high_match_filters {
		flex-wrap: wrap;
	}
	.high-match-leads-wrap #high_match_filters .search-row {
		flex: 1 1 100%;
	}
	.high-match-leads-wrap #high_match_filters select,
	.high-match-leads-wrap #high_match_filters .search-row input[type="search"] {
		max-width: none;
	}
}
.high-match-leads-wrap .high-match-table-wrapper {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
	overflow: hidden;
	margin-bottom: 32px;
}
.high-match-leads-wrap .high-match-table-title {
	padding: 14px 24px 12px;
	border-bottom: 1px solid #e5e7eb;
    background: #f6f6f6;
}
.high-match-leads-wrap .high-match-table-heading {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1f2937;
}
.high-match-leads-wrap .high-match-job-title-link {
	color: #E60D64;
	font-weight: 700;
	text-decoration: none;
}
.high-match-leads-wrap .high-match-job-title-link:hover {
	color: #c90a56;
	text-decoration: underline;
}
.high-match-leads-wrap .high-match-table-subtitle {
	margin: 4px 0 0;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.4;
	color: #6b7280;
}
.high-match-leads-wrap .high-match-table-scroll {
	overflow-x: auto;
}
.high-match-leads-wrap .high-match-table {
	width: 100%;
	min-width: 100%;
	border-collapse: collapse;
}
.high-match-leads-wrap .high-match-table thead {
	background: #f9fafb;
}
.high-match-leads-wrap .high-match-table th {
	padding: 8px 8px;
	text-align: right;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
}
.high-match-leads-wrap .high-match-table td {
	padding: 8px 8px;
	text-align: right;
	font-size: 0.875rem;
	border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}
.high-match-leads-wrap .high-match-table th.high-match-col-name,
.high-match-leads-wrap .high-match-table td.high-match-col-name {
	min-width: 6rem;
}
.high-match-leads-wrap .high-match-table td.high-match-col-phone {
	white-space: nowrap;
}
.high-match-leads-wrap .high-match-table tbody tr:hover {
	background: #eff6ff;
}
.high-match-leads-wrap .high-match-community-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	max-width: 280px;
}
.high-match-leads-wrap .high-match-community-chip {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	background: #f0f0f0;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}
.high-match-leads-wrap .high-match-community-chips:not(.is-expanded) .high-match-community-chip--extra {
	display: none;
}
.high-match-leads-wrap .high-match-community-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	padding: 0 7px;
	background: #f0f0f0;
	border: 2px solid #ddd;
	border-radius: 8px;
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.high-match-leads-wrap .high-match-community-more:hover {
	background: #e6e6e6;
	color: inherit;
}
.high-match-leads-wrap .high-match-community-chips.is-expanded .high-match-community-more {
	display: none;
}
.high-match-leads-wrap .high-match-skill-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	max-width: 280px;
}
.high-match-leads-wrap .high-match-skill-chip {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	background: #ecfdf5;
	border: 2px solid #bbf7d0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: #166534;
}
.high-match-leads-wrap .high-match-skill-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1px 7px;
	background: #ecfdf5;
	border: 2px solid #bbf7d0;
	border-radius: 8px;
	color: #166534;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	font-family: inherit;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.high-match-leads-wrap .high-match-skill-more:hover,
.high-match-leads-wrap .high-match-skill-more:focus {
	background: #d1fae5 !important;
	border-color: #86efac;
	color: #14532d;
}
.high-match-leads-wrap .high-match-skill-more:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.high-match-leads-wrap .high-match-skill-more--label {
	min-width: auto;
}
.hml-skills-modal .hml-private-modal__dialog {
	width: min(100%, 820px);
}
.hml-skills-modal .hml-private-modal__body {
	padding: 18px 20px;
}
.hml-skills-modal__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
}
.hml-skills-modal__job-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 0 2px 4px;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #374151;
}
.hml-skills-modal__job-label {
	font-weight: 600;
	color: #1f2937;
}
.hml-skills-modal__job-link {
	color: #E60D64;
	font-weight: 700;
	text-decoration: none;
}
.hml-skills-modal__job-link:hover {
	color: #c90a56;
	text-decoration: underline;
}
.hml-skills-modal__job-link--text {
	cursor: default;
}
.hml-skills-modal__section {
	flex: none;
	width: 100%;
	min-width: 0;
	padding: 16px 14px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
}
.hml-skills-modal__section--missing, .hml-skills-modal__section--matched {
	background: #f5f5f5;
	border-color: #e5e7eb;
}
.hml-skills-modal__section-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.9rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.45;
	text-align: center;
}
.hml-skills-modal__chips {
	display: flex;
	gap: 8px;
	min-height: 48px;
}
.hml-skills-modal__chips--matched,
.hml-skills-modal__chips--missing {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
}
.hml-skills-modal .high-match-skill-chip {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	max-width: 100%;
	padding: 4px 10px;
	background: #ecfdf5;
	border: 2px solid #bbf7d0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: #166534;
	white-space: normal;
	text-align: left;
	direction: ltr;
}
.hml-skills-modal .high-match-skill-chip--missing {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}
.hml-skills-modal__empty {
	align-self: stretch;
	text-align: center;
	font-size: 0.875rem;
	color: #6b7280;
	padding: 8px 0;
}
.hml-skills-modal .hml-private-modal__footer {
	justify-content: center;
	padding-top: 4px;
}
@media (min-width: 480px) {
	.hml-skills-modal .hml-private-modal__footer {
		flex-direction: row;
		justify-content: center;
	}
	.hml-skills-modal .hml-private-modal__btn {
		min-width: 140px;
	}
}
body.hml-skills-modal-open {
	overflow: hidden;
}
.high-match-leads-wrap .high-match-empty {
	padding: 48px 24px;
	text-align: center;
	color: #6b7280;
}
/* Region filter (Select2) — match the native filter selects on this page. */
.high-match-leads-wrap #high_match_filters .select2-container {
	min-width: 100px;
	max-width: 220px;
	box-sizing: border-box;
}
.high-match-leads-wrap #high_match_filters .select2-container--default .select2-selection--single {
	height: 44px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 0 12px;
	border: 1px solid #7e86aa;
	border-radius: 8px;
	background: #fff;
}
.high-match-leads-wrap #high_match_filters .select2-container--default .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
	padding: 0;
	color: #111928;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: right;
}
.high-match-leads-wrap #high_match_filters .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
}
.high-match-leads-wrap #high_match_filters .select2-container--default.select2-container--focus .select2-selection--single,
.high-match-leads-wrap #high_match_filters .select2-container--default.select2-container--open .select2-selection--single {
	background: #fff;
}
.high-match-leads-wrap .high-match-private-field {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: #E60D64;
	font-weight: 500;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	white-space: normal;
	cursor: pointer;
	text-align: inherit;
}
.high-match-leads-wrap .high-match-private-field:hover {
	color: #c90a56;
}
.high-match-leads-wrap .high-match-private-field:focus-visible {
	outline: 2px solid #E60D64;
	outline-offset: 2px;
	border-radius: 4px;
}
.high-match-leads-wrap .high-match-private-name-link {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 4px;
	color: #E60D64;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.high-match-leads-wrap .high-match-private-name-link:hover {
	color: #c90a56;
	text-decoration: underline;
}
.high-match-leads-wrap .high-match-private-name-link:focus-visible {
	outline: 2px solid #E60D64;
	outline-offset: 2px;
	border-radius: 4px;
}
.high-match-leads-wrap .high-match-private-name-link svg,
.high-match-leads-wrap .high-match-private-field svg {
	color: currentColor;
	flex-shrink: 0;
}
.high-match-leads-wrap .high-match-col-contact {
	min-width: 10rem;
}
.high-match-leads-wrap .high-match-col-contact .high-match-private-field {
	justify-content: flex-start;
	text-align: right;
}
.high-match-leads-wrap .high-match-private-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.high-match-leads-wrap .high-match-private-contact--approved {
	align-items: flex-end;
	width: 100%;
	text-align: right;
}
.high-match-leads-wrap .high-match-private-contact-value {
	display: block;
}
.high-match-leads-wrap .high-match-private-contact-note {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}
.high-match-leads-wrap .high-match-private-contact-note--pending {
	color: #92400e;
}
.high-match-leads-wrap .high-match-private-contact-note--declined {
	color: #991b1b;
}
.high-match-leads-wrap .high-match-private-contact-note--approved {
	color: #34d399;
}

/* Private profile contact request modal */
.hml-private-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	direction: rtl;
}
.hml-private-modal.is-open {
	display: flex;
}
.hml-private-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.45);
}
.hml-private-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
	animation: hmlModalIn 0.2s ease;
}
@keyframes hmlModalIn {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}
.hml-private-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid #e5e7eb;
}
.hml-private-modal__header h2 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111928;
}
.hml-private-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #6b7280 !important;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.hml-private-modal__close:hover {
	background: #f3f4f6;
	color: #374151;
}
.hml-private-modal__body {
	padding: 16px 20px 20px;
}
.hml-private-modal__body p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #4b5563;
}
.hml-private-modal__footer {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	padding: 0 20px 20px;
}
.hml-private-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 700;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hml-private-modal__btn--primary {
	border: 0;
	background: #E60D64 !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(230, 13, 100, 0.25);
}
.hml-private-modal__btn--primary:hover,
.hml-private-modal__btn--primary:focus {
	background: #c90a56 !important;
	color: #fff !important;
}
.hml-private-modal__btn--secondary {
	border: 1px solid #d1d5db;
	background: #fff !important;
	color: #374151 !important;
}
.hml-private-modal__btn--secondary:hover,
.hml-private-modal__btn--secondary:focus {
	background: #f9fafb !important;
	border-color: #9ca3af !important;
	color: #374151 !important;
}
body.hml-private-modal-open {
	overflow: hidden;
}
.hml-profile-request-actions {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	margin-top: 16px;
	max-width: 320px;
}
.hml-profile-request-actions .hml-private-modal__btn {
	width: 100%;
}
.hml-profile-request-actions .hml-private-modal__btn--primary,
.hml-profile-request-actions .hml-private-modal__btn--primary:hover,
.hml-profile-request-actions .hml-private-modal__btn--primary:focus {
	background: #E60D64 !important;
	color: #fff !important;
	border: 0 !important;
}
.hml-profile-request-actions .hml-private-modal__btn--primary:hover,
.hml-profile-request-actions .hml-private-modal__btn--primary:focus {
	background: #c90a56 !important;
}
.hml-profile-request-actions .hml-private-modal__btn--secondary,
.hml-profile-request-actions .hml-private-modal__btn--secondary:hover,
.hml-profile-request-actions .hml-private-modal__btn--secondary:focus {
	background: #fff !important;
	color: #374151 !important;
	border: 1px solid #d1d5db !important;
}
.hml-profile-request-actions .hml-private-modal__btn--secondary:hover,
.hml-profile-request-actions .hml-private-modal__btn--secondary:focus {
	background: #f9fafb !important;
	border-color: #9ca3af !important;
}
.hml-profile-request-actions.is-responded .hml-private-modal__btn {
	display: none;
}
.hml-profile-request-status {
	margin: 16px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #374151;
	font-weight: 600;
	text-align: center;
}
@media (min-width: 480px) {
	.hml-private-modal__footer {
		flex-direction: row;
		justify-content: flex-end;
	}
	.hml-private-modal__btn {
		width: auto;
		min-width: 120px;
	}
	.hml-profile-request-actions {
		flex-direction: row;
		justify-content: flex-start;
		flex-wrap: wrap;
		max-width: none;
	}
	.hml-profile-request-actions .hml-private-modal__btn {
		width: auto;
		min-width: 120px;
	}
}
.high-match-leads-wrap .high-match-name-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.high-match-leads-wrap .high-match-type-chip {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}
.high-match-leads-wrap .high-match-type-chip--applied {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}
.high-match-leads-wrap .high-match-type-chip--match {
	background: #dbeafe;
	color: #1e40af;
	border: 1px solid #93c5fd;
}
.high-match-leads-wrap .high-match-pct {
	font-weight: 700;
}
.high-match-leads-wrap .high-match-pct--high {
	color: #16a34a;
}
.high-match-leads-wrap .high-match-pct--medium {
	color: #d97706;
}
.high-match-leads-wrap .high-match-pct--low {
	color: #dc2626;
}
.high-match-leads-wrap .high-match-pct--none {
	color: #9ca3af;
}
.high-match-leads-wrap .high-match-col-status {
	white-space: nowrap;
}
.high-match-leads-wrap .high-match-status-select {
	width: 8.5rem;
	max-width: 8.5rem;
	padding: 4px 8px;
	padding-inline-end: 22px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.35;
	font-family: inherit;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.high-match-leads-wrap .high-match-status-select option:disabled {
	color: #9ca3af;
}
.high-match-leads-wrap .high-match-status-select[data-status="not_contacted"] {
	background: #f9fafb;
	border-color: #e5e7eb;
	color: #6b7280;
}
.high-match-leads-wrap .high-match-status-select[data-status="waiting"] {
	background: #fef9c3;
	border-color: #fde047;
	color: #854d0e;
}
.high-match-leads-wrap .high-match-status-select[data-status="in_process"] {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e40af;
}
.high-match-leads-wrap .high-match-status-select[data-status="rejected"] {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}
.high-match-leads-wrap .high-match-status-select[data-status="accepted"] {
	background: #dcfce7;
	border-color: #86efac;
	color: #166534;
}
.high-match-leads-wrap .high-match-status-select:hover:not(:disabled) {
	border-color: #9ca3af;
}
.high-match-leads-wrap .high-match-status-select:focus {
	outline: none;
	border-color: #E60D64;
	box-shadow: 0 0 0 2px rgba(230, 13, 100, 0.15);
}
.high-match-leads-wrap .high-match-status-select.is-saving {
	opacity: 0.65;
	cursor: wait;
}
.high-match-leads-wrap .high-match-status-select.is-saved {
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.high-match-leads-wrap .high-match-status-select.is-error {
	border-color: #ef4444;
	box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Business messages threads */
.business-messages-wrap {
	width: 100%;
	padding: 0 10px 24px;
	direction: rtl;
}
.business-messages-header {
	margin-bottom: 16px;
}
.business-messages-subtitle {
	margin: 0;
	color: #6b7280;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.business-messages-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.business-messages-filter {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #374151;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.business-messages-filter:hover {
	background: #f9fafb;
	color: #111827;
}
.business-messages-filter.is-active,
.business-messages-filter.is-active:hover,
.business-messages-filter.is-active:focus,
.business-messages-filter.is-active:active {
	background: #E60D64 !important;
	border-color: #E60D64 !important;
	color: #fff !important;
}
.business-messages-filter:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(230, 13, 100, 0.2);
}
.business-messages-filter.is-active:focus {
	box-shadow: 0 0 0 2px rgba(230, 13, 100, 0.35);
}
.business-messages-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.business-messages-empty {
	padding: 48px 20px;
	text-align: center;
	background: #f9fafb;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
}
.business-messages-empty p {
	margin: 0;
	color: #9ca3af;
	font-size: 1rem;
}
.business-message-thread {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}
.business-message-thread:hover {
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.business-message-thread--incoming {
	border-right: 3px solid #3b82f6;
}
.business-message-thread--outgoing {
	border-right: 3px solid #E60D64;
}
.business-message-thread__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	border: 0;
	background: transparent;
	text-align: right;
	cursor: pointer;
}
.business-message-thread__header:hover {
	background: #fafafa;
}
.business-message-thread__meta {
	flex: 1;
	min-width: 0;
}
.business-message-thread__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.business-message-thread__badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
}
.business-message-thread__badge--direction.business-message-thread__badge--outgoing {
	background: rgba(230, 13, 100, 0.1);
	color: #E60D64;
}
.business-message-thread__badge--direction.business-message-thread__badge--incoming {
	background: rgba(59, 130, 246, 0.1);
	color: #2563eb;
}
.business-message-thread__badge--type {
	background: #f3f4f6;
	color: #4b5563;
}
.business-message-thread__title {
	margin: 0 0 8px;
	color: #111827;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}
.business-message-thread__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	color: #6b7280;
	font-size: 0.8125rem;
}
.business-message-thread__job a {
	color: #E60D64;
	text-decoration: none;
	font-weight: 600;
}
.business-message-thread__job a:hover {
	text-decoration: underline;
}
.business-message-thread__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}
.business-message-thread__date {
	color: #9ca3af;
	font-size: 0.8125rem;
	white-space: nowrap;
}
.business-message-thread__toggle {
	color: #6b7280;
	font-size: 0.75rem;
	transition: transform 0.2s ease;
}
.business-message-thread.is-open .business-message-thread__toggle {
	transform: rotate(-180deg);
}
.business-message-thread__body {
	padding: 0 18px 18px;
	border-top: 1px solid #f3f4f6;
}
.business-message-thread__content {
	padding: 16px 0;
	color: #374151;
	line-height: 1.65;
	font-size: 0.9375rem;
}
.business-message-thread__content p {
	margin: 0 0 0.75em;
}
.business-message-thread__content p:last-child {
	margin-bottom: 0;
}
.business-message-thread__recipients {
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
}
.business-message-thread__recipients h4 {
	margin: 0 0 10px;
	color: #111827;
	font-size: 0.875rem;
	font-weight: 700;
}
.business-message-thread__recipient-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.business-message-thread__recipient {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	background: #f9fafb;
	border-radius: 8px;
}
.business-message-thread__recipient-name {
	color: #111827;
	font-size: 0.875rem;
	font-weight: 600;
}
.business-message-thread__recipient-status {
	color: #16a34a;
	font-size: 0.8125rem;
}
.business-message-thread__recipient-status--unread {
	color: #d97706;
}
@media (max-width: 768px) {
	.business-message-thread__header {
		flex-direction: column;
	}
	.business-message-thread__aside {
		flex-direction: row;
		align-items: center;
		width: 100%;
		justify-content: space-between;
	}
}
