/* Event Attendees tab start*/
.wps-e_attend {
    container-type: inline-size;
    width: 100%;
}


.wps-e_a-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 15px;
}

.wps-e_a-part {
    margin-top: 15px;
}

img.wps-e_ac-profile {
    width: 75px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 0 10px;
    border: 1px solid #ccc;
}

.wps-e_a-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
}

.wps-e_ac-label {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 5px;
}

.wps-e_a-col {
    padding: 10px;
}

.wps-e_ac-desc {
    font-size: 14px;
    line-height: 1.25;
}

@container (max-width: 800px) {
    .wps-e_a-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@container (max-width: 540px) {
    .wps-e_a-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@container (max-width: 420px) {
    .wps-e_a-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Event Attendees tab end*/

/* .wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--plus {
    display: none;
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--minus {
    display: none;
} */

/* Event Calender Layout Enhancement */

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr auto 1fr;
    justify-content: stretch;
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk {
    align-items: center;
    display: flex;
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:first-child {
    justify-content: flex-start;
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:nth-child(2) {
    justify-content: center;
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:last-child {
    justify-content: flex-end;
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-title {
    color: #2b1d52;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-align: center;
}

#wps_event_listing_in_calender .fc-view-harness table.fc-col-header {
    margin: 0;
}

#wps_event_listing_in_calender .fc-view-harness a {
    text-decoration: none;
}

#wps_event_listing_in_calender .fc-view-harness table.fc-col-header a {
    color: #000;
    padding: 10px 0;
}

#wps_event_listing_in_calender .fc-view-harness a.fc-daygrid-day-number {
    padding: 8px 15px 8px 8px;
    color: #3788d8;
}

#wps_event_listing_in_calender .fc-view-harness table {
    margin: 0;
}

#wps_event_listing_in_calender .fc-view-harness .fc-daygrid-day-top {
    justify-content: center;
}

#wps_event_listing_in_calender .fc-view-harness .fc-daygrid-day-frame {
    padding: 10px;
}

#wps_event_listing_in_calender .fc-view-harness .fc-event-title {
    padding: 0 5px;
    font-size: 13px;
    color: #3788d8;
}

#wps_event_listing_in_calender .fc-view-harness a.fc-h-event.fc-event {
    background: #3788d821;
    border: 1px solid #3788d8;
}

#wps_event_listing_in_calender button.fc-button {
    background: #f2f2f2;
    border: 1px solid #dcdcdc;
    color: #000;
}

#wps_event_listing_in_calender button.fc-button:hover {
    background: #e5e5e5;
}

#wps_event_listing_in_calender button.fc-button:focus {
    outline: none;
    box-shadow: none;
}

#wps_event_listing_in_calender .fc-view-harness .fc-day-today {
    background: #F0CF651c;
    border: 2px solid #F0CF65;
}

#wps_event_listing_in_calender .fc-view-harness .fc-day-today a.fc-daygrid-day-number {
    color: #000;
}

#wps_event_listing_in_calender td {
    background: transparent;
}

#wps_event_listing_in_calender .fc-h-event .fc-event-main {
    color: #7f54b3;
}

@media only screen and (max-width: 768px) {
    #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar {
        display: flex;
        flex-direction: column;
        margin: 0 0 10px;
    }

    #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk {
        justify-content: center;
        width: 100%;
    }

    #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:first-of-type {
        order: 1;
    }

    #wps_event_listing_in_calender .fc-view-harness {
        overflow: auto;
        max-width: 100%;
    }

    #wps_event_listing_in_calender table.fc-scrollgrid {
        max-width: 100%;
        margin: auto;
    }

    #wps_event_listing_in_calender table.fc-col-header,
    #wps_event_listing_in_calender table.fc-scrollgrid-sync-table {
        max-width: 100%;
    }

    #wps_event_listing_in_calender .fc-view-harness table.fc-col-header a {
        padding: 8px 0;
        font-size: 14px;
    }
}

#wps_etmwf_event_multiple_venue {
    margin: 15px 0;
}

#wps_etmwf_event_multiple_venue #location_select {
    max-width: 200px;
    width: 100%;
    min-height: 33px;
    padding: 8px;
}

.wps-etmfw-subscribe-checkbox {
    margin: 10px 0 0;
}

p.wps_etmfw_social_share_heading {
    font-weight: 600;
    color: #000;
    margin: 0 0 15px;
    font-size: 18px;
    display: block;
    text-align: center;
    position: relative;
    line-height: 1.5;
}

@media screen and (max-width: 480px) {
    p.wps_etmfw_social_share_heading {
        display: block;
    }
}

