/* AuftragsPilot: globaler Zur-Übersicht-Button auf Unterseiten */

.ap-back-overview-wrap {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 18px;
  padding: 0;
}

.ap-back-overview,
html body a.ap-back-overview,
html body .back.ap-back-overview {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 52px !important;
  padding: 14px 24px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(96,132,190,.34) !important;
  background: linear-gradient(135deg, #ffffff, #edf4ff) !important;
  color: #10245a !important;
  text-decoration: none !important;
  font-family: Arial, system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow:
    0 10px 24px rgba(58,96,160,.13),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
  cursor: pointer !important;
  text-shadow: none !important;
}

.ap-back-overview:hover,
html body a.ap-back-overview:hover,
html body .back.ap-back-overview:hover {
  background: linear-gradient(135deg, #ffffff, #dfeeff) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(58,96,160,.18) !important;
}

@media (max-width: 720px) {
  .ap-back-overview-wrap {
    margin-bottom: 14px;
  }

  .ap-back-overview,
  html body a.ap-back-overview,
  html body .back.ap-back-overview {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 16px !important;
  }
}

/* AP: Zur Übersicht auch in Rechner-/Unterpanels */
.ap-panel-back-wrap {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px 0;
  padding: 0;
}

html body .panel > .ap-panel-back-wrap:first-child {
  display: block !important;
}

html body .ap-panel-back-link {
  margin-bottom: 0 !important;
}
