

:root {
  --list-employe-primary: #8238c3;
  --list-employe-primary-dark: #6b2d9f;
  --list-employe-primary-light: #f3ebff;
  --list-employe-primary-subtle: #faf7ff;
  --list-employe-text-dark: #111827;
  --list-employe-text-medium: #374151;
  --list-employe-text-gray: #6b7280;
  --list-employe-text-light: #9ca3af;
  --list-employe-border: #e5e7eb;
  --list-employe-border-light: #f3f4f6;
  --list-employe-bg: #fafafa;
  --list-employe-white: #ffffff;
  --list-employe-success: #10b981;
  --list-employe-success-light: #d1fae5;
  --list-employe-warning: #f59e0b;
  --list-employe-warning-light: #fef3c7;
  --list-employe-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --list-employe-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  --list-employe-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --list-employe-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family:
      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
  background-color: var(--list-employe-bg);
  color: var(--list-employe-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.list-employe-header {
  background-color: var(--list-employe-white);
  box-shadow: var(--list-employe-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--list-employe-border-light);
}

.list-employe-header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding:1rem 1.5rem ;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-employe-header-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.list-employe-header-logo img {
width: 120px;
}

.list-employe-header-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.list-employe-header-btn {
  padding: 0.5rem 1.25rem;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.list-employe-header-btn i {
  font-size: 0.9375rem;
}

.list-employe-header-btn-primary {
  background-color: var(--list-employe-primary);
  color: var(--list-employe-white);
}

.list-employe-header-btn-outline {
  background-color: transparent;
  color: var(--list-employe-text-medium);
  border: 2px solid var(--list-employe-border);
}

.list-employe-header-btn-outline:hover {
  background-color: var(--list-employe-border);
  color: var(--list-employe-text-dark);
}
/* Main Content */
.list-employe-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  min-height: calc(100vh - 180px);
  flex: 1;
}

/* Search Section - Full Width */
.list-employe-search-section {
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Search row: search bar + filter button on same line */
.list-employe-search-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1rem;
}

.list-employe-search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.list-employe-search-wrapper {
  position: relative;
}

.list-employe-search-input {
  width: 100%;
  padding: 0.5rem .8rem 0.5rem 2.5rem;
  border: 1px solid var(--list-employe-border);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: var(--list-employe-text-dark);
  background-color: var(--list-employe-white);
}

.list-employe-search-input::placeholder {
  color: var(--list-employe-text-light);
}

.list-employe-search-input:focus {
  outline: none;
  border-color: var(--list-employe-primary);
  box-shadow: 0 0 0 4px var(--list-employe-primary-light);
}

.list-employe-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--list-employe-text-gray);
  font-size: 0.875rem;
}

/* Filter button - visible on all screens, same line as search bar */
.list-employe-btn-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: .4rem .8rem;
  /* min-height: 48px; */
  min-width: 120px;
  background-color: var(--list-employe-primary);
  color: var(--list-employe-white);
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.list-employe-btn-filters:hover {
  background-color: var(--list-employe-primary-dark);
  box-shadow: var(--list-employe-shadow-md);
}

.list-employe-btn-filters:active {
  transform: scale(0.98);
}

.list-employe-btn-filters i {
  font-size: 1rem;
}

/* Filter Row (hidden: filters only via sidebar on all screens) */
.list-employe-filters {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.list-employe-filter-select {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  border: 1px solid var(--list-employe-border);
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  background-color: var(--list-employe-white);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--list-employe-text-medium);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%236b7280' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.list-employe-filter-select:focus {
  outline: none;
  border-color: var(--list-employe-primary);
  box-shadow: 0 0 0 4px var(--list-employe-primary-light);
}

/* Improve option padding where supported (e.g. Firefox, some browsers) */
.list-employe-filter-select option {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

/* Custom multi-select dropdown */
.list-employe-multiselect {
  position: relative;
  width: 100%;
}

.list-employe-multiselect-trigger {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem 0.75rem 1rem;
  border: 1px solid var(--list-employe-border);
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  background-color: var(--list-employe-white);
  color: var(--list-employe-text-medium);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.list-employe-multiselect-trigger:hover {
  border-color: var(--list-employe-border);
}

.list-employe-multiselect.open .list-employe-multiselect-trigger {
  border-color: var(--list-employe-primary);
  box-shadow: 0 0 0 4px var(--list-employe-primary-light);
}

.list-employe-multiselect-trigger i.fa-chevron-down {
  font-size: 0.75rem;
  color: var(--list-employe-text-gray);
  transition: transform 0.2s ease;
}

.list-employe-multiselect.open
  .list-employe-multiselect-trigger
  i.fa-chevron-down {
  transform: rotate(180deg);
}
.list-employe-multiselect-trigger-text {
  color: #999;
}
.list-employe-multiselect-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--list-employe-white);
  border: 1px solid var(--list-employe-border);
  border-radius: 10px;
  box-shadow: var(--list-employe-shadow-lg);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.list-employe-multiselect.open .list-employe-multiselect-panel {
  display: block;
}

.list-employe-multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--list-employe-text-dark);
  cursor: pointer;
  transition: background-color 0.15s ease;
  border: none;
  width: 100%;
  text-align: left;
  background: none;
}

