.btx-careers-app {
  --btx-navy: #0f2a4a;
  --btx-blue: #1d5ba6;
  --btx-bg: #f5f7fa;
  --btx-card-bg: #ffffff;
  --btx-border: #dbe1e8;
  --btx-text: #1a1f29;
  --btx-muted: #5b6572;

  color: var(--btx-text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btx-careers-app *,
.btx-careers-app *::before,
.btx-careers-app *::after {
  box-sizing: border-box;
}

.btx-careers-app .btx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--btx-card-bg);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--btx-border);
  margin-bottom: 1rem;
}

.btx-careers-app .btx-filters input,
.btx-careers-app .btx-filters select {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--btx-border);
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--btx-text);
}

.btx-careers-app .btx-keyword {
  flex: 1 1 240px;
}

.btx-careers-app .btx-filters select {
  flex: 1 1 160px;
  /* Themes commonly strip the native select arrow globally for their own
     custom-styled forms; draw our own so it isn't at the mercy of that. */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%235b6572' d='M5.25 7.5L10 12.25L14.75 7.5H5.25Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px;
  padding-right: 2rem;
}

.btx-careers-app .btx-clear-filters {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid var(--btx-border);
  border-radius: 6px;
  background: #eef2f7;
  cursor: pointer;
  font-size: 0.9rem;
}

.btx-careers-app .btx-clear-filters:hover {
  background: #e2e8f0;
}

.btx-careers-app .btx-meta-bar {
  display: flex;
  justify-content: space-between;
  color: var(--btx-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.btx-careers-app .btx-job-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btx-careers-app .btx-job-card {
  background: var(--btx-card-bg);
  border: 1px solid var(--btx-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btx-careers-app .btx-job-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--btx-navy);
}

.btx-careers-app .btx-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--btx-muted);
}

.btx-careers-app .btx-job-meta span {
  background: #eef2f7;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.btx-careers-app .btx-job-date {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--btx-muted);
}

.btx-careers-app .btx-apply-link {
  flex: 0 0 auto;
  background: var(--btx-blue);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btx-careers-app .btx-apply-link:hover {
  background: #164a8a;
  color: #fff;
}

.btx-careers-app .btx-empty-state {
  text-align: center;
  color: var(--btx-muted);
  padding: 3rem 1rem;
}

.btx-careers-app .btx-careers-note {
  text-align: center;
  color: var(--btx-muted);
  font-size: 0.8rem;
  padding: 1.5rem 1rem 0;
}

@media (max-width: 600px) {
  .btx-careers-app .btx-job-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .btx-careers-app .btx-apply-link {
    width: 100%;
    text-align: center;
  }
}
