/* Modal Styles */
.pledge-modal .modal-contents {
    /* scrollbar-color: transparent transparent;
    scrollbar-width: thin; */
}

.pledge-modal {
    display: none;
    position: absolute;
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    height: 180vh;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-direction: column;
    display: flex;
    align-items: center;
}

.modal-contents {
    position: relative;
    background-color: #fff;
    padding: 0.8vw 1.8vw 2vw;
    max-width: 57.3vw;
    border-radius: 1.2vw;
    box-shadow: 0px 0px 40px #A762C2;
    position: relative;
    left: 0.48%;
    margin-top: 5vw;
}

.form-close-btn-container {
    text-align: right;
    margin: 0.8vw 0vw 1.2vw;
}

.form-close-btn {
    height: 1.25vw;
    width: 1.25vw;
    cursor: pointer;
}

.reason-input-container {
    margin: 1.0vw 0vw 0.3vw;
}

.modal-contents label, .modal-contents select {
    font-size: 0.84vw;
    font-weight: 400;
    display: flex;
    cursor: pointer;
    user-select: none;
}

.modal-contents label {
    margin-bottom: 0.15vw;
}

.modal-contents input, .modal-contents select:focus-visible,  .modal-contents textarea:focus-visible{
    outline: none;
}

.modal-contents input::placeholder {
    color: #BBBBBB;
    font-weight: 400;
    /* font-size: 1vw; */
}

.modal-contents select {
    color: #c9c9c9;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    padding-right: 30px;
}

.modal-contents select {
    color: #BBBBBB;
    padding-right: 1.6vw;
}

.modal-contents select.black {
    color: black;
}

.select-pledge-arrow {
    margin: 0.4vw 0.5vw;
    position: absolute;
    right: 0;
}

.gender-section, .age-section, .find-scs-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.select-pledge-arrow img {
    width: 0.9vw;
}

.modal-contents option {
    color: black; /* Set all options to black */
}

.modal-contents option:disabled {
    color: #c9c9c9; /* Keep disabled option grey */
}

.required-highlight {
    color: #ff0000;
    font-size: 0.7vw;
}

.half-form-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5vw;
    flex-wrap: wrap;
}

.half-form {
    width: 49.4%;
}

.datepicker {
    position: relative;
}

.datepicker-wrapper {
    position: relative;
}

#selected-date {
    padding-right: 30px;
}

.calendar-icon {
    position: absolute;
    right: 0.7vw;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    cursor: pointer;
    width: 0.96vw;
}

#calendar {
    position: absolute;
    border: 1px solid #ccc;
    background: #fff;
    padding: 0.4vw 0.5vw;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 0.5vw;
    width: max-content; /* or a fixed width */
    min-width: 250px;
}

#calendar.hidden {
    display: none;
}

#calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

#calendar th,
#calendar td {
    width: 14.28%;
    padding: 0.5vw;
    cursor: pointer;
    font-size: 0.8vw;
}

#calendar th {
    font-weight: 400;
}

#calendar td:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0.4vw 0.3vw;
    position: relative;
}

.calendar-dropdown-arrow {
    padding-left: 0.6vw;
    width: 1vw;
}

.calendar-prev-arrow , .calendar-next-arrow {
    width: 0.48vw;
}

.calendar-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.calendar-control button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0vw 0.2vw;
}

.calendar-control button:focus {
    outline: none;
}

.calendar-control span {
    min-width: 60px;
    text-align: center;
    cursor: pointer;
    padding: 0.15vw 0.38vw;
    border-radius: 0.85vw;
    font-size: 0.8vw;
}

.calendar-control span:hover {
    background-color: #f0ebff;
}

.calendar-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-height: 86%;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar-dropdown div {
    padding: 12px;
    cursor: pointer;
    color: #1D1B20;
}

.calendar-dropdown div:hover {
    background-color: #F0EBFF;
    color: #57369C;
}

.calendar-dropdown::-webkit-scrollbar {
    width: 0.3vw;
}

.calendar-dropdown::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.calendar-dropdown::-webkit-scrollbar-thumb {
    background-color: #8969D6;
    border-radius: 4px;
}

.calendar-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: #6a4fc7;
}

#calendar.dropdown-open .calendar-header-button {
    visibility: hidden;
    pointer-events: none;
}

