:root {
  --guk-primary-red: #bd1139;
}

/* "Meine Anmeldungen" / bookings_guk module */



.bookings_guk_cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
}

.bookings_guk_card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.bookings_guk_card_header {
  background: var(--guk-primary-red);
  color: #fff;
  padding: 0.75rem 1rem;
}

.bookings_guk_card_title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.bookings_guk_card_details {
  margin: 0;
  padding: 1rem;
  flex-grow: 1;
}

.bookings_guk_card_details dt {
  float: left;
  clear: left;
  width: 40%;
  font-weight: 600;
  color: #555;
}

.bookings_guk_card_details dd {
  margin: 0 0 0.5rem 40%;
}

.bookings_guk_card_actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.bookings_guk_btn {
  display: inline-block;
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--guk-primary-red);
}

.bookings_guk_btn_event {
  background: var(--guk-primary-red);
  color: #fff;
}

.bookings_guk_btn_invoice {
  background: #fff;
  color: var(--guk-primary-red);
}

.bookings_guk_btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

#container #booking_menu .arrow-steps .step {
  font-size: 14px;
  text-align: center;
  color: #666;
  cursor: default;
  margin: 0 3px;
  padding: 10px 10px 10px 30px;
  min-width: 180px;
  float: left;
  position: relative;
  background-color: rgb(250.9563106796, 210.0436893204, 219.5582524272);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: background-color 0.2s ease;
}

/* Sub-step indicator for event pages */
.cart_event_substep {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f5f5f5;
  padding: 12px 20px;
  border-radius: 6px;
  margin: 10px 0 20px 0;
  border-left: 4px solid #bd1139;
  /* accent color from your SVG */
}

.substep_badge {
  display: flex;
  align-items: baseline;
  background: #bd1139;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.4;
  white-space: nowrap;
}

.substep_number {
  font-size: 1.3rem;
}

.substep_total {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-left: 2px;
}

.substep_info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
}

.substep_title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

.substep_date {
  font-size: 0.95rem;
  color: #666;
}

.cart_checkout_summary ul {
  padding: 0;
}

.cart_checkout_summary li {
  list-style: none;
  background-color: rgba(189, 17, 57, 0.12);
  /* light pink, same as arrow steps */
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  /* pill shape */
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  border: 1px solid rgba(189, 17, 57, 0.15);
  transition: background-color 0.2s;
  margin-bottom: 1rem;
}

.cart_checkout_summary li span {
  font-weight: 400;
  color: #666;
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

.cart_checkout_summary li::before {
  content: "•";
  color: #bd1139;
  font-weight: bold;
  margin-right: 0.5rem;
}

.cart_checkout_results div {
  list-style: none;
  background-color: rgba(189, 17, 57, 0.12);
  /* light pink, same as arrow steps */
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  /* pill shape */
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  border: 1px solid rgba(189, 17, 57, 0.15);
  transition: background-color 0.2s;
  margin-bottom: 0.5rem;
}



.cart_checkout_results div .orderno {
  background: #bd1139;
  color: #fff;
  padding: 0.15rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
}

#container .mod_guk_form .formbody .widget.payment_method {
  width: 100%;
  width: 100%;
  margin: 1rem 0;
  border-top: 1px solid #ccc;
}

#cart_contact_form .widget.submit {
  background-color: transparent;
  border: none;
}

#cart_contact_form .widget.submit:hover {
  background-color: transparent !important;
  cursor: default;
}

/* Cart view */

.cart_guk_items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cart_guk_item {
  width: 48%;
  margin-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid #bd1139;
}

.cart_guk_items .cart_guk_item_title {
  font-weight: 600;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.cart_guk_item_remove_wrapper.button {
  margin: 2rem 0 1rem 0;
}

.cart_guk_item_description {
  line-height: 1.5;
}

.cart_guk_section.cart_guk_section_non_bookable {
  border-top: 1px solid #ccc;
  margin-top: 5rem;
}

.cart_guk_item_status.cart_guk_item_waiting span,
.cart_guk_item_status.cart_guk_item_deadline span {
  background-color: white;
  border-radius: 10px;
  padding: 0.5rem;  
  font-size: 0.7rem;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Top-Bar Actions */

#topbar-action {
  display: flex;
  flex-wrap: wrap;
}

#topbar-action a {
  display: block;
  margin: 0 0.25rem;
}

#topbar-action a svg {
  width: 30px;
  height: 30px;
}

.topbar-action-cart {
  position: relative;
}

.topbar-action-cart #cart-count {
  position: absolute;
  top: 13px;
  right: 3px;
  background-color: #bd1139;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

/* styling event listing */

