.editGear {
    margin-left: auto;
    width: fit-content;
}

body.wf-embed-standalone {
    background: #f5f1ff;
}

body.wf-embed-standalone > nav.notificationBackground {
    display: none !important;
}

.noBottomMargin {
    margin-bottom: 0px;
}

#buyTickets {
    width: 400px;
}

.eventTopInfo {
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.inputEmail input {
  margin-bottom: 0px;
}

.eventTopInfoPriceAndButton {
    margin-left: auto;
}

.eventDetailsContainer {
    display: flex;
    width: 100%;
}

.eventDetailsLeft {
    flex: 0 0 66.66%;
    max-width: 640px;
}

.eventDetailsRight {
    flex: 0 0 33.33%
}

.organizationMemberships {
    cursor: pointer;
    text-align: center;
    margin-top: 54px;
    padding: 20px;
    border: 1px solid black;
}

.rightSideViewProfile {
    margin-left: 10px;
}

.linkButton {
    cursor: pointer;
    color: #373c44;
    text-decoration: underline;
}

.linkButtonNoUnderline {
    cursor: pointer;
    color: #373c44;
    text-decoration: none;
}

.linkButtonNoUnderline div {
    cursor: pointer;
    color: #373c44;
    text-decoration: none;
}

.organizationImage {
    border: 1px solid black;
    margin-right: 32px;
}

.viewOrgProfile {
    cursor: pointer;
    margin-top: 28px;
    display: flex;
}

.mapLinkContainer {
    margin-top: 32px;
}

.eventDescription {
    margin-top: 76px;
    margin-right: 20px;
}

.eventDetailsRightLine {
    display: none;
}

.rightAlign {
    margin-left: auto;
    width: fit-content;
}


.membership-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-top: 20px;
    cursor: pointer;
}

.membership-right-side {
    margin-left: 15px;
    margin-bottom: auto;
    width: 500px;
}

.membership-image {
    width: 225px;
    height: 225px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    object-fit: cover;
}

.membership-image-container {
    margin-bottom: auto;
}


.buy-modal {
    display: flex;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.buy-modal-background {
    background-color: white;
    padding: 0; /* Remove padding to handle it individually for content */
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    position: relative;
    display: flex;
    flex-direction: column;
}

.buy-modal-content {
    padding-top: 15px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    overflow-y: auto; /* Allow vertical scrolling for content */
    flex: 1; /* Take up remaining space */
}

.buy-modal-content-special {
    overflow-y: auto; /* Allow vertical scrolling for content */
    flex: 1; /* Take up remaining space */
}

.padding-special {
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
}

.videopadding-special {
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
}

.buy-modal-footer {
    width: 100%;
    font-size: 23px;
    box-sizing: border-box;
    display: flex;
    /* Ensure the padding doesn’t affect the full width layout */
}

.fullBottom {
    width: 100%;
}

.bottomRow {
    display: flex;
}


#heart {
    font-size: 50px;
}

.marginBottom {
    margin-bottom: 35px;
}

.marginBottomDouble {
    margin-bottom: 60px;
}

.bigSubtotalMargin {
    margin-left: -45px;
}

.totalPrice {
    font-size: 30px;
}

.bigPriceMargin {
    margin-left: -65px;
}

.subTotal {
    font-size: 22px;
}

.membershipBenefit {
    background-color: rgba(223,231,119,0.3);
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    margin-left: -15px;
}

#id_payScreenExtra {
    border: 3px solid black;
    padding: 20px;
    margin-top: 20px;
}

#id_payScreenExtra .customDataField input:not([type="checkbox"]):not([type="radio"]),
#id_payScreenExtra .customDataField select,
#id_payScreenExtra .customDataField textarea {
    background-color: #fff;
    border: 2px solid black;
}

.centerBottomText {
    border-top: 2px solid black;
    font-size: 18px;
    flex: 1;
    /* Ensure buttons take up equal space */
    text-align: center;
    /* Center text horizontally */
    padding: 10px 0;
    /* Padding for some height */
    box-sizing: border-box;
}