.wps_etmfw_facebook_share_content,
.wps_etmfw_twitter_share_content,
.wps_etmfw_mail_share_content,
.wps_etmfw_whatsapp_content,
.wps_etmfw_pinterset_share_content {
    display: inline-block;
    margin: 0 15px 15px 0;
    vertical-align: middle;
}

.wps_etmfw_facebook_share_content img,
.wps_etmfw_twitter_share_content img,
.wps_etmfw_mail_share_content img,
.wps_etmfw_whatsapp_content img,
.wps_etmfw_pinterset_share_content img {
    max-height: 26px;
    transition: all 0.3s ease;
}

.wps_etmfw_facebook_share_content img:hover,
.wps_etmfw_twitter_share_content img:hover,
.wps_etmfw_mail_share_content img:hover,
.wps_etmfw_whatsapp_content img:hover,
.wps_etmfw_pinterset_share_content:hover img {
    transform: scale(1.2);
}

/* QR check-in result */
.wps-etmfwp-qr-checkin {
    --etmfwp-qr-accent: #d97706;
    --etmfwp-qr-soft: rgba(217, 119, 6, 0.14);
    --etmfwp-qr-bg: linear-gradient(135deg, #fff9ef 0%, #fff3da 48%, #f7efe6 100%);
    margin: 48px auto;
    max-width: 1120px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 32px;
    background: var(--etmfwp-qr-bg);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.wps-etmfwp-qr-checkin::before,
.wps-etmfwp-qr-checkin::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.wps-etmfwp-qr-checkin::before {
    width: 340px;
    height: 340px;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 72%);
}

.wps-etmfwp-qr-checkin::after {
    width: 240px;
    height: 240px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, var(--etmfwp-qr-soft) 0%, rgba(255, 255, 255, 0) 72%);
}

.wps-etmfwp-qr-checkin--success {
    --etmfwp-qr-accent: #15803d;
    --etmfwp-qr-soft: rgba(34, 197, 94, 0.16);
    --etmfwp-qr-bg: linear-gradient(135deg, #f4fff6 0%, #e7f7ea 50%, #eefbf2 100%);
}

.wps-etmfwp-qr-checkin--warning {
    --etmfwp-qr-accent: #b45309;
    --etmfwp-qr-soft: rgba(245, 158, 11, 0.18);
    --etmfwp-qr-bg: linear-gradient(135deg, #fff9ef 0%, #fff1d6 52%, #fff8eb 100%);
}

.wps-etmfwp-qr-checkin--info {
    --etmfwp-qr-accent: #2563eb;
    --etmfwp-qr-soft: rgba(37, 99, 235, 0.16);
    --etmfwp-qr-bg: linear-gradient(135deg, #f2f7ff 0%, #e7efff 52%, #f5f8ff 100%);
}

.wps-etmfwp-qr-checkin--danger {
    --etmfwp-qr-accent: #b91c1c;
    --etmfwp-qr-soft: rgba(239, 68, 68, 0.16);
    --etmfwp-qr-bg: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 52%, #fff0f0 100%);
}

.wps-etmfwp-qr-checkin__shell {
    display: grid;
    gap: 26px;
}

.wps-etmfwp-qr-checkin__hero {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.95fr);
    align-items: start;
}

.wps-etmfwp-qr-checkin__eyebrow,
.wps-etmfwp-qr-checkin__detail span,
.wps-etmfwp-qr-checkin__note span,
.wps-etmfwp-qr-checkin__status-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 800;
}

.wps-etmfwp-qr-checkin__eyebrow {
    margin-bottom: 12px;
    color: var(--etmfwp-qr-accent);
}

.wps-etmfwp-qr-checkin__intro h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    font-weight: 800;
    color: #101828;
}

.wps-etmfwp-qr-checkin__intro p {
    margin: 0;
    max-width: 620px;
    color: #475467;
    font-size: 17px;
    line-height: 1.7;
}

.wps-etmfwp-qr-checkin__status-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
}

.wps-etmfwp-qr-checkin__status-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--etmfwp-qr-accent) 0%, rgba(17, 24, 39, 0.9) 100%);
    box-shadow: 0 18px 30px rgba(17, 24, 39, 0.18);
    margin-bottom: 18px;
    position: relative;
}

.wps-etmfwp-qr-checkin__status-icon::before,
.wps-etmfwp-qr-checkin__status-icon::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 999px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wps-etmfwp-qr-checkin__status-icon::before {
    width: 22px;
    height: 22px;
}

.wps-etmfwp-qr-checkin__status-icon::after {
    width: 10px;
    height: 10px;
    background: var(--etmfwp-qr-accent);
}

.wps-etmfwp-qr-checkin__status-tag {
    color: var(--etmfwp-qr-accent);
    margin-bottom: 10px;
}

.wps-etmfwp-qr-checkin__status-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.15;
    color: #111827;
}

