/* CSS variables for palette and common tokens */
:root {
	--rc-primary: #E8B138; /* brand gold */
	--rc-ink: #062837; /* dark ink */
	--rc-body: #374151; /* body text */
	--rc-muted: #6b7280; /* muted text */
	--rc-border: #e5e7eb; /* light border */
	--rc-border-2: #c2c8d0; /* input border */
	--rc-card-bg: #ffffff; /* card/page bg */
}

.realcruits-page { font-family: 'Encode Sans Expanded', 'Maven Pro', Arial, sans-serif; max-width: 1200px; margin: 20px auto; background:#fff; padding:24px 36px; border:1px solid #e2e2e2; border-radius:8px; }
.realcruits-form label { display:block; margin-bottom:12px; font-weight:600; }
.realcruits-form input[type=text],
.realcruits-form input[type=email],
.realcruits-form input[type=password],
.realcruits-form input[type=date],
.realcruits-form input[type=url],
.realcruits-form input[type=file] {
		width:100%;
		padding:15px 20px;
		border:1px solid #c2c8d0;
		background:#fdfefe;
		border-radius:16px;
		font-size:16px;
}

.realcruits-form select {
	width: 100%;
	display: block;
	box-sizing: border-box;
	height: 46px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.35;
	color: #062837;
	appearance: auto;
	border-radius: 16px;
}

.realcruits-form select option {
  padding: 4px 8px;
  color: #062837;
  background: #fff;
}

.realcruits-form select option[value=""] {
  color: #6b7280;
  font-style: italic;
}

/* Dashboard Enhancements */
.rc-dashboard .rc-card {
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:12px;
	padding:20px;
	box-shadow:0 1px 3px rgba(0,0,0,0.1);
	transition:box-shadow 0.2s ease;
}
.rc-dashboard .rc-card:hover {
	box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.rc-dashboard .rc-card h4 { margin:0 0 12px;font-size:16px;font-weight:600;color:#374151; }
.rc-dashboard .realcruits-btn-primary,
.rc-dashboard .realcruits-btn-secondary,
.rc-dashboard button.realcruits-btn-primary {
	display:inline-block;
	padding:8px 16px;
	border-radius:8px;
	font-size:13px;
	font-weight:600;
	line-height:1.4;
	border:1px solid var(--rc-primary);
	background:var(--rc-primary);
	color:var(--rc-ink);
	text-align:center;
	transition:all 0.2s ease;
	box-shadow:0 1px 2px rgba(0,0,0,0.1);
}
.rc-dashboard .realcruits-btn-primary:hover,
.rc-dashboard button.realcruits-btn-primary:hover {
	background:#f3c462;
	transform:translateY(-1px);
	box-shadow:0 2px 4px rgba(0,0,0,0.15);
}
.rc-dashboard .realcruits-btn-secondary {
	background:#f8fafc;
	color:var(--rc-body);
	border-color:#d1d5db;
}
.rc-dashboard .realcruits-btn-secondary:hover {
	background:#f1f5f9;
	color:#1f2937;
	transform:translateY(-1px);
}
.rc-dashboard a.realcruits-btn-primary,
.rc-dashboard a.realcruits-btn-secondary { text-decoration: none !important; }
.rc-dashboard a.realcruits-btn-primary:hover,
.rc-dashboard a.realcruits-btn-secondary:hover,
.rc-dashboard a.realcruits-btn-primary:focus,
.rc-dashboard a.realcruits-btn-secondary:focus { text-decoration: none !important; }
.rc-dashboard .realcruits-btn-primary[disabled],
.rc-dashboard .realcruits-btn-secondary[disabled],
.rc-dashboard button[disabled] { 
	opacity:.6;
	cursor:not-allowed;
	transform:none !important;
	box-shadow:0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Success Messages (single, normalized definition) */
.rc-success-msg {
	background: #f3fff7;
	border: 1px solid #b6e7c7;
	color: #165f2b;
	padding: 14px 18px;
	border-radius: 8px;
	margin: 12px 0;
	font-size: 14px;
	font-weight: 500;
}

.rc-success-message {
	background: transparent; /* use the card background only */
	color: inherit;
	padding: 36px 0 42px; /* increased vertical padding for breathing room */
	border-radius: 0;
	text-align: center;
	margin: 24px 0; /* more outer spacing */
	border: 0;
	box-shadow: none;
}
.rc-success-message h2 { margin: 0 0 14px; font-size: 24px; color:#062837; }
.rc-success-message p { margin: 10px 0 12px; color:#052130; line-height: 1.6; }
.rc-success-message .realcruits-btn-primary { margin-top: 28px; color:#ffffff !important; padding: 12px 22px; }
.rc-success-message .realcruits-btn-primary:hover { color:#ffffff !important; }
.rc-success-msg.rc-dismissible {
	position:relative;
	padding-right:40px;
}

/* Profile View Enhancements */
.rc-profile-view {
	max-width:1200px;
}
.rc-profile-view h2,
.rc-profile-view h3 {
	color:#1f2937;
}

/* Avatar Enhancements */
.rc-avatar {
	position:relative;
	overflow:hidden;
}
.rc-avatar::after {
	content:'';
	position:absolute;
	inset:0;
	border-radius:inherit;
	background:linear-gradient(145deg, transparent 60%, rgba(255,255,255,0.1));
}

/* Responsive Dashboard */
@media (max-width:768px){
  .rc-dashboard { padding:16px 20px; }
  .rc-dashboard .rc-dashboard-grid { grid-template-columns:1fr !important; }
  .rc-dashboard .rc-card { padding:16px; }
  .rc-dash-header h2 { font-size:20px; }
  .rc-completion-section { padding:16px; }
}

@media (max-width:480px){
  .rc-dashboard { padding:12px 16px; }
  .rc-dashboard .rc-card { padding:12px; }
  .rc-dashboard .rc-card h4 { font-size:15px; }
}

.realcruits-form input::placeholder { color:#9aa2ab; }

#rc-communities,
#rc-provinces { width: 100%; }
.rc-hidden { display:none !important; }
.realcruits-form input:focus, .realcruits-form select:focus {
	outline:none;
	border-color:#E8B138;
	background:#fff;
	box-shadow:0 0 0 3px rgba(232,177,56,.35);
}
.realcruits-form input:hover, .realcruits-form select:hover { border-color:#a8b0b8; }

/* Invalid state injected via JS */
.realcruits-form .rc-invalid input,
.realcruits-form .rc-invalid select,
.realcruits-form input.rc-invalid,
.realcruits-form select.rc-invalid { border-color:#e15555 !important; box-shadow:0 0 0 3px rgba(225,85,85,.25); background:#fff7f7; }
.realcruits-form .rc-invalid-msg { font-size:12px; color:#9b1d1d; margin-top:4px; font-weight:500; }

/* Headings & labels subtle tweak */
.realcruits-form h4 { font-size:20px; margin-top:6px; margin-bottom:18px; letter-spacing:.5px; }
.realcruits-form label { font-weight:600; color:#052130; }

/* Buttons refinement */
.realcruits-btn-primary, .realcruits-btn-secondary { position:relative; overflow:hidden; }
.realcruits-btn-primary, .realcruits-btn-secondary { text-decoration: none; }
.realcruits-btn-primary { box-shadow:0 2px 4px rgba(0,0,0,.12); transition:background .2s ease, transform .15s ease, box-shadow .2s ease; }
.realcruits-btn-primary:hover { background:#f3c462; }
.realcruits-btn-primary:active { transform:translateY(1px); box-shadow:0 1px 2px rgba(0,0,0,.25); }
.realcruits-btn-secondary { box-shadow:0 2px 4px rgba(0,0,0,.12); transition:background .2s ease, transform .15s ease, box-shadow .2s ease; }
.realcruits-btn-secondary:hover { background:#0a3954; }
.realcruits-btn-secondary:active { transform:translateY(1px); box-shadow:0 1px 2px rgba(0,0,0,.25); }
/* Ensure button-like anchors never underline (e.g., Clear button) */
a.realcruits-btn-primary,
a.realcruits-btn-secondary { text-decoration: none !important; }
a.realcruits-btn-primary:hover,
a.realcruits-btn-secondary:hover,
a.realcruits-btn-primary:focus,
a.realcruits-btn-secondary:focus { text-decoration: none !important; }

/* Step container spacing */
.rc-step .rc-grid label { display:flex; flex-direction:column; gap:6px; font-size:14px; }

/* Smooth form background subtle gradient */
.realcruits-page { background:linear-gradient(180deg,#ffffff,#fbfbfb); }
.realcruits-btn-primary { background:var(--rc-primary); color:var(--rc-ink); border:none; padding:16px 30px; border-radius:18px; cursor:pointer; font-weight:700; font-size:16px; }
.realcruits-btn-secondary { background:var(--rc-ink); color:#fff; border:none; padding:16px 28px; border-radius:18px; cursor:pointer; font-weight:600; font-size:15px; }
.realcruits-btn-primary:disabled, .realcruits-btn-secondary:disabled { opacity:.5; cursor:not-allowed; }
.rc-nav { display:flex; justify-content:space-between; margin-top:20px; }
.rc-nav--js { justify-content:flex-end; }
.rc-step { animation: fade .35s ease; }
/* Hide non-active steps by default for no-JS and initial paint */
.rc-step[aria-hidden="true"] { display: none; }
@keyframes fade { from { opacity:0; transform:translateY(4px);} to {opacity:1; transform:translateY(0);} }
.rc-candidate-list { list-style:none; margin:0; padding:0; }
.rc-candidate { padding:12px; border:1px solid #ddd; border-radius:6px; margin-bottom:10px; }
.rc-candidate.rc-locked { background:#fafafa; }
.rc-candidate.rc-unlocked { background:#f2fff5; border-color:#bfe3c2; }
.rc-actions button { margin-right:8px; }


/* Progress Bar */
.rc-progress { position:relative; background:#f3f3f3; border-radius:6px; height:14px; margin:10px 0 24px; overflow:hidden; font-size:11px; }
.rc-progress-bar { background:#E8B138; height:100%; width:0%; transition:width .35s ease; }

/* Narrow form grid utility to replace inline styles */
.rc-form-narrow { max-width:640px; display:grid; gap:22px; }

/* Ink text utility */
.rc-text-ink { color:#1f2937; }
.rc-progress-label { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-weight:600; color:#062837; }

/* Step Errors */
/* Default to visible so JS can simply toggle rc-hidden when empty; rely on rc-hidden to hide */
.rc-step-errors { display:block; background:#ffe9e9; border:1px solid #f5b5b5; color:#7a1111; padding:10px 14px; border-radius:6px; margin:0 0 16px; font-size:14px; }
.rc-step-errors:empty { display:none; }
.rc-step-errors ul { margin:0; padding-left:18px; }
.rc-step-errors li { list-style:disc; }


/* Multi-select tags */
/* Multiselect container base */
.rc-multiselect, .rc-multiselect-container { position:relative; background:#fff; border:1px solid #c2c8d0; border-radius:20px; padding:12px 14px; min-height:60px; display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; width:100%; }
.realcruits-form input[type=file] { 
	width:100%; 
	padding:15px 20px; 
	border:1px solid #c2c8d0; 
	background:#f8fafc; 
	border-radius:10px; 
	font-size:14px; 
	cursor:pointer;
	transition:border-color .18s ease, background .25s ease;
}
.realcruits-form input[type=file]:focus { 
	outline:none; 
	border-color:#E8B138; 
	background:#fff; 
}
.realcruits-form input[type=file]:hover { 
	border-color:#a8b0b8; 
	background:#fff; 
}
.rc-multiselect input[type=text]{ width:100%; }
.rc-multiselect.rc-flat { background:transparent; border:none; padding:4px 0 0; border-radius:0; }
.rc-multiselect.rc-flat:focus-within { box-shadow:none; }
/* Flat variant for container style */
.rc-multiselect-container.rc-flat { background:transparent; border:none; padding:0; border-radius:0; box-shadow:none; }
.rc-multiselect-container.rc-flat:focus-within { box-shadow:none; }
.rc-multiselect input[type=text]{ border:none; outline:none; flex:1 0 170px; min-width:170px; margin:6px 0; padding:6px 6px; font-size:15px; }
/* Tag lists for languages, provinces, roles */
.rc-tags, .rc-multiselect-tags { display:flex; flex-wrap:wrap; gap:6px; }
/* Compact pill tag */
.rc-tag { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; border:1px solid #d1d5db; background:#f9fafb; color:#062837; font-size:12px; font-weight:600; line-height:1; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.rc-tag:hover { background:#fff; border-color:#c2c8d0; }
/* Small, neat remove button inside tag */
.rc-tag > button { appearance:none; -webkit-appearance:none; border:0; background:#e5e7eb; color:#374151; width:18px; height:18px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; padding:0; line-height:1; font-size:14px; box-shadow:0 1px 1px rgba(0,0,0,.06); }
.rc-tag > button:hover { background:#d1d5db; color:#111827; }
.rc-tag > button:focus { outline:2px solid #E8B138; outline-offset:2px; }
.rc-tag > button:active { transform:scale(.96); }
/* Prevent WP admin button styles from leaking into tag remove buttons */
.rc-tag > button.button, .rc-tag > .button { all:unset; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:#e5e7eb; color:#374151; cursor:pointer; font-size:14px; line-height:1; box-shadow:0 1px 1px rgba(0,0,0,.06); }
.rc-tag > button.button:hover, .rc-tag > .button:hover { background:#d1d5db; color:#111827; }
.rc-tag > button.button:focus, .rc-tag > .button:focus { outline:2px solid #E8B138; outline-offset:2px; }
.rc-tag > button.button:active, .rc-tag > .button:active { transform:scale(.96); }
/* rc-tag and rc-suggestions base styles consolidated below; duplicates removed */

/* Multiselect suggestion dropdown (STANDARD) */
/* Anchors under the multiselect container, left-aligned, full width, like a native select */
.rc-suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	display: block;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	box-shadow: 0 10px 26px -6px rgba(0,0,0,.12);
	max-height: 260px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	font-size: 14px;
	z-index: 1000;
}
.rc-suggestions li { padding: 8px 12px; cursor: pointer; transition: background .12s ease, color .12s ease; }
.rc-suggestions li:hover, .rc-suggestions li.rc-active { background:#f3f4f6; }
.rc-jspe-modal .rc-suggestions { z-index: 10002; } /* ensure on top of modal content */

/* Unified field wrapper for nicer look (step 1, socials, personal info) */
.rc-grid label { position:relative; }
.rc-grid label input[type=text],
.rc-grid label input[type=email],
.rc-grid label input[type=password],
.rc-grid label input[type=date],
.rc-grid label select { background:#f8fafc; }
.rc-grid label input:focus, .rc-grid label select:focus { background:#fff; }

/* Radio & checkbox restyle */
.rc-check, .rc-radio-inline { display:flex; align-items:center; gap:10px; cursor:pointer; position:relative; font-size:14px; line-height:1.4; }
.rc-check input[type=checkbox], .rc-radio-inline input[type=radio] { position:absolute; opacity:0; pointer-events:none; margin-right:8px; }
.rc-check .rc-box, .rc-radio-inline .rc-box { width:26px; height:26px; border:2px solid #b5bec6; border-radius:10px; background:#fff; display:inline-block; flex-shrink:0; position:relative; transition:all .18s ease; vertical-align:middle; }
.rc-radio-inline .rc-box { border-radius:50%; }
.rc-check input:focus + .rc-box, .rc-radio-inline input:focus + .rc-box { box-shadow:0 0 0 3px rgba(232,177,56,.45); border-color:#E8B138; }
.rc-check input:checked + .rc-box { background:#E8B138; border-color:#E8B138; }
.rc-radio-inline input:checked + .rc-box { background:#E8B138; border-color:#E8B138; }
.rc-check input:checked + .rc-box:after { content:""; position:absolute; top:5px; left:6px; width:9px; height:9px; border:3px solid #062837; border-left:none; border-top:none; transform:rotate(45deg); }
.rc-radio-inline input:checked + .rc-box:after { content:""; position:absolute; top:50%; left:50%; width:11px; height:11px; background:#062837; border-radius:50%; transform:translate(-50%,-50%); }
.rc-check .rc-label { flex:1; }

/* Agreement box */
.rc-agree-box { background:#f9fbfc; border:1px solid #d5dde4; border-radius:22px; padding:26px 28px; display:flex; flex-direction:column; gap:24px; margin:18px 0 32px; }
.rc-agree-box label.rc-check { display: flex; align-items: center; margin-bottom: 0; }
.rc-agree-box input[type="checkbox"] { margin-right: 12px; }
.rc-agree-box:not(:last-child) { margin-bottom: 16px; }

/* Additional checkbox spacing for .rc-agreement-box variant */
.rc-agreement-box { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.rc-agreement-box .rc-check { margin-bottom: 0; }

/* Province & region selects match other selects */

/* Provinces multi-select (Step 3) scrollable height */
select[name="preferred_provinces[]"] {
	max-height: 280px;
	overflow-y: auto;
}

/* Province dropdown within multiselect containers (STANDARD) */
.rc-multiselect-container select {
	width: 100% !important;
	display: block;
	margin-top: 6px;
}


/* Larger radius variant for all primary inputs */
.realcruits-form input[type=text],
.realcruits-form input[type=email],
.realcruits-form input[type=password],
.realcruits-form input[type=date],
.realcruits-form input[type=url] { border-radius:10px; }

/* Social inputs subtle icon space (future enhancement placeholder) */
input[name=linkedin], input[name=facebook], input[name=instagram], input[name=website] { padding-left:14px; }

/* Step headings spacing refinement */
.rc-step h4 { margin-top:0; }

/* Inline actions & helper notes */
.rc-inline-actions { margin-top:8px; display:flex; gap:8px; }
.rc-small-note { font-size:12px; color:#555; margin-top:4px; }



/* Candidate list blurred private placeholders */
.rc-candidate.rc-locked em { filter:blur(3px); display:inline-block; }
.rc-candidate.rc-locked .rc-placeholder { background:linear-gradient(90deg,#ececec,#f5f5f5,#ececec); background-size:200% 100%; animation: rc-shimmer 2.2s linear infinite; height:12px; width:150px; border-radius:4px; display:inline-block; margin:4px 0; }
@keyframes rc-shimmer { 0%{ background-position:0 0;} 100%{ background-position:-200% 0;} }

/* Grid utility used inside steps */
.rc-grid { display:grid; grid-template-columns:repeat(2,minmax(320px,1fr)); gap:22px 34px; margin-bottom:4px; align-items:start; }
@media (max-width:760px){ .rc-grid { grid-template-columns:1fr; gap:20px 0; } }
/* Full span utility for wide fields */
.rc-span-2 { grid-column:1 / span 2; }
/* Row span utility for tall items in two-column grids */
.rc-row-span-2 { grid-row: span 2; }
/* Ensure labels consume full column width */
.rc-grid > label, .rc-grid > div { width:100%; }
/* Stack helper for grouped fields inside a single grid cell */
.rc-stack-field { display:flex; flex-direction:column; gap:14px; }
.rc-stack-field > label { margin-bottom:0; }
.rc-relocate-block { display:flex; flex-direction:column; gap:10px; margin-top:6px; }

/* Profile Edit Modal Grouping */
.rc-profile-edit-form fieldset.rc-group { border:1px solid #e5e7eb; border-radius:14px; padding:18px 22px 8px; background:#ffffff; position:relative; }
.rc-profile-edit-form fieldset.rc-group:not(:first-of-type) { margin-top:4px; }
.rc-profile-edit-form fieldset.rc-group legend.rc-group-title { font-size:15px; font-weight:700; letter-spacing:.5px; padding:0 8px; color:#062837; }
.rc-profile-edit-form fieldset.rc-group .rc-grid { margin-top:6px; }
.rc-profile-edit-form fieldset.rc-group:hover { box-shadow:0 2px 6px rgba(0,0,0,0.04); }
.rc-profile-edit-form fieldset.rc-group:focus-within { box-shadow:0 0 0 2px rgba(232,177,56,.4); border-color:#E8B138; }
.rc-profile-edit-form fieldset.rc-group legend.rc-group-title { text-transform:uppercase; font-size:12px; font-weight:600; letter-spacing:1px; opacity:.85; }
.rc-profile-edit-form fieldset.rc-group.rc-group-role { background:linear-gradient(180deg,#ffffff,#fffef8); }
.rc-profile-edit-form fieldset.rc-group.rc-group-location { background:linear-gradient(180deg,#ffffff,#f8fffe); }
.rc-profile-edit-form fieldset.rc-group.rc-group-comp { background:linear-gradient(180deg,#ffffff,#fff9f4); }
.rc-profile-edit-form fieldset.rc-group.rc-group-social { background:linear-gradient(180deg,#ffffff,#f6f9ff); }


/* Button-style radio group (relocate yes/no) */
.rc-button-radios {
	display: inline-flex;
	gap: 12px;
	background: none;
	padding: 0;
	border: none;
	border-radius: 0;
}
.rc-button-radios .rc-radio-btn {
	position: relative;
	cursor: pointer;
}
.rc-button-radios .rc-radio-btn input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.rc-button-radios .rc-radio-text {
	display: inline-block;
	padding: 10px 22px;
	background: #f8fafc;
	border-radius: 14px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .3px;
	color: #062837;
	border: 1px solid #c2c8d0;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rc-button-radios .rc-radio-btn input:focus + .rc-radio-text {
	box-shadow: 0 0 0 3px rgba(232,177,56,.4);
	border-color: #E8B138;
}
.rc-button-radios .rc-radio-btn input:hover + .rc-radio-text {
	background: #fff;
}
.rc-button-radios .rc-radio-btn input:checked + .rc-radio-text {
	background: #E8B138;
	color: #062837;
	border-color: #d49f2d;
	box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* Tighten helper note position for relocate */
#rc-relocate-help { margin-top:8px; }

/* Global field spacing adjustments */
.realcruits-form .rc-grid label { margin-bottom:4px; }
.realcruits-form .rc-grid { row-gap:28px; }
/* Uniform input vertical rhythm */
.realcruits-form input[type=text],
.realcruits-form input[type=email],
.realcruits-form input[type=password],
.realcruits-form input[type=date],
.realcruits-form input[type=url] { margin-top:2px; }

/* Step inner spacing */
.rc-step { padding-bottom:8px; }

/* Buttons inside multiselect wrappers don't inherit WP button style */
.rc-inline-actions .button { background:#062837; color:#fff; border:none; border-radius:4px; padding:6px 12px; cursor:pointer; font-size:13px; }
.rc-inline-actions .button:hover { background:#0a3954; }

/* Disable default outline only if we provide focus style */
.rc-multiselect:focus-within, .rc-multiselect-container:focus-within { box-shadow:0 0 0 2px rgba(232,177,56,.35); border-color:#E8B138; }

/* Progress bar reduced height on small screens */
@media (max-width:520px){ .rc-progress { height:18px; } .rc-progress-label { font-size:10px; } }



/* Phone input group (match standard input/select styling; only width differs for code) */
.rc-phone-group { display:flex; gap:8px; align-items:stretch; }
.rc-phone-group select.rc-phone-cc {
	flex:0 0 118px;
	max-width:118px;
	width:118px;
	display:block;
	box-sizing:border-box;
	height:46px;
	padding:12px 10px 12px 12px;
	font-size:13px;
	line-height:1.35;
	font-weight:500;
	border:1px solid #c2c8d0;
	border-radius:10px;
	background:#fdfefe;
	appearance:auto;
}
.rc-phone-group .rc-phone-local {
	flex:1;
	min-width:140px;
	padding:15px 20px;
	font-size:16px;
	line-height:1.45;
	font-weight:500;
	border:1px solid #c2c8d0;
	border-radius:10px;
	background:#fdfefe;
	box-sizing:border-box;
}
.rc-phone-group select.rc-phone-cc:focus, .rc-phone-group .rc-phone-local:focus { outline:none; border-color:#E8B138; background:#fff; box-shadow:0 0 0 3px rgba(232,177,56,.35); }
@media (max-width:560px){ .rc-phone-group { flex-direction:row; flex-wrap:wrap; } .rc-phone-group select.rc-phone-cc { flex:0 0 120px; } }
@media (max-width:560px){
	.rc-phone-group { flex-direction:column; align-items:stretch; }
	.rc-phone-group select.rc-phone-cc, .rc-phone-group .rc-phone-local { flex:unset; max-width:100%; width:100%; }
}

/* (Login page styling intentionally removed/reset) */

/* Unified Login Form (reuse registration aesthetics) */
.rc-login-form h3 { font-size:26px; margin:0 0 18px; font-weight:700; letter-spacing:.5px; color:#062837; }
.rc-login-intro { margin:0 0 24px; font-size:15px; color:#44525c; line-height:1.5; }
.rc-login-form .rc-role-radios { margin:0 0 26px; }
.rc-login-form input[type=email],
.rc-login-form input[type=password] { background:#f8fafc; }
.rc-login-form input[type=email]:focus,
.rc-login-form input[type=password]:focus { background:#fff; }
.rc-login-form .rc-submit-wrap { margin:10px 0 16px; }
.rc-login-form .rc-login-meta { font-size:13px; margin:0 0 12px; color:#34424c; }
.rc-login-form .rc-login-meta a { color:#062837; text-decoration:none; font-weight:600; }
.rc-login-form .rc-login-meta a:hover { text-decoration:underline; }
.rc-login-form .rc-step-errors { margin-top:0; }
.rc-login-form .g-recaptcha { transform:scale(.94); transform-origin:0 0; }

/* Role selection pills (login) */
.rc-login-roles { display:flex; gap:10px; margin:0 0 26px; padding:4px; background:transparent; border:none; }
.rc-login-roles .rc-role-pill { position:relative; cursor:pointer; display:inline-flex; align-items:center; padding:10px 20px; border-radius:16px; font-weight:600; font-size:14px; letter-spacing:.3px; background:#f1f3f5; color:#062837; transition:background .18s ease, box-shadow .18s ease, color .18s ease; }
.rc-login-roles .rc-role-pill input { position:absolute; inset:0; opacity:0; }
.rc-login-roles .rc-role-pill:not(.rc-selected):hover { background:#e4e8eb; }
.rc-login-roles .rc-role-pill.rc-selected { background:#E8B138; box-shadow:0 2px 6px rgba(0,0,0,.18); color:#062837; }
/* Subtle grey emphasis for non-selected to communicate clickability */
.rc-login-roles .rc-role-pill:not(.rc-selected) { background:#edf0f2; }

/* Inline actions row (button + links) */
.rc-login-actions { display:flex; flex-wrap:wrap; gap:14px 24px; align-items:center; margin:6px 0 0; }
.rc-login-actions .rc-login-submit { order:0; }
.rc-login-link { font-size:13px; font-weight:600; color:#062837; text-decoration:none; position:relative; padding:6px 4px; }
.rc-login-link:after { content:""; position:absolute; left:4px; right:4px; bottom:2px; height:2px; background:transparent; transition:background .18s ease; border-radius:2px; }
.rc-login-link:hover:after { background:#E8B138; }
.rc-login-actions-has-captcha.rc-login-actions { margin-top:18px; }

@media (max-width:640px){
	.rc-login-actions { flex-direction:column; align-items:stretch; gap:12px; }
	.rc-login-actions .rc-login-submit { width:100%; }
	.rc-login-link { padding:4px 0; text-align:center; }
}

/* JS enhancement: auto-toggle rc-selected class */
.rc-login-roles .rc-role-pill input:focus-visible + span { outline:2px solid #E8B138; outline-offset:3px; border-radius:14px; }

/* JSPE Modal (Jobseeker Profile Edit) */
.rc-jspe-modal[hidden],
.rc-jspe-backdrop[hidden] { display:none !important; }
.rc-jspe-backdrop { position:fixed; inset:0; background:rgba(15,23,42,0.55); backdrop-filter:blur(4px); z-index:10000; animation:rc-fade-in .2s ease; }
.rc-jspe-modal { position:fixed; inset:0; display:flex; align-items:flex-start; justify-content:center; padding:40px 24px 80px; overflow:auto; z-index:10001; }
.rc-jspe-dialog { background:#fff; width:100%; max-width:960px; border-radius:18px; box-shadow:0 12px 40px -8px rgba(0,0,0,.35); border:1px solid #e2e8f0; animation:rc-pop-in .28s cubic-bezier(.16,.84,.44,1); display:flex; flex-direction:column; max-height:calc(100vh - 80px); }
.rc-jspe-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 24px 12px; border-bottom:1px solid #f1f5f9; }
.rc-jspe-header h2 { margin:0; font-size:20px; font-weight:600; color:#062837; }
.rc-jspe-close { background:transparent; border:0; font-size:26px; line-height:1; cursor:pointer; color:#4b5563; border-radius:8px; padding:4px 10px; }
.rc-jspe-close:hover { background:#f3f4f6; color:#111827; }
.rc-jspe-body { padding:12px 24px 40px; overflow:auto; }
body.rc-jspe-lock { overflow:hidden; }
.rc-jspe-busy { position:relative; }
.rc-jspe-busy:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.65) 50%,rgba(255,255,255,0) 100%); animation:rc-sheen 1.2s infinite; border-radius:inherit; }
/* Error box */
.rc-jspe-errors { background:#fef2f2; border:1px solid #fecaca; color:#991b1b; padding:12px 16px; margin:0 0 18px; border-radius:10px; font-size:14px; }
.rc-jspe-errors ul { margin:0; padding-left:18px; }
.rc-jspe-errors li { list-style:disc; line-height:1.4; }
/* Modal header actions & footer */
.rc-jspe-header { position:relative; }
.rc-jspe-header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.rc-jspe-header-actions .rc-jspe-save { background:#062837; color:#fff; border:0; padding:6px 14px; border-radius:8px; cursor:pointer; font-size:13px; font-weight:600; }
.rc-jspe-header-actions .rc-jspe-save:hover { background:#0b3d55; }
.rc-jspe-footer { display:flex; justify-content:flex-end; gap:12px; padding:14px 24px 20px; border-top:1px solid #f1f5f9; background:#fafbfc; border-radius:0 0 18px 18px; }
.rc-jspe-footer .rc-jspe-save { background:#062837; color:#fff; border:0; padding:10px 20px; border-radius:10px; cursor:pointer; font-size:14px; font-weight:600; }
.rc-jspe-footer .rc-jspe-save:hover { background:#0b3d55; }
.rc-jspe-footer .rc-jspe-close { background:#e2e8f0; color:#062837; border:0; padding:10px 20px; border-radius:10px; cursor:pointer; font-size:14px; font-weight:500; }
.rc-jspe-footer .rc-jspe-close:hover { background:#cbd5e1; }
@keyframes rc-pop-in { 0% { opacity:0; transform:translateY(18px) scale(.98);} 100% { opacity:1; transform:translateY(0) scale(1);} }
@keyframes rc-fade-in { from { opacity:0;} to { opacity:1;} }
@keyframes rc-sheen { 0% { background-position:-200% 0;} 100% { background-position:200% 0;} }

/* Ensure edit form fits nicely inside JSPE modal (single column, scrolls) */
.rc-jspe-modal .rc-profile-edit-form { display:grid; grid-template-columns: 1fr !important; gap:18px; max-width: 100% !important; }
.rc-jspe-modal .rc-profile-edit-form fieldset.rc-group { grid-column: 1 / -1 !important; }
.rc-jspe-modal .rc-profile-edit-form .rc-grid { grid-template-columns: 1fr !important; gap:16px !important; }
.rc-jspe-modal .rc-profile-edit-form .rc-span-2 { grid-column: 1 / -1 !important; }
.rc-jspe-modal .rc-profile-edit-form input,
.rc-jspe-modal .rc-profile-edit-form select,
.rc-jspe-modal .rc-profile-edit-form textarea { max-width: 100%; }
.rc-jspe-modal .rc-multiselect,
.rc-jspe-modal .rc-multiselect-container { min-width: 0; }


/* Fix select rendering (text vertically clipped) inside Edit Profile modal */
.rc-profile-edit-form select {
	display: block;
	box-sizing: border-box;
	height: 46px;            /* enforce consistent control height */
	padding: 12px 14px;      /* vertical padding to center text */
	line-height: 1.35;       /* avoid clipping across browsers */
	border-radius: 10px;     /* match inputs */
}


@media (max-width:640px){
	.rc-login-form { padding:20px 22px; }
	.rc-login-form h3 { font-size:22px; }
	.rc-login-form .rc-role-radios { flex-direction:row; flex-wrap:wrap; gap:8px; }
	.rc-login-form .realcruits-btn-primary { width:100%; }
}


/* Profile View Styles */
.rc-profile-view {
	max-width: none;
}

/* Header actions for profile pages */
.rc-profile-header-actions { display:flex; align-items:center; justify-content:flex-end; margin:0 0 16px; gap:8px; flex-wrap:wrap; }
/* Make the Edit Profile button on the profile page match the smaller orange dashboard buttons */
.rc-profile-header-actions .realcruits-btn-primary {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid #E8B138;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.rc-profile-header-actions .realcruits-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* New location for the Edit Profile action under the status card */
.rc-profile-actions { text-align:left; margin-top:12px; }
.rc-profile-actions .realcruits-btn-primary {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid #E8B138;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	text-decoration: none !important;
}
.rc-profile-actions .realcruits-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Slightly larger name to balance 180px avatar */
#rc-profile-heading { font-size:22px; font-weight:700; margin: 8px 0 0; }

/* Profile summary (top card) */
.rc-profile-summary { margin-bottom: 12px; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
.rc-profile-summary-grid { display:grid; grid-template-columns: auto 1fr minmax(260px, 340px); gap: 18px 24px; align-items:center; }
.rc-summary-media { display:flex; align-items:center; justify-content:center; }
.rc-summary-main { align-self:center; }
.rc-summary-status { align-self:stretch; }
/* Space for the name’s action button */
.rc-summary-main .rc-profile-actions { margin-top: 8px; }
.rc-profile-summary a.realcruits-btn-primary,
.rc-profile-summary a.realcruits-btn-primary:hover,
.rc-profile-summary a.realcruits-btn-primary:focus,
.rc-profile-summary a.realcruits-btn-primary:visited { text-decoration: none !important; }

/* Detail grid under summary */
.rc-profile-detail-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items:start; margin-top: 8px; }
.rc-profile-detail-grid .rc-detail-right { display:grid; grid-template-rows: auto auto; gap:16px; }

/* Normalize card spacing inside the detail grid to rely on grid gap only */
.rc-profile-detail-grid .rc-info-card { margin-bottom: 0; }

@media (max-width: 900px){
	.rc-profile-summary-grid { grid-template-columns: auto 1fr; }
	.rc-summary-status { grid-column: 1 / -1; }
	.rc-profile-detail-grid { grid-template-columns: 1fr; }
}

/* Generic info row used in profile details */
.rc-info-row { display:grid; grid-template-columns:max-content 1fr; gap:8px; padding:12px 0; border-bottom:1px solid #f3f4f6; }

/* Profile header back link */
.rc-back-link {
	color:#6b7280;
	text-decoration:none;
	display:flex;
	align-items:center;
	gap:6px;
	font-size:14px;
	font-weight:500;
	padding:8px 12px;
	border-radius:8px;
	border:1px solid #e5e7eb;
	background:#f9fafb;
}
.rc-back-link svg { width:16px; height:16px; }

/* Avatar 200px circular */
.rc-avatar-200 {
	width:180px;
	height:180px;
	object-fit:cover;
	border-radius:50%;
	border:3px solid #e5e7eb;
	box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.rc-avatar-placeholder-200 {
	width:180px;
	height:180px;
	background:linear-gradient(135deg,#f1f5f9,#e2e8f0);
	border:3px solid #e5e7eb;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	margin:0 auto;
	box-shadow:0 4px 12px rgba(0,0,0,0.1);
	color:#6b7280;
}
.rc-avatar-status-dot { position:absolute; bottom:8px; right:8px; width:18px; height:18px; background:#E8B138; border:3px solid #fff; border-radius:50%; }
.rc-jid-badge { background:#f3f4f6; padding:4px 8px; border-radius:6px; font-family:monospace; font-size:12px; }

/* Profile grid and cards */
.rc-profile-two-col { display:grid; grid-template-columns:1fr 2fr; gap:28px; align-items:start; }
.rc-info-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; margin-bottom:20px; box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.rc-status-card { background:#fff; border:0; border-radius:12px; padding:14px; box-shadow:none; }
.rc-status-list { display:flex; flex-direction:column; gap:6px; font-size:13px; line-height:1.35; }
.rc-status-item { display:flex; align-items:center; gap:8px; padding:6px 8px; background:#f9fafb; border:1px solid #eef2f7; border-radius:8px; }
.rc-status-dot { width:8px; height:8px; border-radius:50%; }

/* Small status badges */
.rc-badge {
	display:inline-flex;
	width:18px;
	height:18px;
	align-items:center;
	justify-content:center;
	border-radius:4px;
	color:#fff;
	font-size:12px;
	font-weight:600;
}
.rc-badge--ok { background:#10b981; }
.rc-badge--error { background:#ef4444; }

/* Cropper UI */
.rc-cropper-form { display:grid; gap:10px; }
#rc-crop-canvas { border:1px dashed #d1d5db; border-radius:8px; background:#fff; touch-action:none; cursor:grab; }
.rc-crop-controls { display:flex; align-items:center; gap:8px; margin-top:6px; }
#rc-crop-hint { font-size:12px; color:#6b7280; }

/* Profile responsive tweaks */
@media (max-width: 768px) {
	.rc-profile-two-col { grid-template-columns: 1fr; gap: 24px; }
  .rc-profile-header-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .rc-profile-header-actions > * { justify-content: center; }
}

.rc-profile-avatar {
	text-align: center;
	margin-bottom: 24px;
}

.rc-profile-section {
	margin-bottom: 32px;
}

.rc-profile-section h4 {
	margin: 0 0 16px 0;
	font-size: 16px;
	font-weight: 600;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 8px;
}

.rc-profile-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 12px 24px;
}

.rc-profile-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rc-profile-field label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rc-profile-field span,
.rc-profile-field a {
	font-size: 14px;
	color: #374151;
	word-break: break-word;
}

.rc-profile-field a {
	color: #E8B138;
	text-decoration: none;
}

.rc-profile-field a:hover {
	text-decoration: underline;
}

/* Profile Edit Form Styles */
.rc-profile-edit-form {
	max-width: none;
}

.rc-form-section {
	margin-bottom: 32px;
}

.rc-form-section h4 {
	margin: 0 0 20px 0;
	font-size: 16px;
	font-weight: 600;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 8px;
}

.rc-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px 24px;
}

.rc-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rc-form-field.rc-span-2 {
	grid-column: 1 / -1;
}

.rc-form-field label {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
}

.rc-form-field input,
.rc-form-field select,
.rc-form-field textarea {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-form-field input:focus,
.rc-form-field select:focus,
.rc-form-field textarea:focus {
	outline: none;
	border-color: #E8B138;
	box-shadow: 0 0 0 3px rgba(232, 177, 56, 0.1);
}

/* Social Section Improved Spacing */
.rc-social-section {
	margin-top: 40px !important;
}

.rc-social-section h4 {
	margin-top: 8px !important;
}

.rc-social-grid {
	gap: 24px !important;
}

/* Languages Selector in Modal */
.rc-languages-selector {
	position: relative;
}

.rc-tags-container {
	min-height: 48px;
	padding: 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #f9fafb;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: flex-start;
}

.rc-tags-container .rc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rc-tags-container .rc-tag-input {
	border: none;
	background: none;
	outline: none;
	flex: 1;
	min-width: 120px;
	padding: 4px;
	font-size: 14px;
}

/* Phone group: single canonical definition already above (.rc-phone-group ...) */

/* Location Selector Component */
.rc-location-selector {
	margin: 16px 0;
}

.rc-location-selects {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.rc-location-selects select {
	flex: 1;
	min-width: 180px;
}

.rc-location-actions {
	margin-bottom: 12px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rc-location-actions button {
	font-size: 12px;
	padding: 6px 12px;
	line-height: 1.4;
}



/* Edit Modal Multiselect: rely on the canonical styles defined earlier for .rc-multiselect and .rc-suggestions.
	Keep only the modal-specific max-height tweak. */
.rc-jspe-modal .rc-suggestions { max-height: 240px; }

/* Dashboard grid on dashboard page */
.rc-dashboard-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; align-items:stretch; }
@media (max-width: 900px){ .rc-dashboard .rc-dashboard-grid{ grid-template-columns:1fr; } }

/* New two-column layout for dashboard */
.rc-dashboard-2col { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }
@media (max-width: 900px){ .rc-dashboard-2col { grid-template-columns:1fr; } }
.rc-dash-right { display:grid; grid-template-rows:auto auto; gap:16px; }

/* Snapshot card enhancements */
.rc-snapshot { padding:24px; }
.rc-snap-header { display:flex; align-items:flex-start; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.rc-snap-avatar { width:96px; height:96px; border-radius:50%; object-fit:cover; border:3px solid #e5e7eb; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
.rc-snap-avatar--placeholder { background:linear-gradient(135deg,#f1f5f9,#e2e8f0); display:inline-block; }
.rc-snap-meta { flex:1; min-width:0; }
.rc-snap-title { font-size:18px; font-weight:700; color:#1f2937; margin:0 0 2px; }
.rc-snap-sub { font-size:14px; color:#374151; margin-bottom:6px; }
.rc-snap-chips { display:flex; flex-wrap:wrap; gap:6px; }
.rc-chip { display:inline-block; background:#f3f4f6; color:#374151; border:1px solid #e5e7eb; border-radius:999px; padding:5px 10px 4px 10px; font-size:12px; font-weight:600; }
/* Category tints, now darker and more subdued */
.rc-chip--role { background:#f5ead8; border-color:#d8c5a5; color:#4a3312; }
/* Blue palette — use for Experience and Languages */
/* Muted professional palette refinement */
.rc-chip--exp { background:#f8efd4; border-color:#e2d2aa; color:#5a4512; }
.rc-chip--lang { background:#d1dde8; border-color:#a7b9c6; color:#203642; }
/* Availability (neutral green) */
.rc-chip--avail { background:#d4e8dc; border-color:#afc9b9; color:#1e4a2d; }
/* Location (soft teal-grey) */
.rc-chip--loc { background:#d7e5e4; border-color:#b3c9c7; color:#244340; }
.rc-snap-grid { display:grid; grid-template-columns:repeat(2,minmax(140px,1fr)); gap:10px 16px; align-items:start; margin-top:12px; }
.rc-snap-field { display:flex; flex-direction:column; gap:4px; }
.rc-snap-field label { font-size:12px; font-weight:600; color:#6b7280; text-transform:uppercase; letter-spacing:.4px; }
.rc-snap-actions { display:flex; gap:10px; margin-top:6px; }

/* Thin progress styling override */
.rc-progress--thin { height:10px; margin:8px 0 12px; }
.rc-progress--thin .rc-progress-label { font-size:11px; color:#374151; }

/* Account Settings polish (scoped) */
.rc-account-settings h3 { font-size:26px; font-weight:700; color:#062837; margin:0 0 10px; letter-spacing:.3px; }
.rc-account-settings .rc-account-intro { margin:0 0 14px; color:#6b7280; font-size:14px; }
.rc-account-settings .realcruits-form { background:transparent; box-shadow:none; }
.rc-account-settings .rc-fieldset { border:0; padding:0; margin:0 0 8px; }
.rc-account-settings .rc-fieldset > legend { display:block; font-size:16px; font-weight:700; color:#374151; margin:12px 0 8px; }
.rc-visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.rc-account-settings .rc-grid { row-gap:18px; }
.rc-account-settings label { font-weight:600; color:#052130; }
.rc-account-settings .realcruits-btn-primary { padding:12px 22px; border-radius:14px; }
/* Fix clipped selects on Account settings (Nationality, Gender, Phone CC) */
.rc-account-settings .realcruits-form select {
	display:block;
	box-sizing:border-box;
	height:46px;
	padding:12px 14px;
	line-height:1.35;
	border-radius:16px;
}

/* Employer Edit Modal spacing tweaks (scoped) */
#rc-emp-modal .rc-jspe-dialog { max-width: 980px; }
#rc-emp-modal .rc-jspe-header { padding: 20px 28px 14px; gap: 14px; }
#rc-emp-modal .rc-jspe-body { padding: 18px 28px 28px; }
#rc-emp-modal .rc-jspe-footer { padding: 16px 28px 22px; }
#rc-emp-modal .rc-section { margin-bottom: 20px; }
#rc-emp-modal .rc-grid { row-gap: 18px !important; }
#rc-emp-modal .rc-grid > label { margin-bottom: 6px; }
#rc-emp-modal .rc-small-note { margin-top: 6px; }
#rc-emp-modal .rc-multiselect-container.rc-flat { padding-top: 2px; }

/* Utility classes to remove one-off inline styles */
.rc-sec-title { margin:0 0 10px; }
.rc-flex { display:flex; }
.rc-flex-col { display:flex; flex-direction:column; }
.rc-items-center { align-items:center; }
.rc-gap-8 { gap:8px; }
.rc-gap-10 { gap:10px; }
.rc-gap-12 { gap:12px; }
.rc-gap-14 { gap:14px; }
.rc-grid-1col { grid-template-columns:1fr; }
.rc-m-0 { margin:0; }
.rc-mb-8 { margin-bottom:8px; }
.rc-mb-10 { margin-bottom:10px; }
.rc-mb-12 { margin-bottom:12px; }
.rc-mb-14 { margin-bottom:14px; }
.rc-mb-18 { margin-bottom:18px; }
.rc-mb-20 { margin-bottom:20px; }
.rc-mt-16 { margin-top:16px; }
.rc-mt-18 { margin-top:18px; }
.rc-mt-24 { margin-top:24px; }
.rc-self-start { align-self:flex-start; }
.rc-w-220 { width:220px; }
.rc-col-1 { grid-column:1; }
.rc-col-2 { grid-column:2; }
.rc-inline-block { display:inline-block; }
.rc-relative { position:relative; }
.rc-text-center { text-align:center; }
.rc-text-sm { font-size:13px; }
.rc-text-muted { color:#6b7280; }
.rc-text-body { color:#374151; }
.rc-break-all { word-break:break-all; }
.rc-max-w-780 { max-width:780px; }
.rc-max-w-480 { max-width:480px; }
.rc-avatar-64 { width:64px; height:64px; }
.rc-flex-wrap { flex-wrap:wrap; }
.rc-gap-4 { gap:4px; }
.rc-text-xs { font-size:12px; }
.rc-text-14 { font-size:14px; }
.rc-text-dim { color:#555; }
.rc-py-10 { padding-top:10px; padding-bottom:10px; }
.rc-gap-6 { gap:6px; }
.rc-border-b { border-bottom:1px solid #eee; }
.rc-grid-labels-110 { display:grid; grid-template-columns:110px 1fr; gap:6px; }
.rc-label { font-size:15px; color:#1f2937; font-weight:600; }

/* Pagination styling */
.rc-pagination { display:flex; justify-content:center; }
.rc-pager { list-style:none; margin:0; padding:0; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.rc-pager li { list-style:none; }
.rc-page-link { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 10px; border-radius:8px; border:1px solid #e5e7eb; background:#fff; color:#062837; font-size:14px; font-weight:600; text-decoration:none; }
.rc-page-link:hover { background:#f8fafc; }
.rc-page-link.rc-current { background: var(--rc-primary); border-color: var(--rc-primary); color:#062837; cursor:default; }
.rc-page-link.rc-disabled { color:#9aa2ab; background:#f9fafb; border-color:#e5e7eb; cursor:not-allowed; }
.rc-page-link:focus { outline:2px solid rgba(232,177,56,.35); outline-offset:2px; }
.rc-info-row span:not(.rc-label),
.rc-info-row a { font-size:13px; color:#6b7280; }
.rc-info-row a { text-decoration:none; }
.rc-info-row a:hover { text-decoration:underline; }

/* Dashboard label/value emphasis switch: labels prominent, values muted */
.rc-dashboard .rc-snap-field label { font-size:15px; color:#1f2937; font-weight:600; text-transform:none; letter-spacing:normal; }
.rc-dashboard .rc-snap-field > span { font-size:13px; color:#6b7280; }
.rc-dashboard .rc-snap-field > span a { color:inherit; text-decoration:none; }
.rc-dashboard .rc-snap-field > span a:hover { text-decoration:underline; }

/* Minor utility additions for this sweep */
.rc-gap-20 { gap:20px; }
.rc-gap-16 { gap:16px; }
.rc-fw-600 { font-weight:600; }
.rc-justify-between { justify-content: space-between; }
.rc-mt-12 { margin-top:12px; }
.rc-p-12 { padding:12px; }

/* Generic card style (reused outside dashboard) */
.rc-card { background:#fff; border:1px solid var(--rc-border); border-radius:12px; padding:16px; box-shadow:0 1px 3px rgba(0,0,0,0.08); }

/* Cards grid for browse results */
.rc-grid.rc-grid-cards { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
@media (max-width: 760px){ .rc-grid.rc-grid-cards { grid-template-columns: 1fr; } }

/* Subtle divider under modules */
.rc-divider { border:0; height:1px; background: var(--rc-border); }

/* Slight blur for candidate avatars on browse cards to discourage reverse image search */
.rc-avatar-blur {
	filter: blur(2px);
	-webkit-filter: blur(2px);
	pointer-events: none;
	user-select: none;
}

/* Emphasize candidate role on browse cards */
.rc-candidate-card .rc-role-line {
	font-weight: 700;
	font-size: 16px;
	color: #062837;
}
.rc-candidate-card .rc-role-line.rc-match {
	position: relative;
	background: #f5ead8;
	border-radius: 6px;
	padding: 2px 6px;
}
.rc-candidate-card .rc-role-line.rc-soft {
	background: #f2e5cb;
	border-radius: 6px;
	padding: 2px 6px;
}
.rc-candidate-card .rc-role-line.rc-match::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 1.2em;
	background: #d5a12f;
	border-radius: 2px;
	margin-right: 6px;
	vertical-align: middle;
}

/* Candidate ID demoted to secondary */
.rc-candidate-card .rc-candidate-id {
	font-size: 13px;
	color: var(--rc-muted);
}

/* Compact chips row for scanability */
.rc-browse-chips .rc-chip { padding: 5px 10px 4px 10px; }
.rc-chip--match {
	background: #d5a12f;
	border-color: #b88722;
	color: #062837;
}
.rc-chip--soft {
	background: #f2e5cb;
	border-color: #e2c990;
	color: #5c4a1a;
}
.rc-browse-loc { color: #374151; }

/* Two-by-two chip grid for browse cards */
.rc-chip-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
}
.rc-chip-grid .rc-chip {
	white-space: normal;
	line-height: 1.35;
}

/* Tiered match backgrounds & badges */
.rc-tier { position:relative; }
.rc-tier--bronze { background:linear-gradient(180deg,#ffffff,#fbf7ef); box-shadow:0 1px 3px rgba(0,0,0,0.06); }
.rc-tier--silver { background:linear-gradient(180deg,#ffffff,#eef2f5); box-shadow:0 2px 8px rgba(0,0,0,0.10); }
.rc-tier--gold { background:linear-gradient(175deg,#fffdfa,#f3e4c5); box-shadow:0 3px 12px rgba(0,0,0,0.12); }
.rc-tier--perfect { background:linear-gradient(170deg,#fffef8,#f1e2b3); box-shadow:0 4px 16px rgba(0,0,0,0.14); border:1px solid #d9b867; }
.rc-tier-badge { display:inline-block; margin-top:4px; font-size:11px; font-weight:700; letter-spacing:.5px; padding:2px 8px 1px; border-radius:12px; background:#eef2f7; color:#374151; }
.rc-tier-badge--bronze { background:#b88a45; color:#1f2937; }
.rc-tier-badge--silver { background:#bfc9d4; color:#1f2937; }
.rc-tier-badge--gold { background:#c99624; color:#062837; }
.rc-tier-badge--perfect { background:#b88722; color:#062837; box-shadow:0 0 0 2px rgba(232,177,56,.35); }
.rc-candidate-card[data-tier="perfect"] .rc-chip--match { background:#d5a12f; border-color:#b88722; }
.rc-candidate-card[data-tier="perfect"] .realcruits-btn-ghost:focus-visible { outline-color:#b88722; }

/* Browse filter bar layout utilities */
.rc-grid-3col { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
.rc-grid-2col { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
@media (max-width: 980px){ .rc-grid-3col { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }
@media (max-width: 680px){ .rc-grid-3col, .rc-grid-2col { grid-template-columns: 1fr; } }

/* Right-aligned actions on filter bar + small buttons like dashboard */
.rc-filter-actions { display:flex; justify-content:flex-end; gap:8px; }
.rc-filter-bar .realcruits-btn-primary,
.rc-filter-bar .realcruits-btn-secondary,
.rc-filter-bar button.realcruits-btn-primary {
	padding:8px 16px;
	border-radius:8px;
	font-size:13px;
	line-height:1.4;
	box-shadow:0 1px 2px rgba(0,0,0,0.1);
}
.rc-filter-bar .realcruits-btn-primary { border:1px solid var(--rc-primary); }
.rc-filter-bar .realcruits-btn-secondary { background:#f8fafc; color:var(--rc-body); border:1px solid #d1d5db; }
.rc-filter-bar .realcruits-btn-primary:hover { transform:translateY(-1px); box-shadow:0 2px 4px rgba(0,0,0,0.15); }
.rc-filter-bar .realcruits-btn-secondary:hover { background:#f1f5f9; color:#1f2937; transform:translateY(-1px); }
/* Ensure consistent field visuals and alignment inside filter bar */
.rc-filter-bar label { display:flex; flex-direction:column; gap:6px; }
.rc-filter-bar select { height:46px; border-radius:16px; background:#f8fafc; border:1px solid var(--rc-border-2); color:#062837; }
/* Nudge Community select down slightly; keep Availability aligned with Languages */
.rc-filter-bar #rc-prof-community { margin-top: 8px; }
.rc-filter-bar #rc-filter-availability { margin-top: 0; }
.rc-filter-bar .rc-multiselect-container.rc-flat { min-height:46px; padding:4px 0; border-radius:0; border:0; background:transparent; display:flex; align-items:center; box-shadow:none; }
.rc-filter-bar .rc-multiselect-container.rc-flat:focus-within { outline:0; box-shadow:none; border-color:transparent; }
.rc-filter-bar .rc-multiselect input[type=text] { background:transparent; border:0; padding:6px 4px; color:#0b2742; }
.rc-filter-bar .rc-multiselect input[type=text]::placeholder { color:#6b7280; }
.rc-filter-bar .rc-multiselect-tags .tag, .rc-filter-bar .rc-tag { background:#eef2f7; color:#0b2742; border-radius:12px; padding:4px 8px; }
/* When tags are below the field, add a little spacing */
.rc-filter-bar .rc-multiselect-tags { margin-top: 6px; }

/* Make languages multiselect look like a select in filter bar */
.rc-filter-bar .rc-multiselect.rc-flat { min-height:46px; padding: 10px 12px; border:1px solid var(--rc-border-2); border-radius:16px; background:#f8fafc; display:flex; align-items:center; }
.rc-filter-bar .rc-multiselect.rc-flat:focus-within { outline:0; box-shadow:0 0 0 3px rgba(14,165,233,0.2); border-color:#0ea5e9; }
.rc-filter-bar #rc-lang-input { padding:0; margin:0; height:24px; font-size:14px; color:#062837; background:transparent; border:0; }
/* Experience slider layout (single track, two handles) */
.rc-exp-sliders { position:relative; height:32px; margin-top:6px; --a:0%; --b:100%; }
/* Base track */
.rc-exp-sliders::before { content:""; position:absolute; left:0; right:0; top:50%; height:4px; transform:translateY(-50%); border-radius:999px; background:var(--rc-border); }
/* Selected range highlight (only the chosen interval; shows full when full range selected) */
.rc-exp-sliders::after { content:""; position:absolute; top:50%; height:4px; transform:translateY(-50%); border-radius:999px; left:var(--a); right:calc(100% - var(--b)); background:#0ea5e9; }
.rc-exp-sliders input[type=range] { position:absolute; left:0; right:0; top:0; bottom:0; width:100%; margin:0; background:transparent; pointer-events:none; -webkit-appearance:none; appearance:none; }
.rc-exp-sliders input[type=range] { background-color: transparent !important; border: 0 !important; }
.rc-exp-sliders input[type=range] { z-index:1; }
.rc-exp-sliders .rc-exp-max { z-index:2; }
.rc-exp-sliders .rc-exp-min { z-index:3; }
/* Remove default focus outline that visually conflicts with our custom track */
.rc-exp-sliders input[type=range]:focus { outline: none; }
.rc-exp-sliders input[type=range]::-moz-focus-outer { border: 0; }
.rc-exp-sliders input[type=range]::-webkit-slider-runnable-track { height:4px; background:transparent; border:0; box-shadow:none; background-image:none; }
.rc-exp-sliders input[type=range]:focus::-webkit-slider-runnable-track { background:transparent; border:0; box-shadow:none; background-image:none; }
.rc-exp-sliders input[type=range]::-moz-range-track { height:4px; background:transparent; border:0; box-shadow:none; }
.rc-exp-sliders input[type=range]:focus::-moz-range-track { background:transparent; border:0; box-shadow:none; }
/* Firefox lower/upper progress portions */
.rc-exp-sliders input[type=range]::-moz-range-progress { background:transparent; border:0; }
/* Legacy/IE Edge track pieces */
.rc-exp-sliders input[type=range]::-ms-track { height:4px; background:transparent; border-color:transparent; color:transparent; }
.rc-exp-sliders input[type=range]:focus::-ms-track { background:transparent; border-color:transparent; color:transparent; }
.rc-exp-sliders input[type=range]::-ms-fill-lower,
.rc-exp-sliders input[type=range]::-ms-fill-upper { background:transparent; border:0; }
.rc-exp-sliders, .rc-exp-sliders:focus, .rc-exp-sliders:focus-within { outline: none; }
.rc-exp-sliders input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:18px; height:18px; background:#0ea5e9; border:2px solid #fff; border-radius:999px; box-shadow:0 0 0 1px rgba(0,0,0,0.08); pointer-events:auto; position:relative; }
.rc-exp-sliders input[type=range]::-moz-range-thumb { width:18px; height:18px; background:#0ea5e9; border:2px solid #fff; border-radius:999px; box-shadow:0 0 0 1px rgba(0,0,0,0.08); pointer-events:auto; position:relative; }
.rc-exp-sliders.rc-exp-same .rc-exp-max::-webkit-slider-thumb { transform:translateX(6px); }
.rc-exp-sliders.rc-exp-same .rc-exp-min::-webkit-slider-thumb { transform:translateX(-6px); }
.rc-exp-sliders.rc-exp-same .rc-exp-max::-moz-range-thumb { transform:translateX(6px); }
.rc-exp-sliders.rc-exp-same .rc-exp-min::-moz-range-thumb { transform:translateX(-6px); }
.rc-exp-display { font-size:12px; color:#6b7280; margin-top:6px; }

/* Detail pairs 2x2 inside candidate cards */
.rc-pairs { display:grid; grid-template-columns: 1fr 1fr; gap:10px 16px; }
.rc-pair { display:grid; grid-template-columns: 110px 1fr; gap:6px; align-items:baseline; }
@media (max-width:700px){ .rc-pairs { grid-template-columns: 1fr; } }

/* Small buttons on candidate cards (match dashboard/filter small size) */
.rc-candidate-card .realcruits-btn-primary,
.rc-candidate-card .realcruits-btn-secondary {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.rc-candidate-card .realcruits-btn-primary:hover,
.rc-candidate-card .realcruits-btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.15); }

/* Divider under section headings inside Browse modal */
#rc-browse-modal .rc-info-card h4 {
	border-bottom: 1px solid var(--rc-border);
	padding-bottom: 4px;
	margin: 4px 0 10px; /* tighter heading spacing in modal cards */
}

/* Leader line rows (used across sections in Browse modal) */
#rc-browse-modal .rc-line-row { display:flex; align-items:center; gap:8px; margin:4px 0; }
#rc-browse-modal .rc-line-row .rc-line-label { font-size:14px; font-weight:600; color:#374151; }
#rc-browse-modal .rc-line-row .rc-line { flex:1; border-bottom:1px dashed #e5e7eb; height:0; }
#rc-browse-modal .rc-line-row .rc-line-value { display:inline-flex; align-items:center; gap:8px; }

/* Browse modal title with avatar */
#rc-browse-modal .rc-browse-title { display:flex; align-items:center; gap:10px; }
#rc-browse-modal .rc-header-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid #e5e7eb; }

/* Smaller badges/icons inside modal (docs & relocate rows) */
#rc-browse-modal .rc-badge {
	width: 16px;
	height: 16px;
	font-size: 11px;
}

/* Slimmer, more compact chips in modal */

#rc-browse-modal .rc-chip {
	padding: 4px 8px 3px 8px; /* add 1px back under chips */
	max-width: 100%;
	white-space: normal;
	word-break: break-word;
	line-height: 1.25;
}

/* Price box styling in Browse modal */
#rc-browse-modal .rc-price-box {
	background: linear-gradient(180deg,#ffffff,#f6f9fc);
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 16px 18px 12px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 220px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	position: relative;
}
#rc-browse-modal .rc-price-pill {
	display: inline-block;
	background: #eef2f7;
	color: #062837;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	padding: 8px 16px 7px;
	font-weight: 700;
	font-size: 15px;
	text-align: center;
}
#rc-browse-modal .rc-price-box .rc-btn-sm { width:100%; justify-content:center; }
#rc-browse-modal .rc-price-box .realcruits-btn-secondary.rc-btn-sm { background:#062837; color:#fff; border:1px solid #062837; }
#rc-browse-modal .rc-price-box .realcruits-btn-secondary.rc-btn-sm:hover { background:#0b3d55; }
#rc-browse-modal .rc-price-box .realcruits-btn-primary.rc-btn-sm { background: var(--rc-primary); color:#062837; border:1px solid var(--rc-primary); }
#rc-browse-modal .rc-price-box .realcruits-btn-primary.rc-btn-sm:hover { background:#f3c462; }
#rc-browse-modal .rc-price-box .rc-price-note { margin-top:10px; }
#rc-browse-modal .rc-price-box:focus-within { box-shadow:0 0 0 3px rgba(14,165,233,.25); }
#rc-browse-modal .rc-price-box:hover { box-shadow:0 4px 12px -2px rgba(0,0,0,0.12); }

#rc-browse-modal .rc-price-note { color:#6b7280; font-size:12px; margin-top:10px; }
#rc-browse-modal .rc-price-link a { color:#374151; text-decoration:none; font-size:12px; }
#rc-browse-modal .rc-price-link a:hover { text-decoration:underline; }

/* Subtle hover affordance on price box */
#rc-browse-modal .rc-price-box:hover { box-shadow: 0 0 0 2px rgba(14,165,233,0.15); border-radius: 12px; transition: box-shadow .15s ease; }

/* Strong visible focus for CTA on yellow background */
#rc-browse-modal .realcruits-btn-primary:focus { outline: 2px solid #062837; outline-offset: 2px; }

/* Footer link at bottom-left of the bottom card */
#rc-browse-modal .rc-browse-footer { margin-top: 14px; margin-bottom: -14px; }
#rc-browse-modal .rc-browse-footer a { font-size:12px; color:#374151; text-decoration:none; }
#rc-browse-modal .rc-browse-footer a:hover { text-decoration: underline; }
/* Small CTA button inside price box */
#rc-browse-modal .rc-btn-sm.realcruits-btn-primary,
#rc-browse-modal .rc-btn-sm.realcruits-btn-secondary {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
#rc-browse-modal .rc-btn-sm.realcruits-btn-primary:hover,
#rc-browse-modal .rc-btn-sm.realcruits-btn-secondary:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Subtle outline/ghost button used for View profile */
.realcruits-btn-ghost {
	background: #fff;
	color: #062837;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.realcruits-btn-ghost:hover { background:#f8fafc; border-color:#cbd5e1; }
.realcruits-btn-ghost .rc-chev { margin-left:6px; }
/* Ensure 'View profile' text remains readable on hover (Browse/Unlocked cards) */
.realcruits-btn-ghost.rc-view-profile:hover { color:#062837; }
.realcruits-btn-ghost.rc-view-profile:hover .rc-chev { color:#062837; }
/* Small button utility */
.rc-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

/* Equal height + tighter grid spacing for the two top cards in modal */
#rc-browse-modal .rc-grid.rc-grid-2col { align-items: stretch; gap: 12px 16px; }
#rc-browse-modal .rc-grid.rc-grid-2col > .rc-info-card { height: 100%; margin-bottom: 0; padding: 14px 16px 12px; }

/* Chip wrap utility (global and modal) */
.rc-chip-wrap { display:inline-flex; flex-wrap:wrap; gap:6px; }
#rc-browse-modal .rc-chip-wrap { display:inline-flex; flex-wrap:wrap; gap:6px; }

/* (Removed legacy +N chip style: no longer used) */

/* No-wrap helper for short values like salary */
.rc-nowrap { white-space: nowrap; }

/* Inline spinner for Unlocking… */
.rc-btn-spinner { width:14px; height:14px; border:2px solid rgba(255,255,255,.7); border-top-color: transparent; border-radius:50%; display:inline-block; margin-right:8px; vertical-align:middle; animation:rc-spin .9s linear infinite; }
@keyframes rc-spin { from { transform: rotate(0);} to { transform: rotate(360deg);} }

/* Accessibility: clear focus indicators for interactive elements on Browse page */
.rc-chip:focus-visible,
.rc-page-link:focus-visible,
.realcruits-btn-primary:focus-visible,
.realcruits-btn-secondary:focus-visible,
.realcruits-btn-ghost:focus-visible {
	outline: 2px solid var(--rc-primary, #E8B138);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Results meta line under Browse title */
.rc-results-meta { margin-top: 2px; }
/* Matches page layout & cards */
.rc-matches-page .rc-match-cards { display:grid; grid-template-columns:1fr; gap:16px; margin-top:16px; }
@media (min-width:860px){ .rc-matches-page .rc-match-cards { grid-template-columns:1fr 1fr; } }
.rc-match-card { position:relative; padding:18px 20px 16px; }
.rc-match-inner { display:flex; flex-direction:column; gap:14px; }
@media (min-width:640px){ .rc-match-inner { flex-direction:row; gap:18px; } }
.rc-match-col { display:flex; gap:14px; align-items:flex-start; flex:1; min-width:0; }
.rc-company-name { font-size:16px; font-weight:600; margin:0 0 2px; color:#1f2937; }
.rc-unlocked-meta { margin-top:2px; }
.rc-label-sm { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; color:#6b7280; }
.rc-rec-line, .rc-meta-line { display:flex; gap:4px; line-height:1.3; margin:2px 0; align-items:baseline; }
.rc-match-card .rc-chip { font-size:11px; padding:4px 8px 3px; }
.rc-match-card .rc-chip-wrap { margin-top:6px; }
.rc-match-card a.rc-inline-link { color:#0a3a52; text-decoration:none; }
.rc-match-card a.rc-inline-link:hover { text-decoration:underline; }
.rc-match-card:hover { box-shadow:0 4px 18px -2px rgba(0,0,0,0.12); }