.label-disabled .label-text {
    color: #BBBBBB;
}

.label-disabled .calendar-arrow {
    visibility: hidden;
}

.hidden {
    display: none;
}

.clickable {
    cursor: pointer;
}

.selected-date {
    background-color: #8969D6;
    border-radius: 50%;
    color: #fff;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.3vw 0vw 0vw;
}

.calendar-footer button {
    padding: 0.32vw 0.65vw;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-radius: 1vw;
    color: #57369C;
    font-size: 0.77vw;
}

.calendar-footer button:hover {
    background-color: #f0ebff;
}

.form-container input,
.form-container select {
    height: 2.4vw;
}

.form-container select {
    padding: 0 0.7vw;
    position: relative;
    z-index: 1;
}
/* Styling for form inputs and buttons */
.form-group,
.fight-cancer-container {
    margin: 0.5vw 0;
}

.scs-event-container {
    margin: 1.1vw 0vw;
    display: none;
}

.event-feedback-rate {
    display: flex;
    width: 100%;
    gap: 0.65vw;
    align-items: stretch;
    margin: 0.6vw 0vw;
}

.event-radio-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0.065vw solid #BBBBBB;
    border-radius: 0.39vw;
    padding: 0.4vw 0.9vw;
    flex: 1;
    transition: border 0.3s ease-in;
}

.event-radio-container:hover{
    border: 1px solid #8969D6;
}

.event-radio-container input {
    height: fit-content;
    width: auto;
    margin-right: 1vw;
    transition: all 0.3s ease-in;
}

.event-radio-container input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #343434;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    vertical-align: middle;
    aspect-ratio: 1/1;
}

.event-radio-container:hover input {
    accent-color: #8969D6;
    color: #8969D6;
    border-color: #8969D6;
    background-color: transparent;
}

.event-radio-container.selected input[type="radio"] {
    accent-color: #8969D6;
    color: #8969D6;
    border: 2px solid #fff;
    background-color: #8969D6;
    outline: 1px solid #8969D6;
}


.event-radio-container input[type="radio"]::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease;
}

.event-radio-container:hover input[type="radio"] {
    box-shadow: 0 0 0 6px rgba(137, 105, 214, 0.2);
    border-color: #8969D6;
}

.event-radio-container.selected {
    border: 0.065vw solid #8969D6;
}

.event-radio-container input:checked {
    accent-color: #8969D6;
}

input, select, textarea {
    width: 100%;
    padding: 0.6vw;
    border: 1px solid #ccc;
    border-radius: 0.3vw;
    font-size: 0.84vw;
    font-weight: 400;
}

textarea {
    height: 6vw;
    resize: none;
}

textarea::placeholder {
    color: #BBBBBB;
    font-weight: 400;
}

.tnc-div {
    margin-bottom: 2vw;
}

.tnc {
    display: flex;
    gap: 1rem;
    margin-top: 0.9vw;

}

.tnc > input[type="checkbox"] {
    width: 1.4vw;
    height: 1.4vw;
    margin: 0;
}

.tnc-text {
    margin: 0;
    line-height: 1.3;
    font-size: 0.84vw;
    font-weight: 400;
}

