/*CSS written with BEM method */
.member-detail {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    padding-bottom: 20px;
    font-family: Poppins;
    font-style: normal;
}

.member-detail__description-box {
    display: flex;
    flex-direction: column;
    max-width: 620px;
    width: 100%;
    gap: 20px;
}

.member-detail__info {
    display: flex;
    flex-direction: column;
    max-width: 360px;
    width: 100%;
    gap: 20px;
}

.member-detail__info-img {
    max-width: 620px;
    width: 100%;
    min-height: 500px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
}

.member-detail__info-img img {
    width: 100%;
    height: auto;
}

.member-detail__info-tracker {
    width: 360px;
    min-height: 500px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #FFF;
}

.member-detail__info-tracker-title {
    color: #C8C8C8;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.68px;
    padding: 21px 65px 18px 65px;
}

.member-detail__info-tracker-progress {
    margin: auto;
    width: 285px;
    position: relative;
}

.member-detail__info-tracker-progress-bar {
    width: 284px;
    height: 284px;
    border-radius: 50%;
    transform: rotate(180deg);
}

.member-detail__tracker-start {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-detail__tracker-start svg circle{
    stroke: var(--primary-color);
}


.member-detail__info-tracker-text {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 114px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
}

.member-detail__info-amount {
    color: var(--primary-color);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.member-detail__info-raised-amount {
    color: #B5B5B5;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.member-detail__info-tracker-name {
    color: #000;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    padding-top: 22px;
    padding-bottom: 24px;
}

.member-detail__info-tracker-donate-btn {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 290px;
    height: 52px;
    margin: auto;
    flex-shrink: 0;
    border-radius: 26px;
    background: var(--primary-color);
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.member-detail__info-tracker-donate-btn:hover {
    background-color: var(--primary-darkest);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.member-detail__info-description {
    max-width: 620px;
    width: 100%;
    flex-shrink: 0;
    border-radius: 4px;
    background: #FFF;
    padding: 31px 40px;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}

.member-detail__info-description p {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}

.member-detail__info-description strong {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.member-detail__info-campaign {
    width: 360px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #FFF;
    padding: 35px;
}

.member-detail__info-campaign-title {
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
}

.member-detail__leader {
    margin-top: 29px;
    display: flex;
    align-items: center;
}

.member-detail__leader-name {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    padding-left: 12px;
}

.member-detail__campaign {
    margin-top: 15px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.member-detail__event-name {
    color: #000;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    padding-left: 10px;
    max-width: 251px;
}

.member-detail__campaign-text {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    padding-left: 10px;
}

.member-detail__campaign-text--success {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
}

.member-detail__info-tracker-share-btn {
    width: 290px;
    height: 52px;
    margin: 21px auto 0 auto;
    border-radius: 26px;
    border: 2px solid #000;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.member-detail__info-tracker-share-btn:hover {
    border: 2px solid rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
}

.member-detail__contribution {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.member-detail__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
}

.member-detail__contribution-title {
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    align-items: center;
    display: flex;
    gap: 10px;
}

.member-detail__total-contribution {
    padding: 0 10px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #F9F9F9;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.72px;
}

.member-detail__contribution-filters {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-right: 40px;
}

.member-detail__filters-text {
    color: #B5B5B5;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}

.member-detail__filters-text--active {
    color: #000000;
    text-decoration-line: underline;
}

.member-detail__contribution-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    border-radius: 4px;
    background: #FFF;
    padding: 24px;
}

.member-detail__donor-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.member-detail__donor-name {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.member-detail__donor-note {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}

.member-detail__donor-amount {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.member-detail__donor-message {
    color: #000;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
}

.member-detail__donor-date {
    color: #B5B5B5;
    font-size: 12px;
    line-height: 22px;
    font-style: italic;
}

.member-detail__contribution-show-btn {
    width: 156px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 26px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    align-self: center;
    margin-top: 10px;
}

.member-detail__contribution-show-btn:hover {
    border: 2px solid var(--primary-darkest);
    color: var(--primary-darkest);
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .member-detail {
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column-reverse;
    }

    .member-detail__info {
        max-width: unset;
    }

    .member-detail__info-tracker {
        width: 100%;
    }

    .member-detail__info-campaign {
        width: 100%;
    }

    .member-detail__info-img {
        min-height: unset;
        height: auto;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .member-detail__info {
        flex-direction: column;
        align-items: center;
    }

    .member-detail__contribution {
        width: 620px;
        margin: auto;
    }
}

.slick-prev:before, .slick-next:before {
    font-size: 48px;
}

.slick-prev {
    left: 24px;
    z-index: 999;
}

.slick-next {
    right: 50px;
    z-index: 999;
}

.slick-dots {
    bottom: 17px;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button:before {
    font-size: 8px;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.slick-dots li.slick-active button:before {
    font-size: 12px;
    color: #fff;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.35));
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.mt-50{
    margin-top: 50px !important;
}

/* Scoped styles for topbar web components to avoid global CSS reset issues */
eventlify-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 2px solid white;
    padding: 0 38px;
    color: white;
    background-color: transparent;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

eventlify-outline-button a,
eventlify-outline-button a:hover,
eventlify-outline-button a:focus,
eventlify-outline-button a:active {
    color: #fff;
}

eventlify-outline-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color, white);
    z-index: -1;
    transition: width 0.3s ease;
}
eventlify-outline-button:hover {
    color: white;
    border-color: var(--primary-color, white);
}
eventlify-outline-button:hover::after {
    width: 100%;
}

/* Dark mode overrides */
eventlify-outline-button[mode="dark"] {
    border-color: black;
    color: black;
}

eventlify-outline-button[mode="dark"] a {
    color: black !important;
}
eventlify-outline-button[mode="dark"]::after {
    background-color: var(--primary-color, black);
}
eventlify-outline-button[mode="dark"]:hover {
    color: white;
    border-color: var(--primary-color, black);
}
eventlify-divider {
    display: inline-block;
    width: 2px;
    height: 36px;
    background-color: white;
    margin: 0 18px;
    vertical-align: middle;
}
eventlify-divider[mode="dark"] {
    background-color: #0000001a;
}

@media (max-width: 767px) {
    .header__top .col-md-12 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 25px !important;
    }

    .header__top .logo {
        margin: 0 !important;
        max-width: 140px !important;
    }

    .header__top .logo img {
        max-height: 44px !important;
        width: auto !important;
    }

    .header__top .form-inline {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    /* Hide Help/Support on mobile */
    .header__top .form-inline a[href^="mailto:"] {
        display: none !important;
    }

    /* Keep default button style but adjust size for mobile */
    eventlify-outline-button {
        height: 34px !important;
        font-size: 11px !important;
    }

    /* Hide divider on mobile */
    eventlify-divider {
        display: none !important;
    }
}

eventlify-outline-button {
    font-family: montserrat-r;
}

.member-detail__donor-badges {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
    align-self: flex-start;
    margin-top: 4px;
}

.member-detail__badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    line-height: 1;
}

.member-detail__badge--donation {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.member-detail__badge--pledge {
    background-color: #e3f2fd;
    color: #1565c0;
}