/* Positions board */
.positions-board {
  background: #eef5fb;
  padding: 0;
  border-radius: 0;
  max-width: 1279px;
  margin: 0 auto;
}

.positions-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.positions-board-title {
  margin: 0;
  font-family: "Avenir Heavy", "Avenir Black", "Avenir", sans-serif !important;
  font-style: normal;
  font-weight: 900 !important;
  font-size: 34px !important;
  line-height: 46px !important;
  letter-spacing: -0.01em;
  color: #000e29 !important;
}

.positions-filter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.positions-board .positions-search {
  box-sizing: border-box;
  width: 256px;
  height: 48px;
  padding: 10px 16px 10px 36px;
  border: 1px solid #d6d9de !important;
  border-radius: 48px !important;
  background: #ffffff !important;
  font-family: "Avenir", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(95, 107, 123, 0.8) !important;
}

.positions-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.positions-search-icon {
  position: absolute;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: rgba(95, 107, 123, 0.8);
  z-index: 1;
}

.positions-search-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.positions-board .positions-search::placeholder {
  color: rgba(95, 107, 123, 0.8);
  opacity: 1;
}

.positions-board .dropdown-btn {
  box-sizing: border-box;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid #d6d9de !important;
  border-radius: 48px !important;
  background: #ffffff !important;
  font-family: "Avenir", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px !important;
  line-height: 24px;
  color: #000e29 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  min-width: auto;
  width: auto;
}

.positions-board .dropdown:nth-of-type(1) .dropdown-btn {
  width: 105px;
}

.positions-board .dropdown:nth-of-type(2) .dropdown-btn {
  width: 122px;
}

.positions-board .dropdown:nth-of-type(3) .dropdown-btn {
  width: 154px;
}

.positions-board .dropdown-btn svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
}

.positions-board .dropdown-btn.is-disabled,
.positions-board .dropdown-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.positions-board .dropdown-content {
  box-sizing: border-box;
  display: none !important;
  padding: 16px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 14, 41, 0.08);
  background: #ffffff;
}

/* Click-only dropdown behavior scoped to positions board */
.positions-board .dropdown:hover .dropdown-content {
  display: none !important;
}

.positions-board .dropdown.is-open .dropdown-content {
  display: block !important;
}

.positions-board .dropdown.is-open:hover .dropdown-content {
  display: block !important;
}

.positions-board .dropdown-content.status,
.positions-board .dropdown-content.location {
  width: 190px;
}

.positions-board .dropdown-content.departments {
  width: 260px;
}

.positions-board .dropdown-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: "Avenir", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #000e29;
  cursor: pointer;
  white-space: nowrap;
}

.positions-board .dropdown-content label:last-child {
  margin-bottom: 0;
}

.positions-filter-empty {
  margin: 0;
  font-family: "Avenir", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #5f6b7b;
}

.positions-board .dropdown-content input[type="checkbox"] {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: #003594;
  flex: 0 0 12px;
}

.positions-apply-filter {
  height: 54px;
  padding: 12px 24px !important;
  border-radius: 48px !important;
  background: #003594;
  color: #ffffff;
  font-family: "Avenir Heavy", sans-serif !important;
  font-style: normal;
  font-weight: 900;
  font-size: 18px;
  line-height: 30px;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  border: 0;
}

.positions-reset-filter {
  display: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid #d6d9de;
  border-radius: 50%;
  background: #ffffff;
  color: #003594;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.positions-reset-filter.is-visible {
  display: inline-flex;
}

.positions-reset-filter:hover,
.positions-reset-filter:focus {
  border-color: #003594;
  background: #eef5fb;
  color: #003594;
  outline: none;
}

.positions-reset-filter svg {
  width: 20px;
  height: 20px;
  display: block;
}

.positions-board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.positions-board-grid.no-results {
  grid-template-columns: 1fr;
}

