.skyweb-donate-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 13px;
    border-radius: 8px;
    max-width: calc(100% - 40px);
    width: 360px;
    z-index: 9999;
    background: #ffffff;
    color: #212830;
    border: 0px solid #ffffff;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 10px;
}

.skyweb-donate-notification .name {
    font-weight: 700;
    color: #2797ff;
    font-size: 16px;
}

.skyweb-donate-notification .time,
.skyweb-donate-notification .location {
    font-size: 13px;
    line-height: 1.3em;
}

.skyweb-donate-notification .donate-button {
    float: right;
    border: 1px solid rgb(39, 151, 255);
    color: rgb(39, 151, 255);
    padding: 4px 16px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

.skyweb-donate-notification .donate-button:hover {
    background-color: #2797ff;
    color: white;
}

.skyweb-donate-notification p {
    margin: 0;
}


.skyweb-donate-notification strong {
    color: #242424;
}

.skyweb-donate-notification .close {
    background-color: #3c444e;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 99px;
    border: none;
    padding: 0;
    line-height: 16px;
    min-height: inherit;
    text-align: center;
    transition: .3s;
}


.skyweb-donate-notification .close:hover {
    background-color: black;
    color: white;
}

@media screen and (min-width: 768px) {
    .skyweb-donate-notification .close {
        position: absolute;
        right: -18px;
        top: 0;
        opacity: 0;
    }

    .skyweb-donate-notification .close::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
        height: 30px;
        display: block;
    }

    .skyweb-donate-notification:hover .close {
        right: -25px;
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .skyweb-donate-notification {
        bottom: 80px;
        width: calc(100% - 40px) !important;
    }

    .skyweb-donate-notification .close {
        float: right;
        margin-left: 5px;
        margin-top: 9px;
    }

    .skyweb-donate-notification .donate-button {
        padding: 3px 12px;
        font-size: 14px;
    }
    .skyweb-donate-notification .name {
        font-size: 14px;
    }
    
}



/* Styles for the frontend product page */
.custom-options {
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;
    /* Adjust for full-width buttons */
    margin-right: -5px;
    /* Adjust for full-width buttons */
}

.custom-options .custom-option-button {
    width: calc(33.3333% - 10px) !important;
    /* Default: 3 buttons per row */
    padding: 8px;
    border: 1px solid #c7cdd6;
    border-radius: 6px;
    height: 40px;
    /* Updated height */
    font-size: 15px;
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    color: #232a32;
    /* Updated color */
    margin: 5px;
    /* Reduced margin for less space between buttons */
    cursor: pointer;
    text-align: center;
    line-height: 1.1em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-options .custom-option-button.selected {
    background-color: rgba(52, 66, 173, 0.15);
    border-color: rgb(52, 66, 173);
    font-weight: 700;
    color: var(--wd-primary-color);
    /* Updated color when selected */
}

.daily-fields.custom-options .custom-option-button:before {
    content: "daily";
    position: absolute;
    right: 5px;
    left: 5px;
    bottom: 7px;
    font-size: 10px;
    text-transform: capitalize;
    opacity: 0;
    visibility: hidden;
    line-height: 1em;
    transition: .3s;
    color: #3442ad;
}

.daily-fields.custom-options .custom-option-button .price {
    transition: .3s;
    transform: translateY(0px);
}
.daily-fields.custom-options .custom-option-button.selected .price {
    transform: translateY(-7px);
}

.daily-fields.custom-options .custom-option-button.selected:before {
    opacity: 1;
    visibility: visible;
}

.custom-options.one-button .custom-option-button {
    width: calc(100% - 10px) !important;
    /* Full width for single button */
}

.custom-options.two-buttons .custom-option-button {
    width: calc(50% - 10px) !important;
    /* 50% width for two buttons */
}

.custom-options.three-buttons .custom-option-button {
    width: calc(33.3333% - 10px) !important;
    /* 33.33% width for three buttons */
}

.custom_text_box {
    margin-top: 0px;
    /* Updated margin */
}

#custom_text,
.selected_amount {
    width: 100% !important;
    padding: 8px 8px 8px 30px !important;
    /* Adjusted padding for currency symbol */
    border: 1px solid #8791a1 !important;
    border-radius: 6px !important;
    height: 52px !important;
    font-size: 15px !important;
    background-color: rgba(0, 0, 0, 0) !important;
    background-image: none;
    -webkit-appearance: none !important;
    /* WebKit/Chrome/Safari */
    appearance: none !important;
    /* Non-prefixed support */
    color: rgb(52, 66, 173) !important;
}


.selected_amount_box {
    margin-top: 0px;
    /* Updated margin */
    position: relative;
    /* Added for positioning the currency symbol */
}

.selected_amount_box .woocommerce-Price-currencySymbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #232a32;
    /* Currency symbol color */
}

.selected_amount {
    text-align: left !important;
    font-size: 36px !important;
    line-height: 1.428571428;
    height: 51.99999998px;
    padding-left: 30px !important;
    /* Adjusted padding for currency symbol */
    margin-bottom: 0px !important;
}

.selected_amount:focus {
    border-color: #3442ad !important;
    /* Change border color to blue when focused */
}

.selected_amount::placeholder {
    color: #ededed;
}

#custom_text:focus {
    border-color: #3442ad !important;
}

