:root {
    --bbzshop-primary: #1504A5;
    --bbzshop-primary-bright: #1938D9;
    --bbzshop-accent: #B2B1FF;
    --bbzshop-surface: #E9F1F2;
    --bbzshop-surface-strong: #D7E4E6;
    --bbzshop-border: #B7C8CB;
    --bbzshop-text: #000;
    --bbzshop-muted: #5C686A;
    --bbzshop-success: #2E7D32;
    --bbzshop-danger: #C44333;
    --bbzshop-white: #FFF;
    --bbzshop-radius: 4px;
    --bbzshop-focus: 0 0 0 0.25rem rgba(25, 56, 217, 0.18);
    --bbzshop-sepa-logo: url("../Images/Payment/directdebit.svg");
    --bbzshop-paypal-logo: url("../Images/Payment/de-pp-logo-150px.png");
}

/* --------------------------------------------------------------------------
   Bootstrap-4-Kompatibilität innerhalb des Shops
   -------------------------------------------------------------------------- */

#booking-page .form-row,
#request-page .form-row,
#customer-account .form-row,
#new-participant-modal-form .form-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

#booking-page .form-row > *,
#request-page .form-row > *,
#customer-account .form-row > *,
#new-participant-modal-form .form-row > * {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

#booking-page .form-group,
#request-page .form-group,
#customer-account .form-group,
#new-participant-modal-form .form-group {
    margin-bottom: 1.25rem;
}

#booking-page .input-group-append,
#request-page .input-group-append,
#customer-account .input-group-append,
#new-participant-modal-form .input-group-append {
    display: flex;
    margin-left: -2px;
}

#booking-page .text-right,
#request-page .text-right,
#customer-account .text-right {
    text-align: right !important;
}

#booking-page .btn-block,
#customer-account .btn-block,
#new-participant-modal-form .btn-block {
    display: block;
    width: 100%;
}

#booking-page .mr-2,
#request-page .mr-2,
#customer-account .mr-2 {
    margin-right: 0.5rem !important;
}

/* --------------------------------------------------------------------------
   Grundlayout und Statuswechsel der Buchungsstrecke
   -------------------------------------------------------------------------- */

#booking-page,
#request-page {
    position: relative;
    display: block;
    width: 100%;
    color: var(--bbzshop-text);
}

#booking-page .booking-section,
#request-page .request-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

#booking-page .booking-step.todo,
#booking-page .booking-step.done {
    display: none;
}

#booking-page .booking-step.current {
    display: block;
}

#booking-page h2.section-header,
#request-page h2.section-header,
#customer-account h2.section-header {
    color: var(--bbzshop-text);
    font-weight: 700;
}

#booking-spinner-wrapper,
#customer-account-loading {
    position: fixed;
    top: 71px;
    left: 0;
    z-index: 1090;
    width: 100%;
    height: calc(100vh - 71px);
    height: calc(100dvh - 71px);
    min-height: 280px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(2px);
}

#booking-spinner-wrapper .spinner-border,
#customer-account-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--bbzshop-primary-bright);
    border-width: 0.3rem;
}

#booking-price-wrapper {
    padding-top: 35px;
}

#booking-page .booking-header-row,
#request-page .request-header-row {
    padding-right: 15px;
    padding-left: 15px;
    background-color: var(--bbzshop-surface);
}

#booking-page .booking-header-row:first-child,
#request-page .request-header-row:first-child {
    padding-top: 30px;
    border-radius: var(--bbzshop-radius) var(--bbzshop-radius) 0 0;
}

#booking-page .booking-header-row:last-child,
#request-page .request-header-row:last-child {
    padding-bottom: 30px;
    border-radius: 0 0 var(--bbzshop-radius) var(--bbzshop-radius);
}

p.product-price {
    margin-bottom: 0;
    color: var(--bbzshop-primary);
    font-size: 22px;
    font-weight: 700;
}

#booking-price-wrapper #tax-free-hinweis {
    margin-bottom: 0;
}

#product-booking-info {
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Fortschrittsnavigation
   -------------------------------------------------------------------------- */

#booking-navigation .row {
    row-gap: 0.5rem;
}

