#tl_navigation .group-job_applications {
  background: url(../img/icon_module.svg) 3px 2px no-repeat;
}

#tl_listing .job_offer_listing span:nth-of-type(1),
#tl_listing .job_status_label {
  display: inline-block;
  padding: 0.2em 1em;
  margin-right: 1.5ch;
  border-radius: 1em;
  line-height: 1;
}

#tl_listing .job_offer_listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

#tl_listing .job_offer_listing span:nth-of-type(1) {
  flex-shrink: 0;
  background: #0F1C26;
  color: #ffffff;
}

#tl_listing td button.drag {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
}

#tl_listing .col_notification + .col_sorting.ordered_by {
  display: none;
}

#tl_job_application .tl_edit_form > .tl_formbody_submit {
  display: none;
}

#tl_job_application #pal_application_log_legend,
#tl_job_application #pal_form_data_legend {
  padding-bottom: 12px;
}

#tl_job_application #pal_common_legend {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

#tl_job_application #pal_common_legend:not(.collapsed) {
  border-bottom: 1px solid #d0d0d2;
}

#tl_job_application #pal_common_legend:not(.collapsed) .widget.w50:has(+ .tl_formbody_submit) {
  margin-bottom: 20px;
}

#tl_job_application #pal_common_legend:not(.collapsed) .tl_formbody_submit {
  clear: both;
  padding: 0 1px;
  margin-left: -1px;
  margin-right: -1px;
  border-bottom: 50px solid #eaeaec;
}

#tl_job_application #pal_common_legend:not(.collapsed) .tl_submit_container {
  border-bottom: 1px solid #d0d0d2;
}

#tl_job_application #pal_form_data_legend table a {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}

#tl_job_application #pal_form_data_legend table a img {
  margin-right: 0.5ch;
}

.tl_notification_preview {
  display: flex;
  flex-wrap: wrap;
}

.tl_notification_preview:is(form[data-loading] .tl_notification_preview) {
  opacity: 0.5;
  cursor: wait;
}

.tl_notification_preview > * {
  flex-basis: 100%;
}

.tl_notification_preview > .tl_formbody_submit {
  position: relative;
}

.tl_notification_preview > .tl_formbody_submit .tl_submit_container {
  background: none;
}

.tl_notification_preview button#notification_preview {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}

.tl_notification_preview button#notification_preview:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 0.5ch;
  background: url(/system/themes/flexible/icons/sync.svg) no-repeat scroll 50% 50%;
  background-size: contain;
}

.tl_notification_preview .notifications {
  display: flex;
  width: auto;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .tl_notification_preview .notifications {
    display: block;
  }
}

.tl_notification_preview .notification {
  padding: 12px;
  flex-grow: 1;
}

.tl_notification_preview .notification:nth-child(even) {
  background: #eaeaec;
}

.tl_notification_preview .notification .messages {
  display: flex;
  gap: 30px;
}

@media (max-width: 768px) {
  .tl_notification_preview .notification .messages {
    flex-direction: column;
    gap: 15px;
  }
}

.tl_notification_preview .notification .messages .message .head {
  color: #74b739;
  font-size: .75rem;
  line-height: 16px;
  margin-bottom: 5px;
}

.tl_notification_preview .notification .messages .message.not-editable {
  opacity: 0.5;
}

.tl_notification_preview .notification .messages .message .widget {
  margin-inline: unset;
}

.tl_notification_preview .notification .messages .message .widget + .widget {
  margin-top: 5px;
}

.job_application_rating {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.job_application_rating > span {
  display: block;
  width: 1em;
  height: 1em;
}

.job_application_rating > span.active ~ span {
  filter: grayscale(1);
  opacity: 0.5;
}

.job_application_note {
  display: block;
  margin-top: 0.5em;
}

html[data-color-scheme] form#tl_job_application fieldset[data-contao--toggle-fieldset-id-value="common_legend"]:not(:last-of-type) {
  padding-bottom: unset;
}

html[data-color-scheme] form#tl_job_application fieldset[data-contao--toggle-fieldset-id-value="common_legend"]:not(:last-of-type):after {
  content: "";
  display: block;
  width: calc(100% + 2px);
  height: 50px;
  transform: translateX(-1px);
  background: var(--body-bg);
  border-top: 1px solid var(--content-border);
  border-bottom: 1px solid var(--content-border);
}

html[data-color-scheme] .tl_notification_preview .notification:nth-child(even) {
  background: var(--table-nb-even);
}

html[data-color-scheme] .tl_notification_preview .notification .messages .message .head {
  color: var(--green);
}
