/* Operavantis Elementor Jobs v0.2 */
.oej-jobs-wrapper,
.oej-job-detail {
  width: 100%;
  color: #0F172A;
}

.oej-filterbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.oej-results-count {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 12px;
}

.oej-filter-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.oej-filter-label {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.oej-filter-select {
  min-width: 220px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  color: #0F172A;
}

.oej-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.oej-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.oej-pagination-btn {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1E293B;
  font-weight: 700;
  padding: 10px 18px;
  transition: all .2s ease;
  cursor: pointer;
}

.oej-pagination-btn:not(:disabled):hover {
  border-color: #2563EB;
  background: #2563EB;
  color: #FFFFFF;
}

.oej-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.oej-pagination-info {
  font-size: 14px;
  font-weight: 600;
}

.oej-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  background: #FFFFFF;
}

.oej-table thead th {
  background: #EEF2F7;
  color: #1E293B;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 20px;
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
}

.oej-table thead th:first-child {
  border-top-left-radius: 18px;
}

.oej-table thead th:last-child {
  border-top-right-radius: 18px;
}

.oej-table tbody tr:hover {
  background: #F1F5F9;
}

.oej-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: middle;
  color: #334155;
}

.oej-table tbody tr:last-child td {
  border-bottom: 0;
}

.oej-cell-title {
  color: #0F172A;
  font-weight: 700;
}

.oej-link-detail,
.oej-btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: all .2s ease;
  cursor: pointer;
  background: #2563EB;
  color: #FFFFFF !important;
  border: 1px solid #2563EB;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.oej-link-detail:hover,
.oej-btn-apply:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.oej-link-detail {
  min-width: 120px;
}

.oej-btn-apply {
  min-width: 220px;
  font-size: 16px;
  padding: 14px 24px;
}

.oej-job-detail {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.oej-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.oej-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #1E3A8A;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.oej-job-title {
  margin: 0 0 8px 0;
  color: #0F172A;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
}

.oej-job-subtitle {
  margin: 0;
  color: #64748B;
  font-size: 17px;
}

.oej-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.oej-detail-card {
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.oej-detail-label {
  color: #64748B;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.oej-detail-value {
  color: #0F172A;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.oej-apply-cta-bottom {
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
  margin: 24px 0;
}

.oej-apply-cta-bottom .oej-btn-apply {
  width: 100%;
  max-width: 320px;
}

.oej-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.oej-section-title {
  margin: 0 0 14px 0;
  color: #1E293B;
  font-size: 24px;
  font-weight: 800;
}

.oej-richtext {
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
}

.oej-richtext > *:first-child {
  margin-top: 0;
}

.oej-richtext > *:last-child {
  margin-bottom: 0;
}

.oej-empty,
.oej-error,
.oej-muted {
  color: #64748B;
}

.oej-empty-filtered {
  color: #64748B;
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 1024px) {
  .oej-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oej-job-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .oej-filterbar {
    flex-direction: column;
    align-items: stretch;
  }

  .oej-filter-select {
    width: 100%;
    min-width: 0;
  }

  .oej-table-wrap {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .oej-table {
    min-width: 0;
    border-spacing: 0;
  }

  .oej-table thead {
    display: none;
  }

  .oej-table,
  .oej-table tbody,
  .oej-table tr,
  .oej-table td {
    display: block;
    width: 100%;
  }

  .oej-table tbody tr {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  }

  .oej-table tbody td {
    border: 0;
    padding: 0;
    margin-bottom: 12px;
  }

  .oej-table tbody td:last-child {
    margin-bottom: 0;
  }

  .oej-table tbody td::before {
    content: attr(data-label);
    display: block;
    color: #64748B;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
  }

  .oej-cell-title {
    font-size: 20px;
    margin-bottom: 16px !important;
  }

  .oej-cell-title::before {
    display: none !important;
  }

  .oej-link-detail {
    width: 100%;
  }

  .oej-job-detail {
    padding: 22px;
    border-radius: 16px;
  }

  .oej-job-header {
    flex-direction: column;
    gap: 18px;
  }

  .oej-job-title {
    font-size: 28px;
  }

  .oej-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .oej-btn-apply {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .oej-apply-cta-bottom .oej-btn-apply {
    max-width: none;
  }

  .oej-section-title {
    font-size: 20px;
  }

  .oej-richtext {
    font-size: 15px;
    line-height: 1.7;
  }

  .oej-pagination {
    justify-content: center;
  }

  .oej-pagination-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}