.list-employe-multiselect-option:hover {
  background-color: #6c2d9f12;
}

.list-employe-multiselect-option.selected {
  font-weight: 500;
  color: var(--list-employe-text-dark);
}

.list-employe-multiselect-option .list-employe-multiselect-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--list-employe-primary);
  font-size: 0.75rem;
}

.list-employe-multiselect-option
  .list-employe-multiselect-check:empty::before,
.list-employe-multiselect-option:not(.selected)
  .list-employe-multiselect-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--list-employe-border);
  border-radius: 4px;
}

.list-employe-multiselect-option.selected
  .list-employe-multiselect-check
  i {
  display: block;
}

.list-employe-multiselect-option.selected
  .list-employe-multiselect-check::before {
  display: none;
}

.list-employe-multiselect-option:not(.selected)
  .list-employe-multiselect-check
  i {
  display: none;
}

/* Sidebar multi-select (checkbox list, no dropdown) */
.list-employe-multiselect-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.list-employe-multiselect-sidebar-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0 ;
  font-size: 0.875rem;
  color: var(--list-employe-text-dark);
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.15s ease;
  border: 1px solid transparent;
}

/* .list-employe-multiselect-sidebar-option:hover {
  background-color: #6c2d9f12;
} */

.list-employe-multiselect-sidebar-option.selected {
  font-weight: 500;
}

.list-employe-multiselect-sidebar-option
  .list-employe-multiselect-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--list-employe-primary);
  font-size: 0.75rem;
}

.list-employe-multiselect-sidebar-option
  .list-employe-multiselect-check:empty::before,
.list-employe-multiselect-sidebar-option:not(.selected)
  .list-employe-multiselect-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--list-employe-border);
  border-radius: 4px;
}

.list-employe-multiselect-sidebar-option.selected
  .list-employe-multiselect-check
  i {
  display: block;
}

.list-employe-multiselect-sidebar-option.selected
  .list-employe-multiselect-check::before {
  display: none;
}

.list-employe-multiselect-sidebar-option:not(.selected)
  .list-employe-multiselect-check
  i {
  display: none;
}

/* Active filter tags row */
.list-employe-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 0;
  min-height: 44px;
}

.list-employe-active-filters-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.list-employe-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background-color: var(--list-employe-border-light);
  color: var(--list-employe-text-dark);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.list-employe-filter-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: none;
  color: var(--list-employe-text-gray);
  cursor: pointer;
  border-radius: 50%;
  transition:
      color 0.2s ease,
      background-color 0.2s ease;
}

.list-employe-filter-tag-remove:hover {
  color: var(--list-employe-text-dark);
  background-color: var(--list-employe-border);
}

.list-employe-filter-tag-remove i {
  font-size: 0.625rem;
}

.list-employe-active-filters-clear-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-employe-active-filters-sep {
  width: 1px;
  height: 1.25rem;
  background-color: var(--list-employe-border);
}

.list-employe-clear-filters-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--list-employe-text-medium);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-employe-clear-filters-link:hover {
  color: var(--list-employe-primary);
}

/* Mobile Sidebar */
.list-employe-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.list-employe-overlay.list-employe-active {
  opacity: 1;
  visibility: visible;
}

.list-employe-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--list-employe-white);
  z-index: 1000;
  transition: right 0.3s ease, box-shadow 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.list-employe-sidebar.list-employe-active {
  right: 0;
}

.list-employe-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem  1.5rem;
  background-color: var(--list-employe-white);
  border-bottom: 1px solid var(--list-employe-border-light);
  flex-shrink: 0;
}

.list-employe-sidebar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--list-employe-text-dark);
  margin: 0;
  /* line-height: 1.3; */
}

.list-employe-sidebar-close {
  background: var(--list-employe-border-light);
  border: none;
  font-size: 1.125rem;
  color: var(--list-employe-text-gray);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.list-employe-sidebar-close:hover {
  background: var(--list-employe-border);
  color: var(--list-employe-text-dark);
}

.list-employe-sidebar-content {
  padding: 1.5rem;
}

.list-employe-filter-group {
  margin-bottom: 1rem;
}

.list-employe-filter-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--list-employe-text-dark);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.list-employe-filter-label i {
  /* color: var(--list-employe-text-gray); */
  font-size: 1rem;
}

.list-employe-sidebar-actions {
  padding: 1rem;
  border-top: 1px solid var(--list-employe-border-light);
  position: sticky;
  bottom: 0;
  background-color: var(--list-employe-white);
  display: flex;
  gap: 1rem;
}