.wps-etmfwp-qr-checkin__status-card p,
.wps-etmfwp-qr-checkin__note p {
    margin: 0;
    color: #475467;
    line-height: 1.7;
    font-size: 15px;
}

.wps-etmfwp-qr-checkin__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.wps-etmfwp-qr-checkin__detail,
.wps-etmfwp-qr-checkin__note {
    background: rgba(255, 255, 255, 0.84);
    border-radius: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.wps-etmfwp-qr-checkin__detail span,
.wps-etmfwp-qr-checkin__note span {
    color: var(--etmfwp-qr-accent);
    margin-bottom: 10px;
}

.wps-etmfwp-qr-checkin__detail strong {
    display: block;
    color: #111827;
    font-size: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.wps-etmfwp-qr-checkin__note {
    border-left: 5px solid var(--etmfwp-qr-accent);
}

@media only screen and (max-width: 782px) {
    .wps-etmfwp-qr-checkin {
        margin: 32px auto;
        padding: 22px;
        border-radius: 26px;
    }

    .wps-etmfwp-qr-checkin__hero {
        grid-template-columns: 1fr;
    }

    .wps-etmfwp-qr-checkin__intro h1 {
        font-size: clamp(28px, 9vw, 42px);
    }

    .wps-etmfwp-qr-checkin__status-card,
    .wps-etmfwp-qr-checkin__detail,
    .wps-etmfwp-qr-checkin__note {
        border-radius: 20px;
    }
}

/* social share icon */
.wps-etmfw-share-popup {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    padding: 20px 20px 20px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 5px;
    transform: translate(-50%, calc(-50% - 100px));
    transition: all 0.3s linear;
}

.wps-etmfw-share-popup.pop-active {
    opacity: 1;
    pointer-events: unset;
    z-index: 999999;
    transform: translate(-50%, -50%);
}

.wps-pop_shadow {
    display: none;
    background: #000;
    opacity: 0.2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

span.wps-etmfw-share-close {
    position: fixed;
    top: 5px;
    right: 5px;
    font-size: 38px;
    color: #ccc;
    line-height: 1;
    height: 42px;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: all 0.2s linear;
}

span.wps-etmfw-share-close:hover {
    color: #000;
}

.wps-etmfw-icon-wrap a {
    margin-right: 0;
    display: inline-flex;
    cursor: pointer;
    height: 30px;
    width: 30px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
}

.wps-etmfw-icon-wrap a:hover {
    scale: 1.1;
}

.wps-etmfw-icon-wrap img {
    width: 30px;
    /* height: 24px; */
}

.wps-cancellation-requested {
    color: red;
    font-weight: bold;
}

h3.wps_ubo_offer_preview_heading {
    font-size: 16px;
    padding-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    color: #111;
    border-top: 1.5px solid #e2e2e2;
    position: relative;
}

h3.wps_ubo_offer_preview_heading:before {
    content: "and";
    position: absolute;
    top: -9px;
    line-height: 1;
    left: 50%;
    transform: translateX(-50%);
    color: #c9c9c9;
    background: #fff;
    padding: 0 10px;
}

.wps-etmfw-icon-wrap {
    margin: 0 0 15px;
}

#wps-etmfw-share-popup .wps-etmw_single-event .wps-etmw_prod-desc {
    text-align: left;
    font-size: 14px;
    margin: 0 0 20px;
}

#wps-etmfw-share-popup .wps-etmw_single-event .wps-etmw_prod-desc h4 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    margin: 20px 0 20px;
}

#wps-etmfw-share-popup .wps-etmw_single-event .wps-etmw_prod-desc img {
    width: 18px;
    height: auto;
    display: inline-block;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

#wps-etmfw-share-popup .wps-etmw_single-event .wps-etmw_prod-desc .wps-etmw_prod-venue {
    margin: 0 0 15px;
}

/* CSS for Tickets Start*/

.wps_etmfw_offer_preview_in .ticket-container {
    max-height: 460px;
    overflow: auto;
    max-width: 560px;
    width: 100%;
}

.wps_etmfw_offer_preview_in .ticket-container table tr td,.ticket-container table{
    border:none;
    box-shadow: none;
    text-align: left;
}

.ticket-container p{
    line-height: 1.5;
    padding: 0;
    color: #000;
}

.ticket-container div {
    line-height: 1;
}

.ticket-container h1,.ticket-container h2,.ticket-container h3,.ticket-container h4{
    line-height: 1.25;
    padding: 0;
}

@media only screen and (max-width: 768px) {
    .wps-etmfw-share-popup {
        width: calc(100% - 30px);
    }

    .wps_etmfw_offer_preview_in .ticket-container {
        max-height: 400px;
        width: 100%;
    }
}

/* CSS for Tickets End*/