.leftButton {
    background-color: #f0f0f0;
    /* Light grey background */
    border-right: 1px solid #ccc;
    /* Divider between buttons */
}

.rightButton {
    background-color: #007bff;
    /* Blue background */
    color: white;
    /* White text color */
}

#selectTicket {
    color: red;
    text-align: right;
    margin-bottom: 10px;
}

#youSaved {
    color: #0172AD;
}

.modalTitle {
    position: absolute;
    top: 15px;
    left: 15px;
}

.ticketTableHeader {
    display: flex;
    border-bottom: 1px solid black;
    margin-bottom: 15px;
}

.ticketTypeHeader {
    flex: 4;
}

.ticketPriceHeader {
    flex: 2;
}

.ticketQuantityHeader {
    flex: 2;
    text-align: right;
}

.ticketTableBody {
    display: flex;
}

.ticketTypeBody {
    flex: 4;
    margin-top: 13px;
}

.ticketPriceQuantityBodyContainer {
    display: flex;
    flex: 4;
}

.ticketPriceBody {
    margin-top: 13px;
    flex: 2;
}

.ticketQuantityBody {
    flex: 2;
    text-align: right;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container .wf-membership-intro-video-sound-toggle {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    min-width: 78px;
    min-height: 34px;
    padding: 0 13px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.78);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
}

.video-container .wf-membership-intro-video-sound-toggle:hover,
.video-container .wf-membership-intro-video-sound-toggle:focus-visible {
    background: rgba(16, 16, 16, 0.92);
    outline: none;
    transform: translate(1px, 1px);
}

.video-containerContainer {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.wf-membership-intro-media {
    padding: 20px 40px 0;
}

.wf-membership-intro-media .video-containerContainer {
    width: min(100%, 760px);
}

.wf-membership-intro-photo {
    display: block;
    width: min(100%, 760px);
    max-height: 360px;
    margin: 0 auto;
    border: 3px solid #141414;
    border-radius: 18px;
    box-shadow: 5px 5px 0 #141414;
    object-fit: cover;
}

.selectedMembership {
    border: 3px solid purple;
}

#membershipTiers .membership-container {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 18px 0 0;
    padding: 18px;
    border: 3px solid #141414;
    border-radius: 24px;
    background: #fff;
    box-shadow: 5px 5px 0 #141414;
    cursor: pointer;
}

#membershipTiers .membership-container.selectedMembership {
    border-color: #141414;
    background: #fff;
    box-shadow: 6px 6px 0 #141414;
}

#membershipTiers .membership-image-container {
    margin: 0;
}

#membershipTiers .membership-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 16px;
    object-fit: cover;
}

#membershipTiers .membership-right-side {
    width: auto;
    margin: 0;
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.35;
}

#membershipTiers .membership-right-side > div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
}

#membershipTiers .membershipBenefit {
    width: auto;
    margin-left: 0;
    padding: 14px 16px;
    border: 2px solid #141414;
    border-radius: 16px;
    background: #c8bdfc;
    color: #141414;
}

#contributeHosted .buy-modal-content {
    width: min(100%, 760px);
    margin: 0 auto;
    padding-top: 72px;
}

#contributeHosted .wf-contribution-upsell-title {
    margin-bottom: 8px;
    text-align: center;
}

#contributeHosted .wf-contribution-upsell-title + .marginTop {
    max-width: 560px;
    margin: 14px auto 0;
    text-align: center;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
    color: #26324a;
}

#contributeHosted .marginBottom {
    max-width: 460px;
    margin: 24px auto 8px;
}

#contributeHosted label {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
    color: #26324a;
}

#contributeHosted .dollar-input-wrapper {
    display: block;
    width: 100%;
    margin: 0;
}

#contributeHosted .dollar-input-wrapper::before {
    left: 16px;
    z-index: 1;
    font-size: 20px;
    font-weight: 900;
    color: #141414;
}