#booking-navigation .booking-nav {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 44px;
    padding-left: 42px;
    color: rgba(0, 0, 0, 0.42);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

#booking-navigation .booking-nav::before {
    position: absolute;
    top: 0;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    font-size: 14px;
    line-height: 1;
}

#booking-navigation .booking-nav.current {
    color: var(--bbzshop-primary-bright);
}

#booking-navigation .booking-nav.current::before {
    background-color: currentColor;
    box-shadow: inset 0 0 0 5px var(--bbzshop-white);
}

#booking-navigation .booking-nav.success {
    color: var(--bbzshop-success);
}

#booking-navigation .booking-nav.success::before {
    border-color: var(--bbzshop-success);
    background-color: var(--bbzshop-success);
    color: var(--bbzshop-white);
    content: "✓";
    font-weight: 700;
}

#booking-navigation .booking-nav > i.fa {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Login und Registrierung
   -------------------------------------------------------------------------- */

#booking-login .login-frame-head,
#booking-register .register-frame-head {
    padding: 25px 30px;
    border-radius: var(--bbzshop-radius) var(--bbzshop-radius) 0 0;
    background-color: var(--bbzshop-primary-bright);
    color: var(--bbzshop-white);
}

#booking-login .login-frame-head h2.section-header,
#booking-register .register-frame-head h2.section-header {
    margin-bottom: 0 !important;
    color: var(--bbzshop-white);
}

#booking-login .login-frame,
#booking-register .register-frame {
    min-height: calc(100% - 79px);
    padding: 30px;
    border: 2px solid var(--bbzshop-surface);
    border-top: 0;
    border-radius: 0 0 var(--bbzshop-radius) var(--bbzshop-radius);
    background-color: var(--bbzshop-white);
}

#booking-register .register-frame ul {
    padding-left: 24px;
    list-style-position: outside;
}

#booking-register-btn {
    margin-bottom: 35px;
}

#booking-page .customer-account-info {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Formulare, Hinweise und Validierung
   -------------------------------------------------------------------------- */

#request-page .clearfix h2 {
    margin-top: 25px;
}

#booking-page .form-control,
#booking-page .form-select,
#request-page .form-control,
#request-page .form-select,
#customer-account .form-control,
#customer-account .form-select,
#new-participant-modal-form .form-control,
#new-participant-modal-form .form-select {
    min-height: 50px;
    padding: 12px 15px;
    border: 2px solid var(--bbzshop-surface);
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-white);
    color: var(--bbzshop-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    background-color 0.15s ease-in-out;
}

#booking-page textarea.form-control,
#customer-account textarea.form-control,
#new-participant-modal-form textarea.form-control {
    min-height: 130px;
}

#request-page textarea.form-control {
    min-height: 250px;
}

#request-page .btn-toolbar {
    justify-content: space-between;
    margin-top: 15px;
}

#request-page .btn-group[role="group"] {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#requestform .btn.btn-primary {
    border-radius: 4px !important;
    margin-top: 0 !important;
}

@media(max-width: 575px){
    #request-page .btn-group[role="group"] {
        width: 100%;
        flex-direction: column;
        order: 1;
    }

    #requestform .btn.btn-primary {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    #requestform .back {
        order: 2;
    }
}

#booking-page .form-control:focus,
#booking-page .form-select:focus,
#request-page .form-control:focus,
#request-page .form-select:focus,
#customer-account .form-control:focus,
#customer-account .form-select:focus,
#new-participant-modal-form .form-control:focus,
#new-participant-modal-form .form-select:focus {
    border-color: var(--bbzshop-primary-bright);
    background-color: var(--bbzshop-white);
    color: var(--bbzshop-text);
    outline: 0;
    box-shadow: var(--bbzshop-focus);
}

#booking-page .form-control:disabled,
#booking-page .form-control[readonly],
#reques-page .form-control:disabled,
#reques-page .form-control[readonly],
#customer-account .form-control:disabled,
#new-participant-modal-form .form-control:disabled {
    background-color: var(--bbzshop-surface);
    opacity: 1;
}

#booking-page .form-control.error,
#request-page .form-control.error,
#booking-page .has-error .form-control,
#customer-account .form-control.error,
#customer-account .has-error .form-control,
#new-participant-modal-form .form-control.error,
#new-participant-modal-form .has-error .form-control {
    border-color: var(--bbzshop-danger);
}

