.studentinhuren-opdrachten-embed {
  --color-card: #ffffff;
  --color-border: #DEDEDE;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-primary: #3a89ff;
  --color-primary-soft: rgba(58, 137, 255, 0.08);
  --color-primary-muted: rgba(58, 137, 255, 0.24);
  --color-accent: #ff8200;
  --color-accent-soft: rgba(255, 130, 0, 0.08);
  --color-success: #80D424;
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  font-family: var(--font-text);
}

.studentinhuren-opdrachten-embed *,
.studentinhuren-opdrachten-embed *::before,
.studentinhuren-opdrachten-embed *::after {
  box-sizing: border-box;
}

.studentinhuren-opdrachten-embed .opdrachten-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.studentinhuren-opdrachten-embed .opdrachten-results-count {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.studentinhuren-opdrachten-embed .opdrachten-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.studentinhuren-opdrachten-embed .opdrachten-embed-filter {
  margin: 0 0 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.studentinhuren-opdrachten-embed .opdrachten-embed-filter__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

/* Text inputs */
.studentinhuren-opdrachten-embed .opdrachten-embed-filter__input {
  flex: 1 1 150px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.2;
}

.studentinhuren-opdrachten-embed .opdrachten-embed-filter__input--search {
  flex: 2 1 200px;
}

.studentinhuren-opdrachten-embed .opdrachten-embed-filter__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58, 137, 255, 0.16);
}

/* Custom select */
.studentinhuren-opdrachten-embed .si-sel {
  flex: 1 1 150px;
  position: relative;
  min-width: 0;
}

.studentinhuren-opdrachten-embed .si-sel__btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.studentinhuren-opdrachten-embed .si-sel__btn:hover,
.studentinhuren-opdrachten-embed .si-sel.is-open .si-sel__btn {
  border-color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .si-sel.is-open .si-sel__btn {
  box-shadow: 0 0 0 3px rgba(58, 137, 255, 0.16);
}

.studentinhuren-opdrachten-embed .si-sel__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.studentinhuren-opdrachten-embed .si-sel__caret {
  font-size: 12px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform .2s ease;
}

.studentinhuren-opdrachten-embed .si-sel.is-open .si-sel__caret {
  transform: rotate(180deg);
}

.studentinhuren-opdrachten-embed .si-sel__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}

.studentinhuren-opdrachten-embed .si-sel__option {
  padding: 9px 12px;
  border-radius: 5px;
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}

.studentinhuren-opdrachten-embed .si-sel__option:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .si-sel__option.is-selected {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 500;
}

.studentinhuren-opdrachten-embed .opdrachten-embed-filter__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.studentinhuren-opdrachten-embed .card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 18px;
}

.studentinhuren-opdrachten-embed .opdracht-card {
  padding: 0;
  overflow: hidden;
}