#contributeHosted .dollar-input-wrapper input {
    min-height: 64px;
    border: 3px solid #141414 !important;
    border-radius: 999px;
    background: rgba(198, 223, 226, 0.28);
    box-shadow: none;
    color: #141414;
    font-size: 20px;
    font-weight: 800;
    padding-left: 44px;
}

#contributeHosted .dollar-input-wrapper input:focus,
#contributeHosted .dollar-input-wrapper input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 247, 220, 0.65);
}

#contributeHosted .dollar-input-wrapper input::placeholder {
    color: #4b566d;
    font-weight: 700;
}

#contributeHosted #id_contribution_error {
    display: block;
    margin-top: 8px;
    color: #b32828;
    font-weight: 700;
}


.ticketTypeHeaderReview {
    flex: 6;
}
.ticketQuantityHeaderReview {
    flex: 2;
}

.ticketTotalReview {
    flex: 2;
    text-align: right;
}


.ticketTypeBodyReview {
    flex: 6;
}

.ticketQuantityBodyReview {
    flex: 2;
}

.ticketTotalBodyReview {
    flex: 2;
    text-align: right;
}

.freeBuySpace {
    margin-left: 5px;
}

.ticketTotalBodyReview_mobile {
    display: none;
}

.ticketName {
    font-weight: bold;
}

.negativePrice {
    margin-left: -8px;
}

.membershipTotalNotes {
    font-size: 14px;
    font-weight: normal;
}

.noThanksMembershipButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 1;
}

.ticketQuantityBodyReviewTicketWord {
    display: none;
}

.priceRangeInput {
    display: flex;
}

.priceRangeTextHelper {
    margin-top: 16px;
    margin-left: 10px;
    width: 140px;
}

.eventImage {
    width: 80%;
}


#id_ticket_price_cents_container {
    position: relative;
    display: inline-block;
}

#id_ticket_price_cents_container::before {
    content: '$';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
}

#id_ticket_price_cents_container input {
    padding-left: 20px; /* adjust according to the space needed for the dollar sign */
}

@media (max-width: 1023px) {

    .eventTopDate {
        max-width: 200px;
    }

    .video-containerContainer {
        width: 100%
      }

    .wf-membership-intro-media {
        padding: 18px 20px 0;
    }
}


@media (max-width: 768px) {
    #buyTickets {
        width: 100%;
    }

    .freeBuySpace {
        margin-left: 0px;
    }

    .eventImage {
        width: 100%;
    }

    .eventTopInfo {
        padding: 10px;
        display: block;
    }

    .eventDetailsContainer {
        display: block;
    }

    .eventDetailsRight {
        margin-top: 54px;
    }

    .eventDetailsRightLine {
        display: block;
    }
    .membership-container {
        display: block;
    }

    #membershipTiers .membership-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .membership-image {
        width: 80%;
        padding: 0px;
        margin-bottom: 10px;
    }

    .membership-right-side {
        margin-left: 15px;
        margin-bottom: 20px;
        width: auto;
    }

    .ticketTableHeader {
        display: none;
    }

    .rightAlign {
        margin-left: 0px;
    }

    .ticketTableBody {
        display: block;
    }

    .ticketTypeBody {
        margin-top: 0px;
    }

    .ticketTotalBodyReview {
        display: none;
    }

    .ticketTotalBodyReview_mobile {
        display: contents;
        font-weight: bold;
    }

    .ticketName {
        font-weight: normal;
    }

    .positivePrice {
        margin-left: 9px;
    }

    .ticketQuantityBodyReview {
        margin-left: 9px;
    }

    .ticketQuantityBodyReview {
        font-size: 10px;
    }

    .ticketQuantityBodyReviewTicketWord {
        display: contents;
    }

    .membershipBenefit {
        background-color: rgba(223,231,119,0.3);
        width: 100%;
        padding: 15px;
        margin-bottom: 10px;
        margin-left: -7px;
    }

    #selectTicket {
        color: red;
        text-align: center;
        margin-bottom: 10px;
    }

    .eventDescription {
        margin-right: 0px;
    }

    .rightSideViewProfile {
        margin-left: 0px;
    }
    

}