#booking-page .form-group > label,
#request-page .form-group > label,
#customer-account .form-group > label,
#new-participant-modal-form .form-group > label {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--bbzshop-text);
    font-size: 15px;
    font-weight: 600;
}

#booking-page .form-text,
#request-page .form-text,
#customer-account .form-text,
#new-participant-modal-form .form-text {
    display: block;
    margin-top: 0.45rem;
    color: var(--bbzshop-muted) !important;
    font-size: 14px;
    line-height: 1.35;
}

#booking-page .required,
#request-page .required,
#customer-account .required,
#new-participant-modal-form .required {
    color: var(--bbzshop-danger);
}

#booking-page .help-block,
#request-page .form-text,
#customer-account .help-block,
#new-participant-modal-form .help-block {
    display: block;
    margin-top: 0.4rem;
    font-size: 14px;
    line-height: 1.35;
}

#booking-page .help-block.error,
#customer-account .help-block.error,
#new-participant-modal-form .help-block.error {
    color: var(--bbzshop-danger);
    font-weight: 700;
}

#request-page .form-text.error {
    color: var(--bbzshop-danger) !important;
    font-weight: 700;
    background-color: transparent;
}

#booking-page .form-check-label[for="terms"] a,
#booking-page .form-check-label[for="revocation"] a {
    text-decoration: underline;
}

#booking-page .form-check-label[for="terms"] a:hover,
#booking-page .form-check-label[for="revocation"] a:hover {
    text-decoration: none;
}

/* Bootstrap 5 Form-Checks statt der alten absolut positionierten Pseudoelemente */
#booking-page .form-check,
#request-page .form-check,
#customer-account .form-check,
#new-participant-modal-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 1.5rem;
    padding-left: 0;
}

#booking-page #customer-participant .form-check,
#booking-page #payment-method .form-check {
    margin-bottom: 0 !important;
}

#booking-page .form-check-input,
#request-page .form-check-input,
#customer-account .form-check-input,
#new-participant-modal-form .form-check-input {
    float: none;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0.05rem 0 0;
    border: 2px solid var(--bbzshop-border);
    background-color: var(--bbzshop-white);
    cursor: pointer;
}

#booking-page .form-check-input:checked,
#request-page .form-check-input:checked,
#customer-account .form-check-input:checked,
#new-participant-modal-form .form-check-input:checked {
    border-color: var(--bbzshop-primary-bright);
    background-color: var(--bbzshop-primary-bright);
}

#booking-page .form-check-input:focus,
#request-page .form-check-input:focus,
#customer-account .form-check-input:focus,
#new-participant-modal-form .form-check-input:focus {
    border-color: var(--bbzshop-primary-bright);
    outline: 0;
    box-shadow: var(--bbzshop-focus);
}

#booking-page .form-check-input:disabled,
#request-page .form-check-input:disabled,
#customer-account .form-check-input:disabled,
#new-participant-modal-form .form-check-input:disabled {
    cursor: default;
    opacity: 0.65;
}

#booking-page .form-check-label,
#request-page .form-check-label,
#customer-account .form-check-label,
#new-participant-modal-form .form-check-label {
    margin-bottom: 0;
    color: var(--bbzshop-text);
    cursor: pointer;
    line-height: 1.35;
}

#booking-page .form-check-input.applyParticipant,
#booking-page #applyCustomerAsParticipant,
#booking-page #paymentMethodMollie,
#booking-page #paymentMethodPaypal,
#booking-page #paymentMethodSepa,
#customer-account #user-private {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

#booking-page #customer-participant-label {
    align-self: center;
    font-size: 17px;
}

#booking-page #customer-participant-label .help-block.error {
    display: block;
}

#booking-page .input-group > .form-control {
    min-width: 0;
    border-radius: var(--bbzshop-radius) 0 0 var(--bbzshop-radius);
}