.btn-modal {
    width: 100%;
    background-color: #57369C;
    color: white;
    padding: 0.5vw 2vw;
    border: none;
    border-radius: 0.3vw;
    font-size: 0.85vw;
    cursor: pointer;
    font-weight: 600;
    outline: none !important;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn-modal:disabled {
  background-color: #F0EBFF;
  cursor: auto;
}

/*.btn-modal:hover {
    background-color: #EBE5FF;
}*/

/*.btn-modal.active {
    background-color: #57369C;
    cursor: pointer;
    opacity: 1;
}*/

.form-container {
    margin-bottom: 0.5vw;
}

.fight-cancer-dropdown {
    display: flex;
    /*color: #c9c9c9;*/
    font-size: 0.84vw;
    font-weight: 300;
    height: auto;
    width: 100%;
    padding: 0vw 0.4vw 0vw 0.6vw;
    border-radius: 0.5vw;
    border: 1px solid #ccc;
    justify-content: space-between;
    align-items: center;
}
.fight-cancer-container .dropdown-options {
    border: 1px solid #8969D6;
    position: absolute;
    top: 105%;
    background: white;
    display: none;
    width: 100%;
    border-radius: 0.5vw;
    z-index: 4;
}

.fight-cancer-container .dropdown-options label {
    margin: 0vw;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #F2F2F2;
    cursor: pointer;
}

.fight-cancer-container .dropdown-options label:hover {
    background-color: #FAF4FF;
}

.fight-cancer-container .dropdown-options label:first-child {
    border-top-left-radius: 0.5vw;
    border-top-right-radius: 0.5vw;
}

.fight-cancer-container .dropdown-options label:last-child {
    border-bottom-left-radius: 0.5vw;
    border-bottom-right-radius: 0.5vw;
}

.fight-cancer-container .dropdown-options input[type="checkbox"]:checked + .label-text-div {
    color: #9770B9; /* Change color when checked */
}

.dropdown-options label:has(input:checked) {
    background-color: #FAF4FF;
    color: #9770B9 !important;
}

.fight-cancer-container .dropdown-options input {
    margin: 0.5vw;
    width: 1.0vw;
    height: 1.0vw;
    cursor: pointer;
}

.dropdownCheckbox {
    accent-color: #9770B9;
}

.privacyCheckbox {
    accent-color: #9770B9;
}

#selected-text {
    padding: 0.45vw 0;
    font-weight: 400;
    color: #BBBBBB;
}

#email {
    margin-bottom: 0.5vw;
}

#reason {
    height: 5vw;
}

.privacypolicy-highlight {
    color: #8969d6 !important;
    text-decoration: underline !important;
}

.privacypolicy-highligh:focus-visible {
    outline: none;
}

#warning img {
    margin-top: 0.2vw;
    margin-right: 0.4vw;
}

#warning p {
    font-size: 0.7vw;
    line-height: 0.9vw;
}

/* Thank you message */
.thank-popup {
    display: none;
    /* display: flex; */
    position: absolute;
    z-index: 16;
    top: 0%;
    width: 100%;
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: center;
}

.thankyou-close-btn-container {
    text-align: right;
}

