/* Gebuehren-Zeilen in Checkout/Order-Ansichten ausblenden */
body.woocommerce-checkout .shop_table tr.fee,
body.woocommerce-order-received .shop_table tr.fee,
body.woocommerce-view-order .shop_table tr.fee {
  display: none !important;
}

body.woocommerce-checkout .shop_table tr.fee small,
body.woocommerce-order-received .shop_table tr.fee small,
body.woocommerce-view-order .shop_table tr.fee small {
  display: none !important;
}

/* BACKEND-STILE (historisch, aktuell in Frontend-Datei belassen für unverändertes Verhalten) */
.wc-camps-admin-panel {
  background: white;
  padding: 15px;
  border: 1px solid #ccd0d4;
}

.participant-group {
  background: #f9f9f9;
  padding: 15px;
  margin: 10px 0;
  border-left: 4px solid #0073aa;
}

.wc-camps-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.wc-camps-summary-table th {
  background: #f8f9fa;
  font-weight: 600;
}

/* CHECKOUT-ABRECHNUNGSFELDER */
.woocommerce-billing-fields__field-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: row !important;
}

.woocommerce-billing-fields__field-wrapper>p {
  width: calc(50% - 5px) !important;
}

.woocommerce-billing-fields__field-wrapper>p:nth-child(3),
.woocommerce-billing-fields__field-wrapper>p:nth-child(4),
.woocommerce-billing-fields__field-wrapper>p:nth-child(5),
.woocommerce-billing-fields__field-wrapper>p:last-child {
  width: 100% !important;
}

/* CHECKOUT-AKKORDEON TEILNEHMENDE */
.accordionParticipantes .wc-acc {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.wc-acc-h {
  padding: 12px 14px;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-acc-h:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.wc-acc-h::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.wc-acc.open .wc-acc-h::after {
  transform: rotate(-135deg);
}

.wc-acc-b {
  display: none;
  padding: 12px 14px;
  background: #fff;
}

.wc-acc-h[aria-expanded="true"]+div {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: row !important;
}

.wc-acc-h[aria-expanded="true"]+div>p {
  width: calc(50% - 5px) !important;
  position: relative;
}

.wc-acc-h[aria-expanded="true"]+div>p:nth-child(4),
.wc-acc-h[aria-expanded="true"]+div>p:nth-child(3),
.wc-acc-h[aria-expanded="true"]+div>p:nth-child(9),
.wc-acc-h[aria-expanded="true"]+div>p:nth-child(10) {
  width: 100% !important;
}

/* CHECKOUT-POPUP */
.wc-camps-ins-info {
  margin-left: 8px;
  display: inline-flex;
  font-size: 12px;
  line-height: 18px;
  justify-content: center;
  background: none !important;
  align-items: center;
  color: #f18700;
  text-decoration: underline;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 0px;
  top: 8px;
  padding: 5px;
  box-shadow: none !important;
}

.wc-camps-ins-info svg {
  max-width: 15px;
  max-height: 15px;
  margin-right: 5px;
}

.wc-camps-ins-info:hover {
  color: #f18700 !important;
}

.wc-camps-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 9999;
}

.wc-camps-modal[hidden] {
  display: none;
}

.wc-camps-modal.is-open {
  opacity: 1;
}

.wc-camps-modal__box {
  position: relative;
  background: #fff;
  max-width: 900px;
  width: 95%;
  padding: 40px !important;
  padding-top: 80px !important;
  border-radius: 10px;
  padding: 16px 18px;
  transform: translateY(-10px);
  transition: transform .2s ease;
  max-height: 80vh;
  overflow: auto;
}

.wc-camps-modal.is-open .wc-camps-modal__box {
  transform: translateY(0);
}

.wc-camps-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f18800;
  border: 0;
  font-size: 22px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  padding: 0px;
}