#booking-page .input-group-append > .btn,
#customer-account .input-group-append > .btn,
#new-participant-modal-form .input-group-append > .btn {
    min-width: 52px;
    margin: 0;
    border: 2px solid var(--bbzshop-surface);
    border-left-color: var(--bbzshop-border);
    border-radius: 0 var(--bbzshop-radius) var(--bbzshop-radius) 0;
    background-color: var(--bbzshop-surface);
    color: var(--bbzshop-primary);
    font-size: 15px;
}

#booking-page .toggle-password {
    position: relative;
}

#booking-page .toggle-password .fa {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50% / 60%;
    font-size: 0;
}

#booking-page .toggle-password .fa::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

#booking-page .toggle-password .fa-eye-slash::after {
    position: absolute;
    top: 50%;
    left: -3px;
    width: 24px;
    height: 2px;
    background-color: currentColor;
    content: "";
    transform: rotate(-38deg);
}

/* --------------------------------------------------------------------------
   Passwortstärke
   -------------------------------------------------------------------------- */

#booking-page .progress {
    width: calc(100% - 1.5rem);
    height: 8px;
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    padding: 0 !important;
    border-radius: 999px;
    background-color: var(--bbzshop-surface-strong);
    overflow: hidden;
}

#booking-page .progress-bar {
    background-color: var(--bbzshop-accent);
    transition: width 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

#booking-page .progress-bar.pw-success {
    background-color: var(--bbzshop-success) !important;
}

#booking-page .password-info {
    padding: 18px 20px;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-surface);
    font-size: 15px;
    line-height: 1.45;
}

#booking-page .info-box-pw {
    position: relative;
    display: block;
    width: 100%;
    padding-left: 24px;
    font-weight: 600;
}

#booking-page .info-box-pw::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--bbzshop-danger);
    content: "×";
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

#booking-page .info-box-pw.pw-success::before {
    color: var(--bbzshop-success);
    content: "✓";
    font-size: 16px;
}

#booking-page .info-box-pw > i.fa {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Teilnehmer-Akkordions und Icon-Buttons
   -------------------------------------------------------------------------- */

#new-participant-form .single-participant-data,
#existing-participant-form .single-participant-data {
    margin-bottom: 15px;
}

#new-participant-form .card,
#existing-participant-form .card,
#new-participant-modal-form .card {
    border: 0;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-white);
    box-shadow: 0 0 0 2px var(--bbzshop-surface);
    overflow: hidden;
}

#new-participant-form .card.alert-danger,
#existing-participant-form .card.alert-danger,
#new-participant-modal-form .card.alert-danger {
    color: var(--bbzshop-text);
    background-color: var(--bbzshop-white);
    box-shadow: 0 0 0 2px var(--bbzshop-danger);
}

#new-participant-form .card-header,
#existing-participant-form .card-header,
#new-participant-modal-form .card-header {
    padding: 0;
    border: 0;
    background-color: var(--bbzshop-surface);
}

#new-participant-form .card-header .participant-header,
#existing-participant-form .card-header .participant-header,
#new-participant-modal-form .card-header .participant-header {
    margin: 0;
}

#new-participant-form .card-header .btn-link,
#existing-participant-form .card-header .btn-link,
#new-participant-modal-form .card-header .btn-link,
#customer-order-accordion .card-header .btn-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    margin: 0 !important;
    padding: 18px 52px 18px 20px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--bbzshop-text) !important;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}

#new-participant-form .card-header .btn-link::after,
#existing-participant-form .card-header .btn-link::after,
#new-participant-modal-form .card-header .btn-link::after,
#customer-order-accordion .card-header .btn-link::after {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-65%) rotate(225deg);
    transition: transform 0.2s ease-in-out;
}

#new-participant-form .card-header .btn-link.collapsed::after,
#existing-participant-form .card-header .btn-link.collapsed::after,
#new-participant-modal-form .card-header .btn-link.collapsed::after,
#customer-order-accordion .card-header .btn-link.collapsed::after {
    transform: translateY(-65%) rotate(45deg);
}

#new-participant-form .card.alert-danger .card-header .btn-link,
#existing-participant-form .card.alert-danger .card-header .btn-link,
#new-participant-modal-form .card.alert-danger .card-header .btn-link {
    color: var(--bbzshop-danger) !important;
}

#new-participant-form .card-body,
#existing-participant-form .card-body,
#new-participant-modal-form .card-body {
    padding: 25px 20px;
}