.positions-detail.is-hidden {
  display: none;
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.positions-item {
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  padding: 24px;
  background: #ffffff !important;
  border: 1px solid transparent;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: #000e29;
  outline: none;
  box-shadow: none !important;
}

.positions-item:hover,
.positions-item.is-active {
  border-color: #003594 !important;
  background: #ffffff !important;
  color: #000e29 !important;
}

.positions-board .positions-item:focus,
.positions-board .positions-item:active,
.positions-board .positions-item:hover,
.positions-board .positions-item.is-active,
.positions-board .positions-item.is-active:hover,
.positions-board .positions-item.is-active:focus {
  background: #ffffff !important;
  color: #000e29 !important;
  border-color: #003594 !important;
  box-shadow: none !important;
}

.positions-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.positions-item-title {
  margin: 0;
  font-family: "Avenir Heavy", "Avenir Black", "Avenir", sans-serif !important;
  font-style: normal;
  font-weight: 900;
  font-size: 20px !important;
  line-height: 28px !important;
  letter-spacing: -0.02em;
  color: #000e29;
}

.positions-item-meta {
  font-family: "Avenir", "Avenir Medium", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #5f6b7b !important;
}

.positions-board .positions-item:hover .positions-item-title,
.positions-board .positions-item.is-active .positions-item-title,
.positions-board .positions-item:focus .positions-item-title {
  color: inherit !important;
}

.positions-board .positions-item:hover .positions-item-meta,
.positions-board .positions-item.is-active .positions-item-meta,
.positions-board .positions-item:focus .positions-item-meta {
  color: #5f6b7b !important;
}

.positions-item-meta .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #d9d9d9;
  border-radius: 50%;
  margin: 0 8px;
  font-size: 0;
  vertical-align: middle;
  position: static;
}

.positions-department-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 500px;
  font-family: "Avenir", "Avenir Medium", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000e29;
  background: #d7e8fb;
  white-space: nowrap;
}

.positions-detail-card,
.positions-detail-empty {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
}

.positions-detail-title {
  margin: 0 0 16px;
  font-family: "Avenir Heavy", "Avenir Black", "Avenir", sans-serif !important;
  font-style: normal;
  font-weight: 900;
  font-size: 34px;
  line-height: 46px;
  letter-spacing: -0.01em;
  color: #000e29;
}

.positions-board h3.positions-detail-title,
.positions-board .positions-detail-title {
  font-family: "Avenir Heavy", "Avenir Black", "Avenir", sans-serif !important;
  font-weight: 900 !important;
  font-size: 34px !important;
  line-height: 46px !important;
  letter-spacing: -0.01em !important;
  color: #000e29 !important;
  margin: 0 0 16px !important;
}

.positions-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-family: "Avenir", "Avenir Medium", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px !important;
  color: #5f6b7b !important;
}

.positions-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.positions-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.positions-detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.positions-board .positions-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0 !important;
  border-radius: 50%;
  background: #eef5fb !important;
  padding: 0;
  cursor: pointer;
  color: #003594 !important;
  line-height: 1;
  transition: background-color 0.2s ease;
  box-shadow: none !important;
  appearance: none;
}

.positions-board .positions-detail-action svg {
  width: 18px;
  height: 18px;
  display: block;
}

.positions-board .positions-detail-action:hover,
.positions-board .positions-detail-action:focus {
  background: #dfeaf8 !important;
  outline: none;
}

.positions-board .positions-detail-action:active {
  background: #d3e2f6 !important;
}

.positions-detail-meta-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.positions-detail-meta-item .icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.positions-detail-divider {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 16px !important;
}

.positions-detail-about-title {
  margin: 0 0 12px;
  font-family: "Avenir Black", "Avenir Heavy", "Avenir", sans-serif !important;
  font-style: normal;
  font-weight: 900;
  font-size: 34px;
  line-height: 46px;
  letter-spacing: -0.01em;
  color: #000e29;
}

.positions-detail-content {
  font-family: "Avenir", "Avenir Medium", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #000e29;
  margin-bottom: 16px;
}

.positions-detail-content p {
  margin-bottom: 12px;
}

.positions-detail-content p:last-child {
  margin-bottom: 0;
}