.thank-you-close-btn {
    height: 1.25vw;
    width: 1.25vw;
}
.thanks-popup-container {
    background: linear-gradient(180deg, #F0EBFF 0%, #FFFFFF 57.59%);
    font-size: 1vw;
    position: relative;
    top: 8%;
    width: 57vw;
    border-radius: 1.4vw;
    padding: 1.8vw;
}

.thank-you-inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thankyou-pledge-ribbon {
    width: 16.8vw;
}

.thank-you-text-container {
    padding: 1.2vw 1.2vw 2.0vw;
    width: 85%;
}

.thankyou-popup-highlight{
    text-align: center;
    color: #57369C;
    font-size: 1.65vw;
    font-weight: 700;
    background: linear-gradient(to bottom, rgba(47, 19, 73, 0.85), #57369C 55%, rgba(47, 19, 73, 0.85) 90%);
    -webkit-background-clip: text; /* For Safari */
    /*-webkit-text-fill-color: transparent; *//* For Safari */
    background-clip: text;
    line-height: 1.2;
    letter-spacing: 0.03vw;
}


.thanks-popup-text {
    color: #57369C;
    font-size: 1.23vw;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    background: linear-gradient(to bottom, rgba(47, 19, 73, 0.9), #57369C 60%, rgba(47, 19, 73, 0.9) 90%);
    -webkit-background-clip: text; /* For Safari */
    -webkit-text-fill-color: transparent; /* For Safari */
    background-clip: text;
    margin: 0.55vw 0vw 1.4vw;
}

.thank-you-counter-container-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1vw;
}

.thankyou-counter-container {
    box-shadow: 0px 4px 20px 0px #DFD7F2;
    width: max-content;
    height: 7.0vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 0.5vw;
    background: #FFFFFF33;
    border: 3px solid #fff;
}

.pledge-counter-left-img {
    position: absolute;
    width: 11.5vw;
    height: fit-content;
    left: 0%;
    top: 0%;
}

.pledge-counter-text {
    display: flex;
    align-items: baseline;
    margin: 0vw 8vw 0vw 10vw;
}

.pledge-counter {
    color: #56359B;
    font-size: 3.52vw;
    letter-spacing: 0.2vw;
    font-weight: 600;
    font-family: 'Inter', monospace !important;
}

.odometer-formatting-mark {
    font-family: 'Poppins' !important;
}

.pledge-counter-highlight-text {
    color: #8969D6;
    font-weight: 700;
    font-size: 1.25vw;
    position: relative;
    bottom: 0.3vw;
    left: 0.3vw;
}

.pledge-ribbon-right {
    width: 11.0vw;
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.takepledge-mb-vers {
    display: none;
}

.thankyou-popup-btn {
    border: none;
    height: 2.3vw;
    width: -webkit-fill-available;
    background-color: #8969D6;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 0.4vw;
    font-size: 0.83vw;
    cursor: pointer;
    margin-top: 1.8vw;
    transition: background-color 0.4s ease-in;
}

.thankyou-popup-btn:hover {
    background-color: #57369C;
}

#pledgeList {
    scroll-margin-top: 100px;
}

.pledge-introduction-container-wrapper {
    position: absolute;
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-direction: column;
    /* display: flex;  */
    justify-content: center;
    align-items: center;
    display: none;
    transform: translateY(-10%);
}

.pledge-intro-container {
    background: linear-gradient(180deg, #F0EBFF 0%, #FFFFFF 100%);
    padding: 1.8vw;
    border-radius: 1.8vw;
    max-width: 33.9vw;
    position: relative;
    left: 0.5%;
}

.pledge-intro-img-container {
    position: relative;
}

.pledge-intro-ribbon {
    width: 32.15vw;
}

.pledge-intro-ribbon-mobile {
    display: none;
}

.pledge-intro-close-btn {
    position: absolute;
    top: 0%;
    right: 0%;
    width: 1.3vw;
    cursor: pointer;
}

.pledge-intro-close-btn:hover {

}

.pledge-intro-text {
    padding: 1.6vw 0vw;
}

.pledge-intro-title {
    color: #57369C;
    font-weight: 700;
    font-size: 1.7vw;
    line-height: 1.2;
    padding-bottom: 0.5vw;
}

.pledge-intro-desc {
    color: #343434;
    font-weight: 400;
    font-size: 0.84vw;
    line-height: 1.3;
}

.pledge-intro-btn-container {
    margin-top: 1.4vw;
}

.pledge-intro-next-btn {
    background-color: #8969D6;
    color: #FFFFFF;
    width: -webkit-fill-available;
    border: none;
    height: 2.4vw;
    font-size: 0.88vw;
    font-weight: 600;
    border-radius: 0.39vw;
    cursor: pointer;
}

.pledge-intro-next-btn:focus {
    outline: none;
}

.pledge-intro-next-btn:hover {
    background-color: #5c3ba1;
    transition: background-color 0.5s ease;
}

#find-scs-other-container {
    display: none;
    width: 100%;
}

.custom-select-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.select-selected, .gender-select-selected {
    display: flex;
    font-size: 0.84vw;
    font-weight: 300;
    height: auto;
    width: 100%;
    padding: 0.45vw 0.4vw 0.45vw 0.6vw;
    border-radius: 0.5vw;
    border: 1px solid #ccc;
    justify-content: space-between;
    align-items: center;
}

.select-arrow-active {
    border-color: #8969D6 !important;
}

.select-text, .gender-select-text {
    color: rgb(187, 187, 187);
}

.select-pledge-arrow img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.select-items, .gender-select-items {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #8969D6;
    z-index: 99;
    display: none;
    border-radius: 0.5vw;
}

.select-items div, .gender-select-items div {
    padding: 0.35vw 0.9vw;
    cursor: pointer;
    font-size: 0.85vw;
    border-bottom: 1px solid #F2F2F2;
}

.select-items div:first-child, .gender-select-items div:first-child {
    border-top-left-radius: 0.5vw;
    border-top-right-radius: 0.5vw;
}

.select-items div:last-child, .gender-select-items div:last-child {
    border-bottom-left-radius: 0.5vw;
    border-bottom-right-radius: 0.5vw;
}

.select-items div:hover, .gender-select-items div:hover {
    background-color: #F0EBFF;
}

.disabled {
    color: #ccc;
    pointer-events: none;
    cursor: not-allowed;
}

/* Extra */
.pledge-intro-header-img {
    width: 100%;
    max-width: 141px;
}

@media(max-width: 2100px) and (pointer: coarse){
    .modal-contents {
        max-width: 80vw;
        margin-top: 9vw;
        padding: 2.35vw 3vw;
    }

    .modal-contents label, .modal-contents select, input, select, textarea, #selected-text, .tnc-text, .btn-modal {
        font-size: 1.75vw;
    }
    .select-selected, .gender-select-selected {
        font-size: 1.75vw;
        padding: 0.7vw 0.6vw;
    }

    .select-items div, .gender-select-items div {
        font-size: 1.75vw;
        padding: 1vw;
    }

    .form-group, .fight-cancer-container {
        margin: 1.5vw 0;
    }

    .form-container input,
    .form-container select {
        height: 4.5vw;
    }

    #reason {
        height: 10vw;
    }

    #warning p {
        font-size: .9rem;
        line-height: 1;
    }

    .pledge-intro-container {
        max-width: 64vw;
        padding: 5vw;
        border-radius: 4vw;
    }

    .pledge-intro-ribbon {
        display: none;
    }

    .pledge-intro-ribbon-mobile {
        width: 59vw;
        display: block;
    }

    .pledge-intro-close-btn {
        width: 3.5vw;
    }

    .pledge-intro-title {
        font-size: 4vw;
        line-height: 1.5;
    }

    .pledge-intro-desc {
        font-size: 2.8vw;
    }

    .pledge-intro-btn-container {
        margin-top: 4vw;
    }

    .pledge-intro-next-btn {
        height: auto;
        padding: 2vw;
        font-size: 2.88vw;
        border-radius: 1vw;
    }

    .form-close-btn {
        height: 2.2vw;
        width: 2.2vw;
    }

    .fight-cancer-dropdown {
        padding: 1.8vw 4vw 1.8vw 2vw;
    }

    .half-form {
        width: 100%;
    }

    .select-pledge-arrow {
        right: 0.3vw;
        margin: 0.8vw 0.5vw;
    }

    .select-pledge-arrow img {
        width: 2vw;
    }

    .calendar-icon {
        right: 0.9vw;
        width: 1.8vw;
    }

    #calendar {
        min-width: 40vw;
    }

    #calendar th, #calendar td {
        font-size: 1.8vw;
        padding: 1vw;
    }

    .calendar-control span {
        font-size: 1.8vw;
    }

    .calendar-dropdown-arrow {
        width: 3.5vw;
        padding-left: 2.6vw;
    }

    .calendar-dropdown div {
        font-size: 1.8vw;
    }

    .calendar-footer button {
        font-size: 1.8vw;
        margin-left: 1vw;
    }

    .calendar-prev-arrow, .calendar-next-arrow {
        width: 1vw;
    }

    .calendar-control span:hover {
        background-color: transparent;
    }

    .thank-you-close-btn {
        height: 2.25vw;
        width: 2.25vw;
        cursor: pointer;
    }

    .thank-you-inner-container {
        margin-top: 3vw;
    }

    .thankyou-pledge-ribbon {
        width: 22vw;
    }

    .thankyou-popup-highlight {
        font-size: 3.5vw;
        font-weight: 700;
    }

    .thanks-popup-container {
        width: 70.21vw;
    }

    .thanks-popup-text {
        font-size: 2.5vw;
    }

    .pledge-counter-left-img {
        display: none;
    }

    .pledge-ribbon-right {
        display: none;
    }

    .pledge-counter {
        font-size: 5vw;
        font-weight: 700;
    }

    .pledge-counter-highlight-text {
        font-size: 1.7vw;
        bottom: 0vw;
        left: 1.0vw;
        top: 0.3vw;
    }

    .thankyou-counter-container {
        height: auto;
        padding: 2.8vw 0vw;
        border-radius: 2vw;
    }

    .thankyou-popup-btn {
        font-size: 1.83vw;
        height: 6.3vw;
        border-radius: 1.0vw;
        margin-top: 3.8vw;
    }

    .btn-modal {
        font-size: 2.25vw;
        border-radius: 1.5vw;
        padding: 1.5vw 2vw;
    }

    .tnc-tick input[type="checkbox"] {
        width: 20px;
        height: 20px;
        transform: scale(1.1);
    }

    .fight-cancer-container .dropdown-options input, .tnc > input[type="checkbox"] {
        width: 2vw;
        height: 2vw;
    }

    .takepledge-mb-vers {
        display: block;
    }

    .takepledge-dt-vers {
        display: none;
    }

    .event-radio-container {
        padding: 1.5vw 4.5vw;
        border-radius: 2vw;
        margin: 0vw 0.5vw;
    }

    .event-radio-container label {
        text-wrap-mode: nowrap;
    }

    /*.event-feedback-rate {
        overflow-x: auto;
        padding-bottom: 2vw;
    }

    .event-feedback-rate::-webkit-scrollbar {
        height: 0.4vw;
    }

    .event-feedback-rate::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

    .event-feedback-rate::-webkit-scrollbar-thumb {
        background-color: #8969D6;
    }*/

    .event-feedback-rate-wrapper,
    .event-feedback-rate-wrapper.second-row-feedback {
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .event-feedback-rate {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0;
        white-space: nowrap;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .event-feedback-rate::-webkit-scrollbar {
        display: none;
    }

    .event-radio-container{
        min-width: 180px;
        padding: 1rem;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .fake-scrollbar{
        height: 5px;
        background: #f0f0f0;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

    .fake-scrollbar-thumb {
        height: 100%;
        background-color: #8969D6;
        width: 50px;
        border-radius: 10px;
        transform: translateX(0);
        transition: transform 0.1s linear;
        position: absolute;
        left: 0;
        top: 0;
    }

    .event-radio-container input {
        width: auto;
        margin-right: 2vw;
    }
}

@media(max-width: 768px) {
    .pledge-modal {
        height: 100vh ;
        /*padding-top: 4%;*/
    }

    .form-group, .fight-cancer-container {
        margin: 2.5vw 0;
    }

    #reason {
        height: 8.5vw;
        font-size: 1.9vw;
        border-radius: 1.5vw;
    }

    .form-container input, .form-container select, .fight-cancer-dropdown {
        /* margin-top: 1vw;
        height: 8vw;*/
        font-size: 1.9vw;
        border-radius: 1vw;
        /* border: 0.3vw solid #BBBBBB;
        padding: 0px 2.7vw; */
    }

    .select-selected, .gender-select-selected {
        font-size: 1.9vw;
    }

    .select-items div, .gender-select-items div {
        font-size: 1.9vw;
    }

    .tnc-text {
        font-size: 1.9vw;
    }

    .modal-contents label, .modal-contents select {
        font-size: 1.9vw;
    }

    .required-highlight {
        font-size: 1.65vw;
    }

    .thankyou-pledge-ribbon {
        width: 50%;
    }

    .thankyou-popup-btn {
        font-size: 2.4vw;
        height: 7vw;
        border-radius: 1vw;
    }

    #warning img {
        margin-right: 1.5vw;
    }

    #warning p {
        font-size: 3vw;
        line-height: 3.5vw;
    }
}