@media (max-width: 516px) {
    .membership-image {
        width: 100%;
        padding: 0px;
        margin-bottom: 10px;
    }

    .buy-modal-footer {
        font-size: 20px;
    }

    .centerBottomText {
        font-size: 15px;
    }
}

/* Embed checkout refresh */
.buy-modal {
    background-color: #fffdf9;
    padding: 0;
    align-items: stretch;
}

.buy-modal-background {
    background: #fffdf9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.buy-modal-content {
    padding: 34px 110px 24px 34px;
}

.buy-modal-content-special {
    padding: 0;
}

#membershipIntro .buy-modal-content-special::after {
    content: "SCROLL FOR MORE";
    position: sticky;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 50%;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #26324a;
    background: rgba(198, 223, 226, 0.96);
    padding: 10px;
    border-radius: 999px;
    border: 2px solid #141414;
    box-shadow: 0 -12px 20px #fffdf9, 2px 2px 0 #141414;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

#membershipIntro .buy-modal-content-special.is-scroll-needed::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
    transition-delay: 0s;
}

.wf-embed-checkout-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 0.95;
}

.closeButton {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #141414;
    border-radius: 999px;
    background: #fffdf9;
    box-shadow: 6px 6px 0 #141414;
    color: #141414;
    font-size: 30px;
    z-index: 2;
    text-decoration: none;
}

.ticketTableHeader {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(140px, 0.8fr) minmax(132px, 0.6fr);
    gap: 18px;
    align-items: end;
    border-bottom: 2px solid #141414;
    margin-bottom: 18px;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.ticketTypeHeader,
.ticketPriceHeader,
.ticketQuantityHeader {
    color: #51515a;
}

.ticketQuantityHeader {
    text-align: right;
}

.ticketTableBody {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(140px, 0.8fr) minmax(132px, 0.6fr);
    gap: 18px;
    align-items: center;
    border: 3px solid #141414;
    border-radius: 24px;
    box-shadow: 5px 5px 0 #141414;
    background: #fff;
    padding: 18px 18px 16px;
    margin-bottom: 16px;
}

.ticketTypeBody,
.ticketPriceBody {
    margin-top: 0;
}

.ticketPriceQuantityBodyContainer {
    display: contents;
}

.ticketName {
    display: inline-block;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 4px;
}

.ticketTypeBody small {
    display: inline-block;
    margin-top: 4px;
    color: #53545f;
    line-height: 1.35;
}

.ticketPriceBody {
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.15;
}

.ticketPriceBody b,
.ticketPriceBody span {
    font-weight: 800;
}

.ticketQuantityBody {
    text-align: right;
}

.ticketQuantityBody select {
    width: 100%;
    min-height: 56px;
    border: 2px solid #e3e3ea;
    border-radius: 12px;
    box-shadow: none;
    background: #fff;
    font-size: 30px;
    line-height: 1;
    padding: 10px 18px;
}

.ticketQuantityBody select:focus,
.ticketQuantityBody select:focus-visible {
    outline: none;
    border-color: #141414;
    box-shadow: 0 0 0 3px rgb(183, 247, 220);
}

.priceRangeInput {
    align-items: center;
    gap: 12px;
}

.priceRangeTextHelper {
    margin: 0;
    width: auto;
    color: #53545f;
}

.rightAlign {
    width: 100%;
    margin-left: 0;
}

.rightAlign small {
    display: block;
    text-align: center;
    color: #5d5d67;
    line-height: 1.45;
}

.wf-embed-powered-by {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.wf-embed-powered-by-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 2px solid #141414;
    border-radius: 999px;
    background: #c8bdfc;
    color: #141414;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 3px 3px 0 #141414;
}

.wf-embed-powered-by-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #141414;
}