.wps-event-calendar-shell {
  background: #f9f5ff;
  padding: 40px 24px 16px;
  container-type: inline-size;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(48, 8, 109, 0.12);
  margin-top: 30px;
}

.wps-event-calendar-shell__header {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.wps-event-calendar-shell__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.wps-event-calendar-shell__eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a274ff;
  margin-bottom: 2px;
}

.wps-event-calendar-shell__title {
  font-size: 32px;
  line-height: 1.15;
  margin: 0;
  color: #1b0d44;
}

.wps-event-calendar-shell__subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #524a78;
  margin: 0;
}

.wps-event-calendar-shell__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  align-items: end;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(162, 116, 255, 0.16);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wps-event-calendar-filter__label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #9a64ef;
}

.wps-event-calendar-filter__label span {
  display: block;
  padding-left: 4px;
}

.wps-event-calendar-filter__label select,
.wps-event-calendar-filter__label input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(122, 89, 198, 0.24);
  font-size: 14px;
  line-height: 1.2;
  background: #fff;
  color: #2b1d52;
  box-shadow: 0 8px 20px rgba(93, 54, 162, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wps-event-calendar-filter__label select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a59c6 50%),
    linear-gradient(135deg, #7a59c6 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 38px;
}

.wps-event-calendar-filter__label input::placeholder {
  color: #8f88a6;
}

.wps-event-calendar-filter__label select:hover,
.wps-event-calendar-filter__label input:hover {
  border-color: rgba(122, 89, 198, 0.38);
}

.wps-event-calendar-filter__label select:focus,
.wps-event-calendar-filter__label input:focus {
  outline: none;
  border-color: #7f1dff;
  box-shadow: 0 0 0 3px rgba(127, 29, 255, 0.14);
  transform: translateY(-1px);
}

.wps-event-calendar-shell__calendar {
  clear: both;
  margin-bottom: 32px;
}

.fc {
  direction: ltr;
}

#wps_event_listing_in_calender {
  background: #fff;
  padding: 16px;
  container-type: inline-size;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

#wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk,
#wps_event_listing_in_calender .fc-button-group {
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

#wps_event_listing_in_calender .fc-button {
  border-radius: 999px;
  border: none;
  font-weight: 600;
  padding: 6px 22px;
  min-width: 70px;
  margin: 0;
  background: #fff;
  color: #2b1d52;
  box-shadow: inset 0 0 0 1px rgba(50, 12, 100, 0.15), 0 10px 26px rgba(54, 6, 110, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#wps_event_listing_in_calender .fc-button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(50, 12, 100, 0.25), 0 15px 35px rgba(54, 6, 110, 0.2);
  background: rgba(127, 29, 255, 0.08);
}

#wps_event_listing_in_calender .fc-button-primary {
  background: linear-gradient(135deg, #7f1dff, #3b088f);
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 8, 143, 0.3);
}

#wps_event_listing_in_calender .fc-button-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #a72bff, #4f22d8);
}

#wps_event_listing_in_calender .fc-daygrid-day-number {
  color: #5c55a2;
  font-weight: 600;
}

#wps_event_listing_in_calender .fc-day-today {
  background: #fff0d4;
  border: 2px solid #ff8d00;
}

#wps_event_listing_in_calender .fc-event {
  background: #7f1dff;
  border: 1px solid #7f1dff;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
}

#wps_event_listing_in_calender .fc-list-event .fc-event-time {
  display: none !important;
}

#wps_event_listing_in_calender .fc-event .fc-event-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

#wps_event_listing_in_calender .fc-view-harness {
  min-height: 480px;
}

@container (max-width: 980px) {
  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk,
  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:first-child,
  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:nth-child(2),
  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:last-child {
    justify-content: center;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:nth-child(2) {
    order: -1;
  }

  #wps_event_listing_in_calender .fc-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }

  #wps_event_listing_in_calender .fc .fc-button-group > .fc-button,
  #wps_event_listing_in_calender .fc-button {
    margin: 0 !important;
  }
}

@container (max-width: 640px) {
  #wps_event_listing_in_calender {
    padding: 14px;
  }

  #wps_event_listing_in_calender .fc-button {
    min-width: 0;
    padding: 6px 16px;
  }

  #wps_event_listing_in_calender .fc-header-toolbar.fc-toolbar {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .wps-event-calendar-shell {
    padding: 28px 16px 12px;
    border-radius: 24px;
  }

  .wps-event-calendar-shell__header {
    gap: 18px;
    margin-bottom: 24px;
  }

  .wps-event-calendar-shell__title {
    font-size: 28px;
  }

  .wps-event-calendar-shell__filters {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 16px;
    gap: 14px;
  }

  .wps-event-calendar-filter__label {
    width: 100%;
  }
}