.list-employe-btn-clear,
.list-employe-btn-apply {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.list-employe-btn-clear {
  background-color: transparent;
  border: 2px solid var(--list-employe-border);
  color: var(--list-employe-text-medium);
}

.list-employe-btn-apply {
  background-color: var(--list-employe-primary);
  border: none;
  color: var(--list-employe-white);
}

.list-employe-btn-clear:hover {
  background-color: var(--list-employe-border);
  color: var(--list-employe-text-dark);
}
.list-employe-btn-apply:hover {
  background-color: var(--list-employe-primary-dark);
  color: var(--list-employe-white);
}

/* Results Header */
.list-employe-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.list-employe-results-info {
  flex: 1;
}

.list-employe-results-count {
  font-size: 1.125rem;
  color: var(--list-employe-text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.list-employe-results-count .list-employe-highlight {
  color: var(--list-employe-text-dark);
  font-size: 1.25rem;
}

.list-employe-results-subtitle {
  color: var(--list-employe-text-gray);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0 !important;
}

.list-employe-results-subtitle i {
  color: var(--list-employe-text-gray);
}

/* Jobs Grid - one job per row */
.list-employe-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* gap: 0.5rem; */
}

/* Job Card - reduced padding, no icons in meta */
.list-employe-card-job-list {
  background-color: var(--list-employe-white);
  /* border-radius: 8px; */
  padding: 0.7rem .9rem;
  border: 1px solid #eeeeee2a;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 5px 5px 10px 0 rgba(93, 93, 93, 0.05);
}
.list-employe-card-job-list:hover {
  background-color: #e5e8ec51;
  border-color: var(--list-employe-primary);
}
.list-employe-card-job-list-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.list-employe-card-job-list-header .list-employe-card-job-list-save {
  background: transparent;
  color: #8a8a8a;
  border: none;
  /* border: 1px solid #8a8a8a4f;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease; */
}

.list-employe-card-job-list-header .list-employe-card-job-list-save i {
  font-size: .9rem;
  line-height: 1;
}


.list-employe-card-job-list-header .list-employe-card-job-list-save.is-saved i {
  font-size: 1rem;
}

.list-employe-card-job-list-logo {
  width: 120px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
  /* background-color: var(--list-employe-bg); */
  padding: 0.25rem;
  flex-shrink: 0;
  border: none;
}

.list-employe-card-job-list-info {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.list-employe-card-job-list-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.35;
}

.list-employe-card-job-list-title-link {
  color: var(--list-employe-text-dark);
  text-decoration: none;
  transition:
      color 0.2s ease,
      text-decoration 0.2s ease;
}

.list-employe-card-job-list-title-link:hover {
  color: var(--list-employe-primary);
  text-decoration: underline;
}

.list-employe-card-job-list-company {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.list-employe-card-job-list-company-name {
  color: var(--list-employe-text-dark);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.list-employe-card-job-list-company-name:hover {
  color: var(--list-employe-text-medium);
  text-decoration: underline;
}

.list-employe-card-job-list-company-prefix {
  color: var(--list-employe-text-gray);
  font-size: 0.8125rem;
}

.list-employe-card-job-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--list-employe-text-gray);
}

.list-employe-card-job-list-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.list-employe-card-job-list-meta-item i {
  display: none;
}

.list-employe-card-job-list-meta-sep {
  display: none;
}

.list-employe-card-job-list-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.list-employe-btn-apply-now {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem ;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--list-employe-primary);
  background-color: transparent;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.list-employe-btn-apply-now:hover {
color: var(--list-employe-text-dark);
}

.list-employe-btn-apply-now i {
  font-size: 0.75rem;
}

.list-employe-card-job-list-tag {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--list-employe-border-light);
  color: var(--list-employe-text-gray);
}

.list-employe-card-job-list-tag i {
  display: none;
}

/* —— List-detail layout (tabs style: left list, right detail + CVs) —— */
.list-employe-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 1rem 0;
  align-items: stretch;
}

.list-employe-layout .list-employe-grid {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 320px);
  min-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  gap: 0 !important;
  border-radius: 0 !important;
}

/* Backdrop for mobile CV panel overlay */
.list-employe-detail-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.list-employe-detail-backdrop--visible {
  display: block;
  opacity: 1;
}

.list-employe-detail {
  background: var(--list-employe-white);
  border: 1px solid var(--list-employe-border);
  border-radius: 12px;
  padding: 0.5rem;
  min-height: 320px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-employe-detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--list-employe-text-gray);
}

.list-employe-detail-placeholder-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--list-employe-primary-light);
  color: var(--list-employe-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.list-employe-detail-placeholder p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 16rem;
}

.list-employe-detail-content--hidden {
  display: none !important;
}



/* Detail header: icon, title, company link, meta line, close */
.list-employe-detail-header {
  flex-shrink: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02), transparent);
  border-bottom: 1px solid var(--list-employe-border);
}

.list-employe-detail-header--compact .list-employe-detail-header-top {
  margin-bottom: 0;
  padding: 0;
}