#new-participant-form button,
#existing-participant-form button,
#new-participant-modal-form button {
    margin-top: 0;
}

#new-participant-form button.btn-icon,
#existing-participant-form button.btn-icon,
#new-participant-modal-form button.btn-icon {
    margin-top: 8px;
}

#booking-page .btn-icon,
#customer-account .btn-icon,
#new-participant-modal-form .btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bbzshop-surface);
    color: var(--bbzshop-primary);
    text-decoration: none;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

#booking-page .btn-icon:hover,
#booking-page .btn-icon:focus,
#customer-account .btn-icon:hover,
#customer-account .btn-icon:focus,
#new-participant-modal-form .btn-icon:hover,
#new-participant-modal-form .btn-icon:focus {
    background-color: var(--bbzshop-accent);
    color: var(--bbzshop-primary);
    transform: scale(1.06);
}

#booking-page .btn-icon.delete-participant::before,
#booking-page .btn-icon.delete-existing-participant::before,
#customer-account .btn-icon.delete-participant::before,
#customer-account .btn-icon.delete-existing-participant::before,
#new-participant-modal-form .btn-icon.delete-participant::before,
#new-participant-modal-form .btn-icon.delete-existing-participant::before,
#reset-voucher::before {
    content: "×";
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
}

#booking-page .btn-icon.btn-goto-edit::before,
#customer-account .btn-icon.btn-goto-edit::before {
    content: "✎";
    font-size: 20px;
    line-height: 1;
}

#reset-voucher {
    width: 24px !important;
    height: 24px !important;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Zahlungsarten, Rabatt und Bestellübersicht
   -------------------------------------------------------------------------- */

#payment-method-logo-sepa,
#payment-method-logo-paypal {
    display: block;
    position: relative;
    min-height: 45px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

#payment-method-logo-sepa {
    background-image: var(--bbzshop-sepa-logo);
}

#payment-method-logo-paypal {
    background-image: var(--bbzshop-paypal-logo);
}

#staggered-price-info {
    padding: 15px 18px !important;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-surface);
    font-size: 15px;
    font-weight: 700;
}

#booking-page .participant-counter-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bbzshop-primary-bright);
    color: var(--bbzshop-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

#submit-voucher {
    padding: 8px 30px;
}

#final-booking-info {
    font-size: 14px;
}

#order-preview-container {
    margin-left: 0;
    padding: 20px;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-surface);
}

#order-preview-header-row {
    padding-top: 3px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--bbzshop-primary);
    font-weight: 700;
}

#order-preview-first-row {
    padding-top: 10px;
}

#order-preview-row {
    padding-bottom: 8px;
}

#order-preview-sum-row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 2px solid var(--bbzshop-primary);
    font-weight: 700;
}

#order-preview-total-row {
    padding-top: 10px;
    border-top: 3px solid var(--bbzshop-primary);
    color: var(--bbzshop-primary);
    font-size: 17px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Modal für LCDP-Status- und Fehlermeldungen
   -------------------------------------------------------------------------- */

#myModalLCDP .modal-content {
    border: 0;
    border-top: 8px solid var(--bbzshop-primary-bright);
    border-radius: 0;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

#myModalLCDP .modal-header,
#myModalLCDP .modal-body,
#myModalLCDP .modal-footer {
    border: 0;
}

#myModalLCDP .modal-title {
    margin-bottom: 0;
    color: var(--bbzshop-text);
    font-size: 26px;
    font-weight: 700;
}

#myModalLCDP .modal-header {
    padding: 28px 28px 10px;
}

#myModalLCDP .modal-body {
    padding: 10px 28px 28px;
}

#myModalLCDP .modal-body .confirmation-message-header,
#myModalLCDP .modal-body .confirmation-message-body {
    text-align: center;
}

/* --------------------------------------------------------------------------
   Kundenbereich: Grundlayout und Stammdaten
   -------------------------------------------------------------------------- */

#customer-account {
    min-height: 100vh;
    color: var(--bbzshop-text);
}

#customer-data-table,
#customer-orders-table {
    padding-bottom: 100px;
}

#customer-data-table {
    max-width: 980px;
}

