.donation-body {
    background: rgba(245, 245, 245, 1);
    min-height: 100vh;

    hr {
        border-color: #000;
        opacity: 1;
    }

    .swiper-slide {
        display: flex;
        gap: 30px;
        padding: 0;
        border: none;

        .card-heading {
            font-size: 20px;
        }

        img {
            aspect-ratio: 16/9;
            border-radius: 8px;
        }

        h5 {
            font-weight: 500;
            font-size: 13px;
            margin-top: 37px;

        }


    }

    h2 {
        font-family: Outfit;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        margin-block: 50px 30px;

    }
}

.donation-nav-wrapper {
    padding: 8px;
    background-color: #fff;


    .nav-donation {
        display: flex;
        align-items: center;
        justify-content: space-between;

        li a {
            text-decoration: none;
            color: black;
            font-size: clamp(0.5625rem, 0.4261rem + 0.6818vw, 0.9375rem);
            font-weight: 400;

            &:last-child {
                color: rgba(52, 131, 31, 1);
            }
        }
    }


}

.pay-now-btn {
    height: 54px;
    border-radius: 8px;
    width: 100%;
    color: #fff;
    background: #0B9A2F;
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    margin-block: 30px;

    &:hover {
        border: 3px solid #0B9A2F;
    }


}

.donation-page-wrapper {
    border-radius: 8px;
    padding: 31px 35px;
    background: #fff;
    margin-block: 80px;
    border-bottom: 33px solid #0B9A2F;

    .help-list {
        display: flex;
        flex-wrap: wrap;
        /* Allow items to wrap to new line */
        justify-content: center;
        gap: 10px;
        /* Add some spacing between items */
    }

    .help-list .form-control {
        width: 100%;
        max-width: 100% !important;
        flex: 1 0 100%;
        /* Grow, don't shrink, full width */
        order: 1;
        /* Move to second row */
        margin-top: 10px;
        /* Add space between rows */
    }

    .help-list .form-group {
        width: 100%;
        max-width: 100% !important;
        flex: 1 0 100%;
        /* Grow, don't shrink, full width */
        order: 1;
        /* Move to second row */
        margin-top: 10px;
    }

    .help-list .btn,
    .help-list .btn-check {
        color: #000;
        background-color: transparent;
        border-color: #000;
        font-size: clamp(1rem, 0.9545rem + 0.2273vw, 1.125rem);
        flex: 0 0 90px;
        /* Don't grow or shrink */
    }

    .help-list .btn-check:checked+.btn,
    .help-list .btn.active,
    .help-list .btn.show,
    .help-list .btn:first-child:active,
    :not(.btn-check)+.btn:active {
        color: #fff;
        background-color: #000;
        border-color: #000;
    }

    /* Hide the radio inputs visually but keep them accessible */
    .help-list .btn-check {
        position: absolute;
        opacity: 0;
    }

    .help-list .form-group {
        position: relative;
        border: 1px solid;
        border-radius: 8px;
        padding: 12px 28px;

        .form-label {
            color: rgba(183, 183, 183, 1);
            margin-bottom: 0;
        }

        .btn {
            position: absolute;
            background: rgba(217, 217, 217, 1);
            color: #000;
            border: none;
            width: 67px;
            height: 29px;
            padding: 0;
            border-radius: 25px;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);


        }

        .form-control {
            color: rgba(183, 183, 183, 1);
            text-align: left;
            padding: 0;
            margin-top: 0;

            &::placeholder {
                color: rgba(183, 183, 183, 1);
            }

            &:focus {
                background: none;
                border: none;
                box-shadow: none;
            }
        }
    }




    .range {
        margin: 70px 0;
        padding: 10px 24px;
        position: relative;


        .seekbar-progress {
            position: relative;
            height: 4px;
            background-color: #f5f5f5;
            background: repeating-linear-gradient(to right,
                    #C9C9C9 -15px,
                    #C9C9C9 36px,
                    transparent 40px,
                    transparent 10px);
            background-repeat: repeat-x;
            border-radius: 6px;

            [role="progressbar"] {
                height: 100%;
                position: relative;
                background: repeating-linear-gradient(to right,
                        rgba(83, 219, 122, 1) -15px,
                        rgba(83, 219, 122, 1) 36px,
                        transparent 40px,
                        transparent 10px);
                border-radius: 6px;
                box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);

                &:after {
                    content: " ";
                    display: block;
                    width: 22px;
                    height: 22px;
                    position: absolute;
                    top: -9.5px;
                    right: -12px;
                    background-color: rgba(83, 219, 122, 1);
                    background: rgba(83, 219, 122, 1);
                    background-repeat: repeat-x;
                    border: 1px solid rgba(83, 219, 122, 1);
                    border-radius: 20px;
                }
            }
        }

        div[role=tooltip] {
            /* Line up with slider thumb: JS sets left % + translateX(-50%) */
            position: absolute;
            left: 0;
            bottom: calc(100% + 14px);
            top: auto;
            margin-left: 0;
            transform: translateX(-50%);
            z-index: 3;
            pointer-events: none;

            input[type=text] {
                position: relative;
                width: 60px;
                text-align: center;
                padding: 6px 10px;
                box-sizing: border-box;
                border-radius: 10px;
                border: none;
                line-height: 20px;
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
                pointer-events: auto;
            }

            /* &:before {
                content: '';
                display: block;
                width: 10px;
                height: 10px;
                transform: rotate(45deg);
                background: white;
                position: absolute;
                left: 25px;
                bottom: -3px;
                z-index: 1;
                box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
            } */
        }

        input[type="range"] {
            -webkit-appearance: none;
            width: 100%;
            height: 100%;
            margin: 0;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
            background: transparent;
            outline: 0;
            border: 0;

            &::-webkit-slider-thumb {
                -webkit-appearance: none;
                display: block;
                width: 48px;
                height: 48px;
                background-color: transparent;
            }

            &::-moz-range-thumb {
                display: block;
                width: 48px;
                height: 48px;
                background: transparent;
                border: 0;
            }

            &::-moz-range-track {
                background: transparent;
                border: 0;
            }

            &::-moz-focus-outer {
                border: 0;
            }
        }
    }


}