.wf-embed-powered-by-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.wf-embed-powered-by-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.buy-modal-footer {
    gap: 14px;
    padding: 16px 18px 18px;
    border-top: 2px solid #ececf1;
    background: #fffdf9;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.selectButton,
.centerBottomText {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border-top: none;
    border: 3px solid #141414;
    border-radius: 999px;
    box-shadow: 6px 6px 0 #141414;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    line-height: 1;
    padding: 12px 28px;
    box-sizing: border-box;
}

.buy-modal-footer .selectButton {
    width: 100%;
}

.buy-modal-footer > .leftButton {
    flex: 0 0 34%;
}

.buy-modal-footer > .rightButton {
    flex: 1 1 auto;
}

.leftButton {
    background: #fffdf9;
}

.buy-modal-footer > .leftButton,
.bottomRow .leftButton {
    min-height: 64px;
    border-color: transparent;
    box-shadow: none;
    color: #51515a;
    white-space: nowrap;
}

.buy-modal-footer > .leftButton:hover,
.buy-modal-footer > .leftButton:focus-visible,
.bottomRow .leftButton:hover,
.bottomRow .leftButton:focus-visible {
    border-color: #141414;
    color: #141414;
}

.rightButton {
    background: #b8f3dd url('/static/withfriends/images/brand/pool-water-mint-bg.svg') repeat center / 180px 180px;
    color: #141414;
}

#selectTicket {
    text-align: center;
    margin: -4px 0 16px;
    color: #b32828;
    font-weight: 700;
}

@media (max-width: 768px) {
    .buy-modal {
        padding: 0;
    }

    .buy-modal-background {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }

    .buy-modal-content {
        padding: 72px 20px 18px;
    }

    .closeButton {
        top: 14px;
        right: 14px;
        width: 56px;
        height: 56px;
        font-size: 28px;
        box-shadow: 4px 4px 0 #141414;
    }

    .ticketTableHeader {
        grid-template-columns: 1fr 120px 108px;
        gap: 10px;
        font-size: 12px;
    }

    .ticketTableBody {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .ticketPriceQuantityBodyContainer {
        display: grid;
        grid-template-columns: 1fr 112px;
        gap: 10px;
        align-items: center;
    }

    .ticketPriceBody {
        font-size: 22px;
    }

    .ticketQuantityBody select {
        min-height: 52px;
        font-size: 26px;
        padding: 8px 14px;
    }

    .ticketQuantityBody {
        text-align: left;
    }

    .buy-modal-footer {
        padding: 14px 16px 16px;
    }

    .selectButton,
    .centerBottomText {
        min-height: 58px;
        font-size: 24px;
        box-shadow: 4px 4px 0 #141414;
    }

    .wf-embed-powered-by {
        margin-top: 14px;
    }

    .wf-embed-powered-by-link {
        gap: 7px;
        padding: 7px 12px;
    }

    .wf-embed-powered-by-label {
        font-size: 11px;
    }
}




.drop{
  border: 2px dashed #bbb;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 20px;
  max-width: 400px;
  font: 20pt bold,"Vollkorn";
  color: #bbb;
  text-align: center;
}

.sidebar-selected {
  background: black;
  color: white;
  padding-left: 5px;
  margin-left: -5px;
}

#loading .buy-modal-content {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 40px;
}

#loadingThing {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--ink, #141414);
}

.wf-loading-spinner-icon {
  width: 48px;
  height: 48px;
  display: block;
  animation: wfLoadingSpin 900ms linear infinite;
}

.wf-loading-spinner-icon path {
  fill: currentColor;
}

@keyframes wfLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-loading-spinner-icon {
    animation-duration: 1.6s;
  }
}

.sidebar-selected a {
  color: white;
}

#image_file {
  display: none;
}