.studentinhuren-opdrachten-embed .opdracht-card__body {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.studentinhuren-opdrachten-embed .opdracht-card__body:hover,
.studentinhuren-opdrachten-embed .opdracht-card.is-expanded .opdracht-card__body {
  background: var(--color-primary-soft);
}

.studentinhuren-opdrachten-embed .opdracht-card:has(.opdracht-card__body:hover),
.studentinhuren-opdrachten-embed .opdracht-card.is-expanded {
  border-color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .opdracht-card__main {
  min-width: 0;
  flex: 1;
}

.studentinhuren-opdrachten-embed .opdracht-card__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.studentinhuren-opdrachten-embed .opdracht-card__meta {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.studentinhuren-opdrachten-embed .opdracht-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.studentinhuren-opdrachten-embed .opdracht-meta-item i {
  font-size: 15px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .opdracht-card__excerpt {
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 300;
}

.studentinhuren-opdrachten-embed .opdracht-card__tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studentinhuren-opdrachten-embed .opdracht-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #2465c5;
  background: var(--color-primary-soft);
  border: 1px solid rgba(58, 137, 255, 0.35);
}

.studentinhuren-opdrachten-embed .opdracht-tag--alt {
  color: #b45f00;
  background: var(--color-accent-soft);
  border-color: rgba(255, 130, 0, 0.35);
}

.studentinhuren-opdrachten-embed .opdracht-card__chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  transform: rotate(45deg);
  transition: border-color 0.15s ease, transform 0.2s ease;
}

.studentinhuren-opdrachten-embed .opdracht-card__chevron.is-open,
.studentinhuren-opdrachten-embed .opdracht-card.is-expanded .opdracht-card__chevron {
  transform: rotate(-135deg);
  border-color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .opdracht-card__panel[hidden] {
  display: none;
}

.studentinhuren-opdrachten-embed .opdracht-panel__divider {
  height: 1px;
  background: var(--color-border);
  margin: 0 24px;
}

.studentinhuren-opdrachten-embed .opdracht-panel__inner {
  padding: 24px 24px 28px;
  display: grid;
  gap: 20px;
}

.studentinhuren-opdrachten-embed .opdracht-panel__details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studentinhuren-opdrachten-embed .opdracht-panel__detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-muted);
  border-radius: 999px;
  padding: 5px 12px;
}

.studentinhuren-opdrachten-embed .opdracht-panel__detail i {
  font-size: 14px;
  color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .opdracht-panel__description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.studentinhuren-opdrachten-embed .opdracht-panel__description p,
.studentinhuren-opdrachten-embed .opdracht-panel__description ul,
.studentinhuren-opdrachten-embed .opdracht-panel__description ol {
  margin-top: 0;
}

.studentinhuren-opdrachten-embed .opdracht-panel__description p:last-child,
.studentinhuren-opdrachten-embed .opdracht-panel__description ul:last-child,
.studentinhuren-opdrachten-embed .opdracht-panel__description ol:last-child {
  margin-bottom: 0;
}

.studentinhuren-opdrachten-embed .opdracht-panel__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.studentinhuren-opdrachten-embed .opdracht-panel__cta-text {
  width: 100%;
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.studentinhuren-opdrachten-embed .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.studentinhuren-opdrachten-embed .btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.studentinhuren-opdrachten-embed .btn-primary {
  background: var(--color-success);
  color: #ffffff;
  border-color: var(--color-success);
}

.studentinhuren-opdrachten-embed .btn-primary:hover {
  background: #6db61f;
  border-color: #6db61f;
  color: #ffffff;
}

.studentinhuren-opdrachten-embed .btn-ghost {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .btn-ghost:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.studentinhuren-opdrachten-embed .opdracht-empty {
  grid-column: 1 / -1;
  padding: 20px;
}

.studentinhuren-opdrachten-embed .opdracht-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 18px;
}

.studentinhuren-opdrachten-embed .opdracht-empty p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 700px) {
  .studentinhuren-opdrachten-embed .opdrachten-embed-filter {
    padding: 14px;
  }

  .studentinhuren-opdrachten-embed .opdrachten-embed-filter__input,
  .studentinhuren-opdrachten-embed .opdrachten-embed-filter__input--search,
  .studentinhuren-opdrachten-embed .si-sel {
    flex: 1 1 100%;
  }

  .studentinhuren-opdrachten-embed .opdrachten-embed-filter__actions {
    width: 100%;
  }

  .studentinhuren-opdrachten-embed .opdrachten-embed-filter__actions .btn {
    flex: 1;
  }

  .studentinhuren-opdrachten-embed .opdracht-card__body {
    padding: 14px 16px;
    gap: 12px;
  }

  .studentinhuren-opdrachten-embed .opdracht-card__title {
    font-size: 16px;
  }

  .studentinhuren-opdrachten-embed .opdracht-card__excerpt,
  .studentinhuren-opdrachten-embed .opdracht-meta-item {
    font-size: 13px;
  }

  .studentinhuren-opdrachten-embed .opdracht-panel__inner {
    padding: 16px 16px 20px;
  }

  .studentinhuren-opdrachten-embed .opdracht-panel__divider {
    margin: 0 16px;
  }
}

@media (max-width: 480px) {
  .studentinhuren-opdrachten-embed .opdracht-card__body {
    padding: 12px 14px;
  }

  .studentinhuren-opdrachten-embed .opdracht-card__title {
    font-size: 15px;
  }

  .studentinhuren-opdrachten-embed .opdracht-card__meta {
    gap: 3px 12px;
  }

  .studentinhuren-opdrachten-embed .opdracht-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .studentinhuren-opdrachten-embed .opdracht-panel__inner {
    padding: 14px 14px 18px;
  }

  .studentinhuren-opdrachten-embed .opdracht-panel__divider {
    margin: 0 14px;
  }
}
