/*CSS written with BEM method */

.team-donation-tracking {
    padding-top: 15px;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    padding-bottom: 20px;
    font-family: Poppins;
    font-style: normal;
}

.team-donation-tracking__description-box {
    display: flex;
    flex-direction: column;
    max-width: 540px;
    width: 100%;
    gap: 20px;
}

.team-donation-tracking__info {
    display: flex;
    flex-direction: column;
    max-width: 335px;
    width: 100%;
    gap: 20px;
}

.team-donation-tracking__info-campaign {
    width: 335px;
    height: 346px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #FFF;
    padding: 35px 0 0 0;
}

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

.team-donation-tracking__leader {
    margin-top: 29px;
    display: flex;
    align-items: center;
}

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

.team-donation-tracking__campaign {
    margin-top: 15px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.team-donation-tracking__event-name {
    color: #000;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    padding-left: 10px;
}

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

.team-donation-tracking__campaign-text--success {
    color: var(--primary-color);
    font-weight: 600;
}

.team-donation-tracking__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;
}

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

.team-donation-tracking__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;
    margin-top: 15px;
}

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

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

    .team-donation-tracking__info {
        max-width: unset;
    }

    .team-donation-tracking__info-campaign {
        width: 100%;
    }

    .team-donation-tracking__info-img {
        min-height: unset;
        height: auto;
    }

    .slick-instance.slick-initialized .slick-list {
        margin-top: 40px;
    }

    .team-donation-tracking__description-box {
        padding-top: 90px;
    }
}

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

.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;
}

/* 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;
}