@media(max-width: 767.9px) {
    .pledge-introduction-container-wrapper {
        height: 120vh !important;
    }

    .pledge-intro-title {
        font-size: 20px;
        line-height: 130%;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .pledge-intro-ribbon-mobile {
        width: 108%;
        position: relative;
        right: 1.5%;
        overflow: hidden;
    }

    .pledge-intro-desc {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
    }

    .pledge-intro-next-btn {
        padding: 20.5px 10px;
        border-radius: 6px;
        font-size: 16px;
    }

    .event-radio-container {
        min-width: 180px;
    }

    .event-feedback-rate-wrapper,
    .event-feedback-rate-wrapper.second-row-feedback {
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .event-feedback-rate {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0;
        white-space: nowrap;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .event-feedback-rate::-webkit-scrollbar {
        display: none;
    }

    .event-radio-container{
        min-width: 180px;
        padding: 1rem;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .fake-scrollbar{
        height: 5px;
        background: #f0f0f0;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

    .fake-scrollbar-thumb {
        height: 100%;
        background-color: #8969D6;
        width: 50px;
        border-radius: 10px;
        transform: translateX(0);
        transition: transform 0.1s linear;
        position: absolute;
        left: 0;
        top: 0;
    }
}

@media (max-width: 600px) {

    .form-close-btn {
        height: 5vw;
        width: 5vw;
    }

    .thanks-popup-container {
        width: 88vw;
        border-radius: 4.5vw;
        padding: 6vw 5.2vw;
    }

    .thank-you-close-btn {
        height: 4vw;
        width: 4vw;
    }

    .thankyou-popup-btn {
        height: 13vw;
        font-size: 3.7vw;
        border-radius: 1.5vw;
        bottom: 5.5vw;
    }

    .thankyou-popup-highlight {
        margin-top: 3.5vw;
        font-size: 5.0vw;
    }

    .thanks-popup-text {
        font-size: 3.3vw;
    }

    .thankyou-counter-container {
        padding: 4.5vw 0vw;
    }

    .pledge-counter {
        font-size: 9vw;
    }

    .pledge-counter-highlight-text {
        font-size: 3.5vw;
        left: 1.8vw;
    }

    .fight-cancer-container .dropdown-options {
        border: 0.3vw solid #8969D6;
        border-radius: 2vw;
    }

    .fight-cancer-container .dropdown-options label {
        padding: 2vw 0vw;
        display: flex;
        align-items: center;
    }

    .fight-cancer-container .dropdown-options label:first-child {
        border-top-left-radius: 2vw;
        border-top-right-radius: 2vw;
    }

    .fight-cancer-container .dropdown-options label:last-child {
        border-bottom-left-radius: 2vw;
        border-bottom-right-radius: 2vw;
    }

    .fight-cancer-container .dropdown-options label span {
        line-height: 1.1;
    }

    .thank-popup {
        min-height: 80vh;
    }

    .pledge-modal {
        height: auto;
        padding-top: 12vh;
        backdrop-filter: blur(12px);
    }

    #selected-text {
        padding: unset;
    }

    .reason-label {
        margin-top: 3.5vw;
        margin-bottom: 1vw;
    }

    .tnc-tick > input {
        width: 5vw;
        height: 5vw;
        margin-right: 2vw;
    }

    .tnc-text {
        font-size: 3.2vw;
    }

    .tnc {
        margin-top: 4.5vw;
        margin-bottom: 7vw;
    }

    .pledge-arrow img {
        width: 1.8vw;
    }

    .thank-popup {
        min-height: 75vh;
    }

    .modal-contents {
        margin-top: 5vw;
        border-radius: 5vw;
        padding: 6vw 7.4vw;
        max-width: 89%;
        margin-bottom: 3vw;
    }

    #reason {
        padding: 3vw;
        font-size: 3.5vw;
        height: 30vw;
        line-height: 4.6vw;
        border-radius: 2vw;
    }

    .form-container input, .form-container select, .form-container textarea {
        height: 10vw;
        font-size: 3.5vw;
        border-radius: 2vw;
        border: 0.3vw solid #BBBBBB;
        padding: 0.8vw 2.7vw;
    }

    .select-selected, .gender-select-selected {
        font-size: 3.5vw;
        border-radius: 2vw;
        border: 0.3vw solid #BBBBBB;
        padding: 1.8vw 8vw 1.8vw 2vw;
    }

    .select-items div, .gender-select-items div {
        font-size: 3.5vw;
        padding: 2vw;
    }

    .select-items div:first-child, .gender-select-items div:first-child {
        border-top-left-radius: 2vw;
        border-top-right-radius: 2vw;
    }

    .select-items div:last-child, .gender-select-items div:last-child {
        border-bottom-left-radius: 2vw;
        border-bottom-right-radius: 2vw;
    }

    .fight-cancer-dropdown {
        height: auto;
        font-size: 3.5vw;
        border-radius: 2vw;
        border: 0.3vw solid #BBBBBB;
        padding: 1.8vw 8vw 1.8vw 2vw;
    }

    #selected-text {
        font-size: 3.5vw;
    }

    .fight_cancer_by {
        margin-top: 3vw;
    }

    .required-highlight {
        font-size: 4vw;
    }

    .form-container option {
        font-size: 4vw;
    }

    .modal-contents label, .modal-contents select {
        font-size: 3.5vw;
    }
    .btn-modal {
        font-size: 4vw;
        padding: 3.5vw 2vw;
        border-radius: 2vw;
        margin-bottom: 2vw;
    }

    .fight-cancer-container .dropdown-options input , .tnc > input[type="checkbox"] {
        width: 4vw;
        height: 4vw;
        margin: 0rem 1rem 0rem .5rem;
    }

    .select-pledge-arrow {
        right: 3vw;
        margin: 1.8vw 0.5vw;
    }

    .select-pledge-arrow img, .pledge-arrow img {
        width: 4vw;
    }

    input::placeholder,
    textarea::placeholder {
        font-size: 3.5vw;
    }

    .calendar-icon {
        right: 2vw;
        width: 3.5vw;
    }

    #calendar {
        min-width: 65%;
        border-radius: 2vw;
    }

    .calendar-header {
        padding: 1.0vw 0.5vw;
    }

    .calendar-control span {
        font-size: 2.8vw;
        border-radius: 2vw;
        padding: 0.3vw 1.2vw;
    }

    .calendar-dropdown-arrow {
        width: 3.7vw;
        padding-left: 2.2vw;
    }

    .calendar-control {
        gap: 1.5vw;
    }

    .calendar-control button {
        padding: 0vw 0.9vw;
    }

    .calendar-prev-arrow, .calendar-next-arrow {
        width: 1.5vw;
    }

    .calendar-dropdown {
        max-height: 89%;
    }

    .calendar-dropdown div {
        font-size: 2.8vw;
    }

    #calendar th, #calendar td {
        font-size: 2.8vw;
        padding: 1.5vw;
    }

    .calendar-footer {
        padding: 1.3vw 1vw 1vw;
    }

    .calendar-footer button {
        font-size: 2.8vw;
        margin-left: 1.5vw;
    }

    .calendar-dropdown::-webkit-scrollbar {
        width: 0.8vw;
    }

    .calendar-dropdown::-webkit-scrollbar-track {
        background: transparent;
    }

    .calendar-dropdown {
        left: 1.5%;
        width: 97%;
        border-top: 1px solid #ddd;
        box-shadow: none;
    }

    .event-radio-container {
        padding: 1.5vw 8.5vw 1.5vw 4vw;
    }

    .event-radio-container input {
        width: 3vw;
        margin-right: 2vw;
    }

    .event-feedback-rate::-webkit-scrollbar {
        height: 1vw;
        scrollbar-width: thin;
        scrollbar-color: #8969D6 transparent;
    }

    .select-items, .gender-select-items {
        border-radius: 2vw;
        border: 0.3vw solid #8969D6;
    }

    #comment {
        padding: 3vw;
        font-size: 3.5vw;
        height: 30vw;
        line-height: 4.6vw;
        border-radius: 2vw;
    }

    @supports (-webkit-overflow-scrolling: touch) { /*for detecting ios device*/
        .event-feedback-rate {
            scrollbar-width: thin;
            scrollbar-color: #8969D6 transparent;
        }

        .event-feedback-rate::-webkit-scrollbar {
            display: none !important;
        }

        .calendar-dropdown {
            scrollbar-width: thin;
            scrollbar-color: #8969D6 transparent;
        }

        .calendar-dropdown::-webkit-scrollbar {
            display: none !important;
        }
    }
    .event-radio-container {
        min-width: 280px;
    }

    .event-radio-container input[type="radio"] {
        padding: 6px;
    }

    .event-radio-container:hover input[type="radio"] {
        box-shadow: none;
        border-color: #fff;
        outline: 1px solid #8969D6;
        background-color: #8969D6;
    }
}

@media(max-width: 576px) {
    .pledge-intro-container {
        /*max-width: 88vw;*/
        max-width: 380px;
        width: 100%;
    }

    .pledge-introduction-container-wrapper {
        padding: 0 20px;
    }

    .pledge-intro-header-img {
        max-width: 65px;
    }

    .event-radio-container {
        min-width: 240px;
    }
}

@media(max-width: 480px) {
    .event-radio-container input[type="radio"] {
        padding: 4px;
    }
}

@media(max-width: 430px) {
    .event-radio-container {
        min-width: 200px;
    }
}

@media(max-width: 380px) {
    .event-radio-container {
        min-width: 180px;
    }
}