#customer-data-table .form-group {
    margin-bottom: 5px;
}

#customer-data-table .customer-data-field {
    padding-top: 7px;
    padding-bottom: 7px;
}

#customer-data-table .customer-data-field > label,
#customer-data-table .customer-data-field .form-control,
#customer-data-table .customer-data-field .form-control-plaintext {
    color: var(--bbzshop-text);
    font-size: 16px;
}

#customer-data-table .customer-data-field > label {
    font-weight: 700;
}

#customer-data-table .form-control-plaintext {
    min-height: 38px;
    padding: 6px 0;
    border: 0 !important;
    background-color: transparent;
    color: var(--bbzshop-text);
    font-weight: 500;
    box-shadow: none !important;
    outline: 0 !important;
}

#customer-data-table .customer-data-field.form-check {
    margin-bottom: 20px;
    padding-left: 0;
}

#customer-data-table .customer-data-field.form-check .form-check-label {
    align-self: center;
    font-weight: 600;
}

#customer-account .btn-secondary {
    border-color: var(--bbzshop-surface);
    background-color: var(--bbzshop-surface);
    color: var(--bbzshop-primary);
}

#customer-account .btn-secondary:hover,
#customer-account .btn-secondary:active,
#customer-account .btn-secondary:focus {
    border-color: var(--bbzshop-primary);
    background-color: var(--bbzshop-primary);
    color: var(--bbzshop-white);
}

/* --------------------------------------------------------------------------
   Kundenbereich: Bestellungen und Pagination
   -------------------------------------------------------------------------- */

#customer-order-header-row {
    border-bottom: 3px solid var(--bbzshop-primary-bright);
}

#customer-order-header-row .customer-order-field {
    font-weight: 700;
}

.customer-order-field {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 16px;
    line-height: 1.35;
}

.customer-order-date,
.customer-order-price {
    font-weight: 700;
}

.customer-order-row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bbzshop-surface-strong);
}

.mobile-order-table-header {
    margin-right: 5px;
    font-weight: 700;
}

#customer-order-accordion ul {
    padding-left: 0;
    list-style: none;
}

#customer-order-accordion .card {
    margin-bottom: 25px;
    border: 0;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-white);
    box-shadow: 0 0 0 2px var(--bbzshop-surface);
    overflow: hidden;
}

#customer-order-accordion .card-header {
    padding: 0;
    border: 0;
    background-color: var(--bbzshop-surface);
}

#customer-order-accordion .card-body {
    padding: 22px 20px;
}

#customer-account .customer-order-checkout-button {
    margin-top: 10px;
    margin-bottom: 10px !important;
    padding: 8px 14px !important;
    font-size: 16px !important;
}

#customer-order-pagination .pagination,
#customer-participants-pagination .pagination {
    flex-wrap: wrap;
    gap: 6px;
}

#customer-order-pagination .page-link,
#customer-participants-pagination .page-link {
    min-width: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-surface);
    color: var(--bbzshop-primary-bright) !important;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    outline: 0;
}

#customer-order-pagination .page-item.active .page-link,
#customer-participants-pagination .page-item.active .page-link,
#customer-order-pagination .current > .page-link,
#customer-participants-pagination .current > .page-link {
    background-color: var(--bbzshop-primary-bright);
    color: var(--bbzshop-white) !important;
}

#customer-order-pagination .page-link:hover,
#customer-order-pagination .page-link:focus,
#customer-participants-pagination .page-link:hover,
#customer-participants-pagination .page-link:focus {
    background-color: var(--bbzshop-primary);
    color: var(--bbzshop-white) !important;
    text-decoration: none;
}

#customer-order-pagination .page-item.disabled .page-link,
#customer-order-pagination .page-link.disabled,
#customer-participants-pagination .page-item.disabled .page-link,
#customer-participants-pagination .page-link.disabled {
    background-color: var(--bbzshop-surface);
    color: var(--bbzshop-muted) !important;
    cursor: default;
    opacity: 0.55;
    pointer-events: none;
}

#no-participants-message,
#no-orders-message {
    padding: 30px 20px;
    border-radius: var(--bbzshop-radius);
    background-color: var(--bbzshop-surface);
    font-size: 20px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Buchungsbestätigung
   -------------------------------------------------------------------------- */