.list-employe-detail-header-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.list-employe-detail-icon-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  width: 100%;
  padding-bottom: .5rem;
}

.list-employe-detail-logo {
width: 120px;
height: auto;
}

.list-employe-detail-title-wrap {
  flex: 1;
  min-width: 0;
}

.list-employe-detail-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--list-employe-text-dark);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.list-employe-detail-company-wrap {
  margin: 0 0 0.4rem 0;
  font-size: 0.875rem;
}

.list-employe-detail-company-prefix {
  color: var(--list-employe-text-gray);
}

.list-employe-detail-company-link {
  color: var(--list-employe-text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.list-employe-detail-company-link:hover {
  color: var(--list-employe-primary);
  text-decoration: underline;
}

.list-employe-detail-meta-line {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--list-employe-text-gray);
  line-height: 1.45;
  padding: 0.25rem 0.5rem;
  background: var(--list-employe-border-light, #f8fafc);
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
}

.list-employe-detail-close {
  background: none;
  border: none;
  color: var(--list-employe-text-light);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.list-employe-detail-close:hover {
  background: var(--list-employe-border-light);
  color: var(--list-employe-text-dark);
}

/* When detail is closed: job list becomes col-md-12 (full width) */
.list-employe-layout.list-employe-detail-closed .list-employe-grid {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0rem;
}

.list-employe-layout.list-employe-detail-closed .list-employe-detail {
  display: none;
}

.list-employe-layout.list-employe-detail-closed .list-employe-detail-backdrop {
  display: none !important;
}

/* CVs section: toolbar + list + footer — inside detail content card */
.list-employe-cvs-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
  padding: 1rem 1.15rem;
  padding-top: 0.95rem;
}

.list-employe-cvs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.list-employe-cvs-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  color: var(--list-employe-text-dark);
  letter-spacing: -0.01em;
}

.list-employe-cvs-toolbar-actions {
  display: flex;
  gap: 0.4rem;
}

.list-employe-cvs-select-all,
.list-employe-cvs-deselect-all {
  background: var(--list-employe-border-light, #f1f5f9);
  border: 1px solid var(--list-employe-border);
  color: var(--list-employe-primary);
  font-size: 0.7125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.2rem 0.7rem;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.list-employe-cvs-select-all:hover,
.list-employe-cvs-deselect-all:hover {
  background: var(--list-employe-primary-light);
  border-color: var(--list-employe-primary);
}

.list-employe-cvs-hint {
  font-size: 0.8125rem;
  color: var(--list-employe-text-gray);
  margin: 0;
  line-height: 1.45;
  padding: 0.5rem 0;
}

.list-employe-cvs-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.2rem 0;
  margin: 0 -0.15rem;
  -webkit-overflow-scrolling: touch;
}

.list-employe-cv-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;

}

.list-employe-cv-item-check {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--list-employe-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.list-employe-cv-item-name {
  flex: 1;
  font-weight: 400;
  line-height: 1.4;
  color:#6b7280;
}

.list-employe-cvs-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--list-employe-border);
  flex-shrink: 0;
  background: var(--list-employe-white);
}

.list-employe-cvs-selected-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--list-employe-text-gray);
}