.image-crop-modal {
  display: flex;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-crop-background {
  background-color: white;
  padding: 0; /* Remove padding to handle it individually for content */
  border-radius: 8px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  position: relative;
  display: flex;
  flex-direction: column;
}

.image-crop-modal-content {
  padding-top: 15px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
  overflow-y: auto; /* Allow vertical scrolling for content */
  flex: 1; /* Take up remaining space */
}

.image-crop-modal-footer {
  width: 100%;
  box-sizing: border-box;
  font-size: 23px;
  display: flex;
  /* Ensure the padding doesn’t affect the full width layout */
}

.image-crop-container {
  max-height: 500px; 
}

.image-crop-container img {
  max-width: 100%; /* Ensure the image resizes with the container */
  display: block; /* Center the image within its container */
  margin: 0 auto;
}

.cropButtonLeft {
  width: 100%;
  background-color: #f0f0f0;
  /* Light grey background */
  border-right: 1px solid #ccc;
  /* Divider between buttons */
}

.cropButtonRight {
  width: 100%;
  background-color: #007bff;
  /* Blue background */
  color: white;
  /* White text color */
}


.selectButton {
  flex: 1;
  /* Ensure buttons take up equal space */
  text-align: center;
  /* Center text horizontally */
  padding: 10px 0;
  /* Padding for some height */
  box-sizing: border-box;
  /* Include padding in width calculations */
  cursor: pointer;
  /* Change cursor to pointer on hover */
}

.selectButton:hover {
  opacity: 0.8;
}

.buy-modal-footer .selectButton,
.bottomRow .selectButton {
    min-height: 64px;
    padding: 12px 28px;
}

.bottomRow {
    gap: 14px;
}

.bottomRow .leftButton {
    flex: 0 0 34%;
}

.bottomRow .rightButton {
    flex: 1 1 auto;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
  /* Prevent background page scroll while a modal is open */
}

.closeButton {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 50px;
  cursor: pointer;
  color: #000;
  /* Adjust color as needed */
  line-height: 24px;
  /* Center the X vertically */
  padding: 0;
}

.buy-modal-background > .closeButton {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #141414;
  border-radius: 999px;
  background: #fffdf9;
  box-shadow: 6px 6px 0 #141414;
  color: #141414;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  z-index: 5;
  text-decoration: none;
}

@media (max-width: 768px) {
  .buy-modal-content {
    padding: 72px 20px 18px;
  }

  #contributeHosted .buy-modal-content {
    padding: 72px 20px 18px;
  }

  .buy-modal-background > .closeButton {
    top: 14px;
    right: 14px;
    width: 56px;
    height: 56px;
    font-size: 28px;
    box-shadow: 4px 4px 0 #141414;
  }
}

.cardButtons {
  display: flex;                  /* Use flexbox for the container */
  justify-content: space-between; /* Align items to take full container width */
  align-items: center;            /* Optional: vertically center the buttons if needed */
  width: 100%;                    /* Ensure container takes full width, can adjust as needed */
}

.dollar-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: var(--wf-space-2);
}

.dollar-input-wrapper::before {
  content: '$';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
}

.dollar-input-wrapper input {
  padding-left: 20px; /* adjust according to the space needed for the dollar sign */
  margin-bottom: 0px;
}

.tabs {
  text-decoration: none;
  color: #373c44;
}

.tabs label {
  color: #373c44;
}

.wf-campaign-progress {
  border: 2px dashed #141414;
  border-radius: 14px;
  padding: 12px;
  background: #fffdf9;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.wf-campaign-progress-summary {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.35;
  color: #141414;
}

.wf-campaign-progress-chart-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 68px;
}

.wf-campaign-progress-chart {
  width: 100%;
  height: 40px;
  display: flex;
  overflow: hidden;
  background: #e9ecef;
  border: 2px solid #141414;
  border-radius: 999px;
}

.wf-campaign-progress-segment {
  display: block;
  flex: 0 0 var(--wf-progress-width, 0%);
  min-width: 0;
  height: 100%;
}

.wf-campaign-progress-segment--memberships {
  background: #5DB8A0 url('/static/withfriends/images/brand/pool-water-mint-bg.svg') repeat center / 200px 200px;
}

.wf-campaign-progress-segment--contributions {
  background: #C4F1DF url('/static/withfriends/images/brand/pool-water-mint-light-bg.svg') repeat center / 200px 200px;
}

.wf-campaign-progress-segment--remainder {
  background: #e9ecef;
}

.wf-campaign-progress-segment + .wf-campaign-progress-segment {
  box-shadow: inset 2px 0 0 #141414;
}