/* Basket empty state: sits inside .donation-page-wrapper for same top margin and width as checkout */
.basket-empty-inner {
    text-align: center;
    padding: 24px 16px 28px;
}

.basket-empty-inner h3 {
    margin: 0 0 14px;
    font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
}

.basket-empty-inner p {
    margin: 0;
    font-size: 1rem;
}

.Payment-Method-Wrapper {
    border: 1px solid #000000;
    border-radius: 8px;
    margin-bottom: 32px;

    .Payment-Method {
        padding: clamp(0.875rem, 0.5114rem + 1.8182vw, 1.875rem);
        border-bottom: 1px solid #000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;

        p {
            font-size: clamp(0.5625rem, 0.358rem + 1.0227vw, 1.125rem);
        }

        .form-check-label {
            font-size: clamp(0.5625rem, 0.358rem + 1.0227vw, 1.125rem);
        }

        img {
            width: 31.74%;
        }


    }



}

.form-check-input:checked {
    background-color: #0B9A2F;
    border-color: #0B9A2F;
}

.Your-donation-table {

    td,
    th {
        padding: 5px;
    }




}

.protected-donation {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 10px;
    margin-bottom: 50px;

    h2 {
        margin: 8px 0;
    }

    .icon-protected {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 37px;
        height: 37px;
        opacity: 1;
        background: #D9D9D9;
        border-radius: 50%;

    }
}

@media (max-width: 768px) {
    .nav-donation {
        a:has(img) {
            img {
                max-width: 65px;

            }
        }
    }

    .donation-page-wrapper {
        padding: 0;
    }

    .donation-body {
        background: #fff;

        .swiper-slide {
            flex-direction: column;
            gap: 10px;

            .card-heading {
                font-size: 20px;
            }

            img {
                aspect-ratio: 16/9;
                border-radius: 8px;
            }

            h5 {
                font-weight: 500;
                font-size: 13px;
                margin-top: 37px;

            }
        }
    }
}