.list-employe-btn-share-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--list-employe-white);
  background: var(--list-employe-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.list-employe-btn-share-cv:hover {
  background: var(--list-employe-primary-dark);
}

.list-employe-btn-share-cv--sticky {
  box-shadow: var(--list-employe-shadow-md);
}


.list-employe-btn-apply-now i,
.list-employe-card-job-list .list-employe-btn-apply-now i {
  font-size: 0.85rem;
}

.list-employe-card-job-list.list-employe-card-job-list--selected {
  border-color: var(--list-employe-primary);
  box-shadow: 0 0 0 2px var(--list-employe-primary-light);
}

@media (min-width: 768px) {
  .list-employe-layout .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .list-employe-layout .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .list-employe-layout .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

/* —— Mobile: CV panel only as sidebar (never show content below), tight padding —— */
@media (max-width: 767px) {
  .list-employe-layout {
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
  /* On mobile: hide detail content when panel is in-flow so it NEVER appears below; content only visible when panel has --mobile-open (sidebar) */
  .list-employe-detail:not(.list-employe-detail--mobile-open) .list-employe-detail-content {
    display: none !important;
  }
  .list-employe-detail:not(.list-employe-detail--mobile-open) .list-employe-detail-placeholder {
    display: flex !important;
  }
  .list-employe-layout .list-employe-grid {
    max-height: none;
    width: 100%;
    padding-right: 0;
  }
  
  .list-employe-detail-header-top {
    gap: 0.4rem;
  }
  .list-employe-layout .list-employe-card-job-list {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
  }
  .list-employe-layout .list-employe-card-job-list-header {
    gap: 0.6rem;
  }
  
  .list-employe-layout .list-employe-card-job-list-title {
    font-size: 0.875rem;
  }
  .list-employe-layout .list-employe-card-job-list-meta {
    font-size: 0.7rem;
    gap: 0.35rem;
  }
  .list-employe-layout .list-employe-card-job-list-tags {
    margin-top: 0.3rem;
  }
  .list-employe-layout .list-employe-btn-apply-now {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  /* In-flow panel on mobile: compact, only placeholder visible until user taps (then opens as sidebar) */
  .list-employe-detail {
    max-height: none;
    min-height: 0;
    border-radius: 10px;
    width: 100%;
    padding: 0.6rem 0.75rem;
    margin: 0;
  }
  .list-employe-detail:not(.list-employe-detail--mobile-open) {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .list-employe-detail-placeholder {
    padding: 1rem 0.5rem;
  }
  .list-employe-detail-placeholder-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  .list-employe-detail-placeholder p {
    font-size: 0.8125rem;
  }
  .list-employe-detail-title {
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  .list-employe-detail-company {
    font-size: 0.75rem;
  }
  .list-employe-detail-close {
    min-width: 38px;
    min-height: 38px;
    padding: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .list-employe-cvs-section-title {
    font-size: 0.875rem;
  }
  .list-employe-cvs-select-all,
  .list-employe-cvs-deselect-all {
    font-size: 0.7125rem;
    padding: 0.3rem 0.5rem;
    min-height: 25px;
  }

  .list-employe-cv-item {
    padding: 0.5rem 0.65rem;
    min-height: 44px;
    font-size: 0.8125rem;
    border-radius: 8px;
  }
  .list-employe-cv-item-check {
    width: 1.15rem;
    height: 1.15rem;
  }
  .list-employe-cvs-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding-top: 0.5rem;
    margin-top: 0.35rem;
  }
  .list-employe-cvs-selected-count {
    font-size: 0.75rem;
    text-align: center;
  }
  .list-employe-btn-share-cv--sticky {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 0.65rem;
    min-height: 42px;
    font-size: 0.9375rem;
  }

  /* Mobile: right sidebar only (slide from right), never show content below */
  .list-employe-detail.list-employe-detail--mobile-open {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 90%;
    max-width: 320px;
    height: 100vh !important;
    min-height: 100vh;
    z-index: 1055;
    margin: 0 !important;
    padding: 0.5rem 0.6rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    border: none;
    border-left: 1px solid var(--list-employe-border);
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.18);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column;
    animation: list-employe-sidebar-in 0.25s ease forwards;
    background: var(--list-employe-white);
  }
  @keyframes list-employe-sidebar-in {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  .list-employe-detail-backdrop--visible {
    z-index: 1050;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-header {
    flex-shrink: 0;
    padding: 0rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid var(--list-employe-border-light);
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-header-top {
    margin-bottom: 0;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-title {
    font-size: 0.8rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-company-wrap,
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-detail-meta-line {
    font-size: 0.75rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cvs-section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cvs-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    gap: 0.25rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cvs-section-title {
    font-size: 0.8125rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cvs-list {
    flex: 1;
    min-height: 60px;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.1rem 0 0.4rem;
    gap: 0.1rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cv-item {
    padding: 0.3rem ;
    min-height: 25px;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-cvs-footer {
    flex-shrink: 0;
    padding-top: 0.4rem;
    margin-top: 0.25rem;
    gap: 0.3rem;
  }
  .list-employe-detail.list-employe-detail--mobile-open .list-employe-btn-share-cv--sticky {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .list-employe-detail.list-employe-detail--mobile-open {
    width: 94%;
    max-width: none;
    padding: 1rem 0.5rem;
  }
  .list-employe-cvs-toolbar-actions {
    gap: 0.2rem;
  }
}

@media (min-width: 768px) {
  .list-employe-detail-backdrop {
    display: none !important;
  }
}

/* Empty state (no jobs) */
.list-employe-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.list-employe-empty-state--hidden {
  display: none;
}

/* When search/filters return no jobs: hide list+detail, show only empty state */
.list-employe-layout.list-employe-layout--no-results {
  display: none !important;
}

.list-employe-empty-state-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--list-employe-primary-light);
  color: var(--list-employe-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.list-employe-empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--list-employe-text-dark);
  margin-bottom: 0.5rem;
}

.list-employe-empty-state-text {
  font-size: 0.9375rem;
  color: var(--list-employe-text-gray);
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.list-employe-empty-state-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--list-employe-primary);
  background: var(--list-employe-primary-light);
  border: 1px solid rgba(130, 56, 195, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.list-employe-empty-state-btn:hover {
  background: var(--list-employe-primary);
  color: #fff;
}

/* Footer */
.list-employe-footer {
  margin-top: auto;
  padding: 0;
  background: linear-gradient(180deg, var(--list-employe-primary-dark) 0%, #5a2685 100%);
  color: #fff;
  border-top: 3px solid var(--list-employe-primary);
}

.list-employe-footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.list-employe-footer-top {
  padding: 2rem 1.5rem;
  display: flex;
  gap: 1rem;
}

.list-employe-footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.list-employe-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.list-employe-footer-brand-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
}

.list-employe-footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.list-employe-footer-brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.list-employe-footer-brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-transform: uppercase;
}

.list-employe-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 1.5rem;
}

.list-employe-footer-bottom {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.list-employe-footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
}

.list-employe-footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.list-employe-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.list-employe-footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.list-employe-footer-link i.fa-external-link-alt {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .list-employe-main,
  .list-employe-header-container,
  .list-employe-footer-top,
  .list-employe-footer-bottom {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
  }
}

@media (max-width: 1200px) {
  .list-employe-filters {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .list-employe-main {
      padding: 1.125rem 1rem;
  }
  .list-employe-results-count {
      font-size: 1.0625rem;
  }
}

@media (max-width: 768px) {
  .list-employe-header-container {
      padding: 0.875rem 1rem;
  }

  .list-employe-header-logo img {
    width: 100px;
    }

  .list-employe-header-actions {
      gap: 0.5rem;
  }

  .list-employe-header-btn {
      padding: 0.5rem 1rem;
      min-height: 40px;
      font-size: 0.8125rem;
  }

  .list-employe-main {
      padding: 1rem;
  }

  .list-employe-search-row {
      flex-direction: column;
      gap: 0.75rem;
  }

  .list-employe-search-bar {
      grid-template-columns: 1fr;
      gap: 0.5rem;
  }

  .list-employe-search-input {
      padding: 0.75rem 1rem 0.75rem 2.5rem;
  }

  .list-employe-btn-filters {
      width: 100%;
      min-height: 48px;
  }

  .list-employe-grid {
      gap: 0.875rem;
  }

  .list-employe-card-job-list {
      padding: 1rem;
      border-radius: 8px;
  }

  .list-employe-card-job-list-header {
      gap: 0.75rem;
  }

  .list-employe-card-job-list-logo {
      width: 100px;
      height: 40px;
  }

  .list-employe-card-job-list-title {
      font-size: 0.9375rem;
  }

  .list-employe-card-job-list-company-name,
  .list-employe-card-job-list-company-prefix {
      font-size: 0.8125rem;
  }

  .list-employe-card-job-list-meta {
      font-size: 0.75rem;
      gap: 0.5rem;
  }

  .list-employe-card-job-list-tags {
      margin-top: 0.375rem;
      flex-wrap: wrap;
  }

  .list-employe-btn-apply-now {
      padding: 0.45rem 0.875rem;
      font-size: 0.75rem;
  }

  .list-employe-filter-select {
      min-height: 48px;
      padding: 0.875rem 2.75rem 0.875rem 1rem;
  }

  .list-employe-results-count {
      font-size: 1rem;
  }

  .list-employe-results-count .list-employe-highlight {
      font-size: 1.125rem;
  }

  .list-employe-footer-top {
      padding: 1.25rem 1rem;
  }

  .list-employe-footer-bottom {
      padding: 1rem;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
  }

  .list-employe-footer-nav {
      gap: 0.5rem 1rem;
  }

  .list-employe-footer-link {
      min-height: 44px;
      align-items: center;
  }

  .list-employe-active-filters {
      margin-top: 0.75rem;
      padding: 0.5rem 0;
  }

  .list-employe-filter-tag {
      padding: 0.35rem 0.625rem;
      font-size: 0.75rem;
  }
}

@media (max-width: 480px) {

  .list-employe-header-btn {
      font-size: 0;
      padding: 0.5rem 0.75rem;
  }

  .list-employe-header-btn i {
      font-size: 1.125rem;
  }

  .list-employe-main {
      padding: 0.75rem 0.875rem;
  }

  .list-employe-search-section {
      padding: 0;
  }

  .list-employe-results-count {
      font-size: 0.9375rem;
  }

  .list-employe-results-count .list-employe-highlight {
      font-size: 1rem;
  }

  .list-employe-results-subtitle {
      font-size: 0.75rem;
  }

  .list-employe-card-job-list {
      padding: 0.875rem;
  }

  .list-employe-card-job-list-header {
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
  }


  .list-employe-card-job-list-title {
      font-size: 0.875rem;
  }

  .list-employe-card-job-list-company-name,
  .list-employe-card-job-list-company-prefix {
      font-size: 0.75rem;
  }

  .list-employe-card-job-list-meta {
      font-size: 0.6875rem;
  }

  .list-employe-card-job-list-tag {
      font-size: 0.6875rem;
  }

  .list-employe-btn-apply-now {
      padding: 0.4rem 0.75rem;
      font-size: 0.6875rem;
  }
}

@media (max-width: 360px) {
  .list-employe-main {
      padding: 0.5rem 0.625rem;
  }

  .list-employe-card-job-list {
      padding: 0.75rem;
  }


}

/* ── Pagination ── */
.list-employe-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
}

.list-employe-pagination__info {
  font-size: 0.875rem;
  color: #9ca3af;
  white-space: nowrap;
}

.list-employe-pagination__info strong {
  color: #e2e8f0;
  font-weight: 600;
}

.list-employe-pagination__controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.list-employe-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  border: none;
  background: #1e1e2e;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  outline: none;
  white-space: nowrap;
}

.list-employe-page-btn:hover:not(:disabled):not(.active) {
  background: #2d2d42;
  color: #e2e8f0;
}

.list-employe-page-btn.active {
  background: #8238c3;
  color: #fff;
  font-weight: 700;
}

.list-employe-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.list-employe-page-btn--prev,
.list-employe-page-btn--next {
  gap: 0.25rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

.list-employe-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
  pointer-events: none;
}

@media (max-width: 480px) {
  .list-employe-pagination {
      flex-direction: column;
      align-items: flex-start;
  }
  .list-employe-page-btn--prev span,
  .list-employe-page-btn--next span {
      display: none;
  }
}

/* Share CVs modal — simple, minimal */
.list-employe-share-modal .modal-content {
  border-radius: 12px;
  border: 1px solid var(--list-employe-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.list-employe-share-modal-header {
  padding: 0.5rem ;
}
.list-employe-share-modal-header .modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--list-employe-text-dark);
}
.list-employe-share-modal-body {
  padding: 0.5rem;
  font-size: 0.875rem;
  color: var(--list-employe-text-medium);
}
.list-employe-share-modal-summary strong {
  color: var(--list-employe-primary);
}
.list-employe-share-modal #agencyShareModalJob {
  color: var(--list-employe-text-gray);
  font-size: 0.8125rem;
}

.list-employe-share-modal-footer .btn-primary {
  background-color: var(--list-employe-primary);
  border-color: var(--list-employe-primary);
}
.list-employe-share-modal-footer .btn-primary:hover {
  background-color: var(--list-employe-primary-dark);
  border-color: var(--list-employe-primary-dark);
}

/* ═══════════════════════════════════════════════
   JOB DETAILS (right panel) — unique namespace: qk7mJd*
═══════════════════════════════════════════════ */
.qk7mJdRoot__wrap {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.75rem 1rem 1rem;
}

.qk7mJdRoot__wrap .qk7mJdRoot__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--list-employe-border);
}

.qk7mJdRoot__wrap .qk7mJdBtn__base {
  height: 32px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.qk7mJdRoot__wrap .qk7mJdBtn__base:active {
  transform: scale(0.98);
}

.qk7mJdRoot__wrap .qk7mJdBtn__base--ghost {
  background: transparent;
  border-color: var(--list-employe-primary);
  color: var(--list-employe-primary);
}

.qk7mJdRoot__wrap .qk7mJdBtn__base--ghost:hover {
  background: var(--list-employe-primary-subtle);
  border-color: var(--list-employe-primary-dark);
  color: var(--list-employe-primary-dark);
}

.qk7mJdRoot__wrap .qk7mJdBtn__base--apply {
  background: var(--list-employe-primary);
  border-color: var(--list-employe-primary);
  color: #fff;
}

.qk7mJdRoot__wrap .qk7mJdBtn__base--apply:hover {
  background: var(--list-employe-primary-dark);
  border-color: var(--list-employe-primary-dark);
}

/* ═══════════════════════════════════════════════
   DETAIL HEADER ROW (unique namespace: qk7mHdRow*)
═══════════════════════════════════════════════ */
.list-employe-detail-header .qk7mHdRow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.7rem;
}

.list-employe-detail-header .qk7mHdRow__posted {
  font-size: 0.75rem;
  color: var(--list-employe-text-gray);
  white-space: nowrap;
}

.list-employe-detail-header .qk7mHdRow__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.list-employe-detail-header .qk7mHdRow__actions  .qk7mJdBtn__base--apply { 
  background: var(--list-employe-primary);
  border-color: var(--list-employe-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  padding: .4rem .8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.list-employe-detail-header .qk7mHdRow__actions  .qk7mJdBtn__base--apply:hover {
  background: var(--list-employe-primary-dark);
  border-color: var(--list-employe-primary-dark);
  color: #fff;
}

.list-employe-detail-header .qk7mHdRow__actions  .qk7mJdBtn__base--ghost {
  background: var(--list-employe-primary-subtle);
  border:1px solid var(--list-employe-primary);
  color: var(--list-employe-text-dark);
  text-decoration: none;
  font-size: 0.78rem;
  padding: .4rem .8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.list-employe-detail-header .qk7mHdRow__actions  .qk7mJdBtn__base--ghost:hover {
  background: var(--list-employe-primary-subtle);
  border:1px solid var(--list-employe-primary);
  color: var(--list-employe-primary);
}
/* ═══════════════════════════════════════════════
   SHARE JOB POPOVER (unique namespace: qk7mSharePop*)
═══════════════════════════════════════════════ */
.qk7mSharePop__wrap {
  position: relative;
  display: inline-flex;
}

.qk7mSharePop__wrap .qk7mSharePop__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -50px;
  min-width: 200px;
  max-width: min(250px, calc(100vw - 32px));
  background: var(--list-employe-white);
  border: 1px solid var(--list-employe-border);
  border-radius: 10px;
  box-shadow: var(--list-employe-shadow-md);
  padding: 0.65rem 0.8rem 0.8rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}

.qk7mSharePop__wrap .qk7mSharePop__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--list-employe-white);
  border-left: 1px solid var(--list-employe-border);
  border-top: 1px solid var(--list-employe-border);
  transform: rotate(45deg);
}

.qk7mSharePop__wrap .qk7mSharePop__panel.qk7mSharePop__panel--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.qk7mSharePop__wrap .qk7mSharePop__title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--list-employe-text-dark);
  margin-bottom: 0.15rem;
}

.qk7mSharePop__wrap .qk7mSharePop__text {
  font-size: 0.78rem;
  color: var(--list-employe-text-gray);
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.qk7mSharePop__wrap .qk7mSharePop__icons {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.qk7mSharePop__wrap .qk7mSharePop__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.qk7mSharePop__wrap .qk7mSharePop__icon:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.qk7mSharePop__wrap .qk7mSharePop__icon--in {
  background: #0a66c2;
}

.qk7mSharePop__wrap .qk7mSharePop__icon--fb {
  background: #1877f2;
}

.qk7mSharePop__wrap .qk7mSharePop__icon--x {
  background: var(--list-employe-text-dark);
}

.qk7mSharePop__wrap .qk7mSharePop__icon--link {
  background: var(--list-employe-primary);
}

.qk7mSharePop__wrap .qk7mSharePop__icon i {
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .list-employe-detail.list-employe-detail--mobile-open .qk7mHdRow__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 0.55rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mHdRow__posted {
    text-align: left;
    font-size: 0.72rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mHdRow__actions {
    width: 100%;
    gap: 0.5rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mHdRow__actions .qk7mJdBtn__base {
    width: 100%;
    height: 38px;
    font-size: 0.8rem;
  }

  .qk7mSharePop__wrap .qk7mSharePop__panel {
    left: 0;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mSharePop__wrap .qk7mSharePop__panel::before {
    left: 16px;
  }
}

.qk7mJdRoot__wrap .qk7mJdRoot__section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.qk7mJdRoot__wrap .qk7mJdRoot__section--last {
  padding-bottom: 0.25rem;
}

.qk7mJdRoot__wrap .qk7mJdRoot__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--list-employe-text-dark);
  letter-spacing: 0.01em;
}

.qk7mJdRoot__wrap .qk7mJdRoot__list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--list-employe-text-gray);
}

.qk7mJdRoot__wrap .qk7mJdRoot__list--compact {
  gap: 0.3rem;
}

@media (max-width: 767px) {
  .list-employe-detail.list-employe-detail--mobile-open .qk7mJdRoot__wrap {
    padding: 0.55rem 0.5rem 0.7rem;
    gap: 0.6rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mJdRoot__actions {
    justify-content: space-between;
    gap: 0.45rem;
    padding-bottom: 0.5rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mJdBtn__base {
    width: 100%;
    height: 34px;
    font-size: 0.78rem;
    padding: 0 0.75rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mJdRoot__title {
    font-size: 0.78rem;
  }

  .list-employe-detail.list-employe-detail--mobile-open .qk7mJdRoot__list {
    font-size: 0.74rem;
    gap: 0.3rem;
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  .qk7mJdRoot__wrap {
    padding: 0.65rem 0.75rem 0.85rem;
  }

  .qk7mJdRoot__wrap .qk7mJdRoot__actions {
    justify-content: space-between;
  }

  .qk7mJdRoot__wrap .qk7mJdBtn__base {
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }
}

/* gest page  */

.jobs_gest_page {
  width : 1300px;
  margin : 0 auto;
}
.jobs_gest_page_header {
  display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1300px;
    margin : 0 auto;
}
.btn-login-avatar-gest {
  background: transparent;
  border-color: var(--list-employe-primary);
  color: var(--list-employe-primary);
  border:1px solid var(--list-employe-primary);
  text-decoration: none;
  font-size: 0.78rem;
  padding: .4rem .8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;

}
.btn-login-avatar-gest:hover {
  background: var(--list-employe-primary);
  border:1px solid var(--list-employe-primary);
  color: #fff;
}

#offcanvasBottom {
  width : 100%;
  height : 90%;
  border-radius: 25px 25px 0 0;
}
.footer-actions-share-cv-gest {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  
}
@media (max-width: 1024px) {
  .jobs_gest_page {
    width : 100%;
    margin : 0 auto;
  }
}