.wf-campaign-progress-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #666;
}

.wf-campaign-progress-legend {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.4;
  color: #141414;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wf-campaign-progress-legend-memberships {
  color: #3178c6;
}

/* Ticket-tier embeds use the original compact selector treatment. */
body.wf-ticket-tier-embed #buyTicketsView .buy-modal {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
}

body.wf-ticket-tier-embed #buyTicketsView .buy-modal-background {
    background-color: white;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    height: 100vh;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

body.wf-ticket-tier-embed #buyTicketsView .buy-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px 40px 40px;
}

body.wf-ticket-tier-embed #buyTicketsView .wf-embed-checkout-title {
    margin: 0 0 0.67em;
    font-size: 2em;
    line-height: normal;
}

body.wf-ticket-tier-embed #buyTicketsView .closeButton {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #141414;
    display: inline;
    font-size: 28px;
    height: auto;
    min-width: 0;
    right: 18px;
    text-decoration: none;
    top: 14px;
    width: auto;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketTableHeader {
    align-items: initial;
    border-bottom: 1px solid black;
    display: flex;
    font-size: inherit;
    font-weight: inherit;
    gap: 0;
    letter-spacing: 0;
    margin-bottom: 15px;
    padding-bottom: 0;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketTypeHeader {
    flex: 4;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketPriceHeader,
body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityHeader {
    flex: 2;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityHeader {
    text-align: right;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketTableBody {
    align-items: initial;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketTypeBody {
    flex: 4;
    margin-top: 13px;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketPriceQuantityBodyContainer {
    display: flex;
    flex: 4;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketPriceBody,
body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityBody {
    flex: 2;
    margin-top: 13px;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityBody {
    text-align: right;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketName {
    display: inline;
    font-size: inherit;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 0;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketTypeBody small {
    display: inline;
    margin-top: 0;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketPriceBody {
    font-size: inherit;
    line-height: normal;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityBody select {
    background: white;
    border: 1px solid rgb(118, 118, 118) !important;
    border-radius: 0;
    box-shadow: none;
    font-size: inherit;
    line-height: normal;
    min-height: 0;
    padding: 0;
    width: auto;
}

body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityBody select:focus,
body.wf-ticket-tier-embed #buyTicketsView .ticketQuantityBody select:focus-visible {
    border-color: rgb(118, 118, 118);
    box-shadow: none;
    outline: auto;
}

body.wf-ticket-tier-embed #buyTicketsView .buy-modal-footer {
    background: transparent;
    border-top: 0;
    display: flex;
    font-size: 23px;
    gap: 0;
    padding: 0;
    width: 100%;
}

body.wf-ticket-tier-embed #buyTicketsView .buy-modal-footer .selectButton {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    flex: 1;
    font-size: inherit;
    font-weight: inherit;
    line-height: normal;
    min-height: 0;
    padding: 10px 0;
    text-align: center;
}

body.wf-ticket-tier-embed #buyTicketsView .rightButton {
    background: #007bff;
    color: white;
}

@media (max-width: 768px) {
    body.wf-ticket-tier-embed #buyTicketsView .ticketTableHeader {
        display: none;
    }

    body.wf-ticket-tier-embed #buyTicketsView .ticketTableBody {
        display: block;
    }

    body.wf-ticket-tier-embed #buyTicketsView .ticketTypeBody {
        margin-top: 0;
    }

    body.wf-ticket-tier-embed #buyTicketsView .ticketPriceQuantityBodyContainer {
        display: flex;
        flex: 4;
    }

    body.wf-ticket-tier-embed #buyTicketsView .ticketName {
        font-weight: normal;
    }

    body.wf-ticket-tier-embed #buyTicketsView .rightAlign {
        margin-left: 0;
    }

    body.wf-ticket-tier-embed #buyTicketsView .freeBuySpace {
        margin-left: 0;
    }
}

@media (max-width: 516px) {
    body.wf-ticket-tier-embed #buyTicketsView .buy-modal-footer {
        font-size: 20px;
    }
}