.positions-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 12px 24px;
  border-radius: 48px;
  background: #003594;
  text-decoration: none;
  font-family: "Avenir Black", "Avenir Heavy", "Avenir", sans-serif !important;
  font-style: normal;
  font-weight: 900;
  font-size: 18px;
  line-height: 30px;
  color: #ffffff !important;
}

.positions-empty {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #5f6b7b;
}

.positions-empty div {
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
}

.positions-detail-empty h3 {
  margin: 0 0 8px;
  font-family: "Avenir", sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 32px;
  color: #000e29;
}

.positions-detail-empty p {
  margin: 0;
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #5f6b7b;
}

.positions-board.is-loading .positions-list,
.positions-board.is-loading .positions-detail {
  opacity: 0.65;
  pointer-events: none;
}

.positions-action-feedback {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0, 14, 41, 0.9);
  color: #fff;
  font-family: "Avenir", sans-serif;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 9999;
}

.positions-action-feedback.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.positions-action-feedback.is-error {
  background: rgba(131, 20, 20, 0.92);
}

.positions-share-popover {
  display: none;
  align-items: center;
  gap: 8px;
  background: #003594;
  border: 1px solid #003594;
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0, 14, 41, 0.12);
  z-index: 9999;
}

.positions-share-popover::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #003594;
  transform: rotate(45deg);
  top: 50%;
  right: -4px;
  margin-top: -4px;
}

.positions-share-popover[data-side="right"]::after {
  right: auto;
  left: -4px;
}

.positions-share-popover[data-side="above"]::after {
  right: 16px;
  left: auto;
  top: auto;
  bottom: -4px;
  margin-top: 0;
}

.positions-share-popover[data-side="below"]::after {
  right: 16px;
  left: auto;
  top: -4px;
  bottom: auto;
  margin-top: 0;
}

.positions-share-popover.is-visible {
  display: inline-flex;
}

.positions-share-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.positions-share-popover .positions-share-option,
.positions-share-popover .positions-share-option:visited,
.positions-share-popover .positions-share-option:link,
.positions-share-popover .positions-share-option:active {
  color: #ffffff !important;
}

.positions-share-option:hover,
.positions-share-option:focus {
  background: #ffffff;
  color: #003594 !important;
  outline: none;
}

.positions-share-option:active {
  color: #00215d !important;
}

.positions-share-popover .positions-share-option:hover,
.positions-share-popover .positions-share-option:focus {
  color: #003594 !important;
}

.positions-share-popover .positions-share-option svg,
.positions-share-popover .positions-share-option svg path,
.positions-share-popover .positions-share-option svg g {
  color: currentColor !important;
}

.positions-share-option svg {
  width: 16px;
  height: 16px;
  display: block;
}

.positions-share-option[data-network="facebook"] svg {
  width: 8px;
  height: 14px;
}

.positions-share-option[data-network="linkedin"] svg {
  width: 14px;
  height: 14px;
}

.positions-share-option[data-network="x"] svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 1024px) {
  .positions-board-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .positions-filter-form {
    justify-content: flex-start;
  }

  .positions-board-grid {
    grid-template-columns: 1fr;
  }

  .positions-detail-title {
    font-size: 34px;
    line-height: 44px;
  }
}

@media (max-width: 767px) {
  .positions-board-title {
    text-align: center;
    width: 100%;
  }

  .positions-filter-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
  }

  .positions-search-wrap {
    width: 100%;
  }

  .positions-board .positions-search,
  .positions-board .dropdown,
  .positions-board .dropdown-btn,
  .positions-apply-filter {
    width: 100% !important;
    max-width: none;
  }

  .positions-board .dropdown-btn {
    justify-content: space-between;
  }

  .positions-board .dropdown-content,
  .positions-board .dropdown-content.status,
  .positions-board .dropdown-content.location,
  .positions-board .dropdown-content.departments {
    width: 100%;
    left: 0;
    right: 0;
    max-width: none;
  }

  .positions-reset-filter {
    align-self: center;
  }

  .positions-item-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .positions-detail-title {
    font-size: 30px;
    line-height: 38px;
  }

  .positions-detail-meta-row {
    align-items: flex-start;
  }
}