#container #main .inside .mod_eventlist_guk .event.layout_list .header {
  position: relative;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .internal-event {
  position: static;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .header .internal-event {
  width: 40px;
  height: 40px;
  display: block;
  background: transparent url(../images/guk-logo.svg) no-repeat 0 0;
  background-size: auto;
  background-size: 100%;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .event-Text .event-text-actions .action {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .event-Text .event-text-actions a {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  line-height: 1;
}

.event-text-content {
  width: 70%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.event-text-actions {
  width: 30%;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .event-Text {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.action.seats {
  display: flex;
  align-items: center;
  height: 2rem;
}

.action.top {
  display: flex;
  justify-content: flex-end;
}

.seat-status {
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  background-color: #f00;
  margin-left: 0.5rem;
  position: relative;
}


.seat-status.high, .seat-status.unlimited, .seat-status.low {
  background: green url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g id="Interface / Check_Big"><path id="Vector" d="M4 12L8.94975 16.9497L19.5572 6.34326" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></g></svg>');
  background-size: 90%;
  background-position: center center;
}

.seat-status.low {
 background-color: #ffbf00;
}


.seat-status.waiting,.seat-status.not-available {
  background-color: red;
}

.seat-status.not-available::before {
  content: '!';
  font-weight: bold;
  color: #fff;
  width: 100%;
  text-align: center;
  display: block;
  line-height: 20px;
}

.seat-status.waiting::before {
  content: 'W';
  color: #fff;
  width: 100%;
  text-align: center;
  display: block;
  line-height: 20px;
}

.seat-status.external {
  background-color: purple;
}

.seat-status.external::before {
  content: 'E';
  color: #fff;
  width: 100%;
  text-align: center;
  display: block;
  line-height: 20px;
}

.action_seats {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  border-right: 1px solid #ccc;
  padding-right: 0.5rem;
  text-align: right;
  font-size: 0.78rem;
}

.cart_button {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .event-Text .event-text-actions .cart_button a {
  display: inline;
}

.cart_button svg {
  width: 25px;
  height: 25px;
}

.cart_add:hover path {
  stroke: #f00 !important;
}

#container #main .inside .mod_eventlist_guk .event.layout_list .event-Text .event-text-actions .cart_button .add-remove {
  position: absolute;
  right: 0px;
  bottom: -1px;
  background-color: #fff;
  border-radius: 50%;
  color: #bd1139;
  width: 20px;
  height: 20px;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Account Creation */

.widget.password,
.widget.password_confirm {
    display: none;
}
body:has(#opt_create_account_0:checked) .widget.password,
body:has(#opt_create_account_0:checked) .widget.password_confirm {
    display: block;
}

#container #ctrl_create_account {
  box-shadow: none;
  border-top: 1px solid #ccc;
  padding: 0;
}

.widget.create_account {
  width: 100% !important;
  margin: 0 !important;
}

#container #ctrl_create_account span {
  margin: 0;
  padding: 0;
}

#ctrl_create_account #lbl_create_account_0 {
  margin-bottom: 0;
}

.mod_cart_checkout_guk .member_created_notice {
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  padding-top: 1rem;
}

/* Responsive tweaks */

@media (max-width: 980px) {
  #topbar-action {
    padding-right: 3rem;
  }
}


@media (max-width: 600px) {
  #topbar-action {
    display: none;
  }

  .cart_event_substep {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px;
  }

  .substep_badge {
    align-self: flex-start;
  }

  .cart_guk_item {
    width: 100%;
  }
}


/* Event filter: text search */
#container #main .inside .event_filters .searchwrap {
  display: inline-block;
  width: 100%;
}

#container #main .inside .event_filters .searchwrap label {
  font-weight: 600;
}

#container #main .inside .event_filters .searchfield {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

#container #main .inside .event_filters .searchfield .inputwrap {
  position: relative;
  width: calc(100% - 258px);
  margin-bottom: 0;    
}

#container #main .inside .event_filters .searchfield input {
  width: 100%;
  max-width: none;
  padding-right: 2.25rem;
  box-sizing: border-box;
}

#container #main .inside .event_filters .searchfield input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

#container #main .inside .event_filters .searchfield .reset {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 2.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

#container #main .inside .event_filters .searchfield .reset[hidden] {
  display: none;
}


#container #main .inside .event_filters .searchfield .submit {
  background-color: var(--guk-primary-red);
  color: #fff;
  width: 246px;
  margin: 0;
}


#container #main .inside .event_filters .searchwrap input[type="search"] {
  padding: 0.5rem;
  font-family: "OpenSans", sans-serif;
  line-height: 1.5;
  background-color: #fff;
  color: #000;
  border: 1px solid #bd1139;
}

/* DEACTIVATE EMAIL-FIELD IN PROFILE-EDIT */
#ctrl_email_87 {
  pointer-events: none;
  color: #777;
}