#booking-confirmation-page {
    color: var(--bbzshop-text);
}

#booking-confirmation-page > .container > .row {
    margin-right: 0;
    margin-left: 0;
    padding: 35px 30px;
    border-top: 8px solid var(--bbzshop-primary-bright);
    background-color: var(--bbzshop-surface);
}

#booking-confirmation-page > .container > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

#booking-confirmation-header {
    margin-bottom: 20px;
}

#booking-confirmation-text {
    font-size: 18px;
    line-height: 1.45;
}

#booking-confirmation-text .btn {
    margin-top: 20px;
}

/* Bootstrap-5-Rasterbreiten für die ehemaligen .form-row-Container */
@media (min-width: 768px) {

    #product-booking-info {
        font-size: 17px;
    }

    #booking-page .form-row > .col-md-3,
    #customer-account .form-row > .col-md-3,
    #new-participant-modal-form .form-row > .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    #booking-page .form-row > .col-md-4,
    #customer-account .form-row > .col-md-4,
    #new-participant-modal-form .form-row > .col-md-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    #booking-page .form-row > .col-md-6,
    #customer-account .form-row > .col-md-6,
    #new-participant-modal-form .form-row > .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    #booking-page .form-row > .col-md-12,
    #customer-account .form-row > .col-md-12,
    #new-participant-modal-form .form-row > .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 992px) {
    #booking-page .form-row > .col-lg-3,
    #customer-account .form-row > .col-lg-3,
    #new-participant-modal-form .form-row > .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    #booking-page .form-row > .col-lg-4,
    #customer-account .form-row > .col-lg-4,
    #new-participant-modal-form .form-row > .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

#booking-page .form-row > .progress {
    flex: 0 0 calc(100% - 1.5rem);
    width: calc(100% - 1.5rem);
}

/* --------------------------------------------------------------------------
   Responsive Anpassungen
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
    #booking-price-wrapper {
        padding-top: 0;
    }

    #booking-login .login-frame-head,
    #booking-register .register-frame-head,
    #booking-login .login-frame,
    #booking-register .register-frame {
        padding-right: 20px;
        padding-left: 20px;
    }

    #booking-page .button-container .btn {
        max-width: 100%;
        white-space: normal;
    }

    #order-preview-container {
        padding: 15px 12px;
        font-size: 14px;
    }

    #booking-confirmation-page > .container > .row {
        padding: 28px 20px;
    }
}

@media (min-width: 768px) {
    #booking-spinner-wrapper,
    #customer-account-loading {
        top: 81px;
        height: calc(100vh - 81px);
        height: calc(100dvh - 81px);
    }

    #booking-navigation .booking-nav {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        font-size: 15px;
    }

    #booking-navigation .booking-nav::before {
        width: 26px;
        height: 26px;
    }

    #order-preview-total-row {
        font-size: 18px;
    }
}

@media (max-width: 991.98px) {
    #customer-order-header-row {
        display: none;
    }

    .customer-order-field {
        padding-top: 5px;
        padding-bottom: 5px;
        line-height: 1.45;
    }

    .customer-order-row {
        margin-right: 0;
        margin-left: 0;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (min-width: 992px) {
    #booking-page .booking-section,
    #request-page .request-section {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    #booking-navigation .booking-nav {
        flex: 0 0 20%;
        max-width: 20%;
        padding-left: 48px;
    }

    #booking-navigation .booking-nav::before {
        left: 14px;
        width: 28px;
        height: 28px;
    }

    #myModalLCDP .modal-title {
        font-size: 30px;
    }

    #myModalLCDP .modal-header {
        padding: 35px 35px 15px;
    }

    #myModalLCDP .modal-body {
        padding: 15px 35px 35px;
    }

    #new-participant-form .card-body,
    #existing-participant-form .card-body,
    #new-participant-modal-form .card-body,
    #customer-order-accordion .card-body {
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    #booking-spinner-wrapper,
    #customer-account-loading {
        top: 101px;
        height: calc(100vh - 101px);
        height: calc(100dvh - 101px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #booking-page *,
    #customer-account *,
    #booking-confirmation-page *,
    #myModalLCDP * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