.custom-amount-box .currencies__dropdown {
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 9;
    width: 84px;
    height: 38px;
    border: none;
    padding: 1px 18px;
    border-radius: 99px;
    background-color: #f1f1f1;
    font-weight: 700;
    text-align: center;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}

.custom-amount-box {
    margin-top: 5px;
}

.amount {
    color: rgb(0, 0, 0);
    font-weight: 500;
}

.custom-options .custom-option-button.selected .amount {
    color: var(--wd-primary-color);
    /* Color when selected */
}

.custom-options-2 {
    display: flex;
    flex-direction: column;
}

.custom-options-2 .custom-option-button {
    display: block;
    text-align: left;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
    position: relative;
    color: var(--text-color, #212830);
    padding: 8px 10px 8px;
    user-select: none;
    text-transform: capitalize;
    font-weight: 400;
    font-size: 14px;
    z-index: 1;
    cursor: pointer;
    margin-bottom: 0px;
}

.layout_two .custom-options-2 .custom-option-button {
    width: 100%;
}

.custom-options-2 .custom-option-button.other-ammount-toggle {
    border-radius: 0 0 6px 6px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.layout1.layout_two .custom-options-2 .custom-option-button.other-ammount-toggle {
    border-radius: 0px;
    border-bottom: none;
}

.single-donation-box.layout_two.active-other-amount .custom-amount-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-options-2 .custom-option-button:before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    border: 2px solid var(--wd-primary-color);
    background-color: #ebecf7;
    border-radius: 6px;
    opacity: 0;
}

.custom-options-2 .custom-option-button:after {
    content: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-testid="check-icon" aria-hidden="true" class="amount-hint-check-icon"><path d="M13.9259 3.92578L5.77778 12.0739L2.07407 8.37023" stroke="%233442AD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
    color: var(--wd-primary-color);
    position: absolute;
    right: 6px;
    top: 6px;
    font-size: 16px;
    z-index: 2;
    opacity: 0;
}

.custom-options-2 .custom-option-button:first-child {
    border-radius: 6px 6px 0 0;
}

.layout_two .selected_amount {
    margin: 0;
    border-radius: 0 0 6px 6px !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
}

.layout_two .custom-amount-box {
    margin: 15px 0px 0px 0px;
}

.layout_two.layout1 .custom-amount-box {
    margin-top: 0px;
}

.custom-options-2 .custom-option-button>span {
    display: block;
    width: 100%;
}

.custom-options-2 .custom-option-button .price span {
    color: #212830;
}

.custom-options-2 .custom-option-button .price {
    font-size: 15px;
    font-weight: 400;
}

.custom-options-2 .custom-option-button .label {
    margin-top: 3px;
    margin-bottom: 3px;
}

.custom-options-2 .custom-option-button.selected {
    z-index: 2;
}

.custom-options-2 .custom-option-button.selected:before {
    opacity: 1;
}

.custom-options-2 .custom-option-button.selected:after {
    opacity: 1;
}

.custom-options-2 .custom-option-button:hover {
    background-color: #f2f2f2;
}

.product_list_widget>li .wd-entities-title {
    margin-bottom: 3px !important;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {

    .custom-options.one-button .custom-option-button,
    .custom-options.two-buttons .custom-option-button,
    .custom-options.three-buttons .custom-option-button {
        width: calc(100% / 3 - 10px) !important;
        /* 3 buttons per row on smaller screens */
    }

    .custom-options.one-button .custom-option-button {
        width: calc(100% - 10px) !important;
        /* Full width for single button */
    }

    .custom-options.two-buttons .custom-option-button {
        width: calc(50% - 10px) !important;
        /* 50% width for two buttons */
    }
}

@media screen and (max-width: 480px) {

    .custom-options.one-button .custom-option-button,
    .custom-options.two-buttons .custom-option-button,
    .custom-options.three-buttons .custom-option-button {
        width: calc(100% / 3 - 10px) !important;
        /* 3 buttons per row on smaller screens */
    }

    .custom-options.one-button .custom-option-button {
        width: calc(100% - 10px) !important;
        /* Full width for single button */
    }

    .custom-options.two-buttons .custom-option-button {
        width: calc(50% - 10px) !important;
        /* 50% width for two buttons */
    }
}

.currency-input {
    position: relative;
    display: inline-block;
    width: 100%;
}

.currency-input .after {
    content: "Custom Amount";
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 2;
    pointer-events: none;
}

.currency-input input:focus ~ .after {
    opacity: 0;
}

.currency-input .currency-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #3442ad;
}

.currency-input input {
    padding-left: 30px;
}

/* Hide the arrow buttons in WebKit browsers (e.g., Chrome, Safari) */
#custom_text,
.selected_amount {
    -webkit-appearance: none !important;
    /* WebKit/Chrome/Safari */
    -moz-appearance: textfield !important;
    /* Firefox */
    appearance: none !important;
    /* Non-prefixed support */
}

/* Hide the arrow buttons in WebKit browsers (e.g., Chrome, Safari) */
input#custom_text::-webkit-outer-spin-button,
input#custom_text::-webkit-inner-spin-button,
input.selected_amount::-webkit-outer-spin-button,
input.selected_amount::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

/* Hide the arrow buttons in Firefox */
input#custom_text,
input.selected_amount {
    -moz-appearance: textfield !important;
}

.woocommerce-product-gallery .wd-gallery-thumb img {
    max-width: 260px !important;
}