@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.rescue-donate-block {
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
    font-family: "Inter", sans-serif !important;
    width: 420px;
    margin: 0 auto;
    margin-top: 50px; /*remove*/
    box-shadow: inset 0px 0px 0px 1px rgba(223,223,223,1);
    padding: 40px 40px 70px 40px;
    border-radius: 5px;
    position: relative;
    box-sizing: border-box;
}


.rescue-donate-block input {
    font-family: 'Inter', sans-serif;
}

.rescue-donate-block button {
    font-family: 'Inter', sans-serif;
}

.donate-step {
    display: none;
    /*height: 0px;*/
    flex-direction: column;
    /* opacity: 0; */
    animation: 0.1s ease-in-out stepOpacity;
}

@keyframes stepOpacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.donate-step.active {
    /*height: auto;*/
    /*opacity: 1;*/
    display: flex;
}

.donate-step-crypto {
    display: none;
    flex-direction: column;
    gap: 40px;
}

.donate-payment-crypto-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 37px;
    position: relative;
} 

.crypto-select {
    background: #000000;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 5px;
    color: #fff;
    margin-top: 10px;
    height: 50px;
    overflow: hidden;
    transition: height 0.1s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
}

.crypto-select.opened {
    height: 210px;
    transition: height 0.1s ease-in-out;
}

.crypto-currency-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #DFDFDF;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.crypto-currency-item:hover {
    color: #FDC300;
}

.crypto-currency-item:last-child {
    padding: 0;
    border: none;
}

.crypto-current-currency {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    transition: border 0.5s ease-in-out;
}



.crypto-currency-arrow {
    filter: invert(1);
    transform: rotate(-90deg);
    transition: transform 0.3s ease-in-out;
}



.crypto-current-currency.opened {
    border-bottom: 1px solid #fff;
    transition: border 0.1s ease-in-out;
}

.crypto-current-currency.opened .crypto-currency-arrow {
    transform: rotate(-270deg);
}

.account-address-area {
    margin-top: 60px;
}

.crypto-adress {
    background: #000;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.crypto-adress span {
    font-size: 16px;
    width: 70%;
}

.crypto-copy-icon {
    cursor: pointer;
}

.crypto-copy-icon:hover {
    transform: scale(1.1);
}

.crypto-success-icon, .crypto-copy-icon.copied {
    display: none;
}

.crypto-success-icon.copied {
    display: block;
}


.donate-form-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.donate-form-title span {
    font-size: 22px;
    font-weight: 500;
}

.donate-navigation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.donate-navigation button {
    flex: 1;
    background: none;
    border: none;
    border-radius: 5px;
    padding: 16px 0;
    cursor: pointer;
}

.donate-type {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.donate-type button {
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
    color: #000;
}

#monthly {
    transition: all 0.3s ease-in-out;
}

#monthly.active {
  box-shadow: 0 0 2px #FDC300, 0 0 10px #FDC300, 0 0 14px #FDC300, 0 0 18px #FDC300;
  animation: glow .4s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 4px #FDC300, 0 0 8px #FDC300, 0 0 12px #FDC300, 0 0 16px #FDC300;
  }
  100% {
    box-shadow: 0 0 10px #FDC300, 0 0 14px #FDC300, 0 0 18px #FDC300, 0 0 22px #FDC300;
  }
}

#monthly.active img {
    animation: heartbeat .4s infinite alternate;
}

@keyframes heartbeat {
    to {
        transform: scale(1.2);
    }
}

.donate-price-btns {
    display: none;
    justify-content: space-between;
    gap: 16px;
}

.donate-price-btns.active {
    display: flex;
}

.donate-price-btns button {
    box-shadow: inset 0px 0px 0px 1px rgba(223,223,223,1);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    color: #000;
}

.donate-price-btns button:hover {
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
}

.donate-price-btns button.active, .donate-type button.active {
    background: #006ECD;
    color: #fff;
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
}

.donate-price-input {
    position: relative;
}

.donate-price-input:after {
    content: 'The minimum donation amount is 25₴';
    display: none;
    width: 150px;
    padding: 12px;
    box-shadow: inset 0px 0px 0px 1px rgba(223,223,223,1);
    border-radius: 5px;
    position: absolute;
    box-sizing: border-box;
    font-size: 12px;
    margin-left: 10px;
    background: #fff;
}

.donate-price-input.uah-active:focus-within:after {
    display: inline;
}


.donate-price-input input {
    width: 100%;
    font-size: 28px;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0px 0px 0px 1px rgba(223,223,223,1);
    transition: box-shadow 0.2s ease-in-out;
    box-sizing: border-box;
}

.donate-price-input input:focus {
    outline: none;
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
}

.donate-price-input input::placeholder {
    color: #DFDFDF;
    font-weight: 500;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.donate-currency-select {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    top: 25px;
    right: 16px;
}

.donate-currency-active {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.donate-currency-active img {
    padding-top: 2px;
}


.donate-currency-options {
    margin-top: 16px;
    display: none;
    flex-direction: column;
    width: 51px;
    box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.15);
    border-radius: 5px;
    font-size: 14px;
    padding: 7px;
    box-sizing: border-box;
    background: #fff;
    font-weight: 500;
}

.donate-currency-options.active {
    display: block;
}

.donate-currency-options {
    color: #0000009c;
    z-index: 99999;
}

.donate-currency-options span {
    cursor: pointer;
    padding: 1px 3px;
    border-radius: 2px;
}

.donate-currency-options span:hover {
    color: #000 !important;
    background: #F2F2F2;
}

.donate-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.subscription-checkbox {
    margin-bottom: 0;
    display: none;
}

.subscription-checkbox-2 {
    margin-bottom: 0;
    display: none;
}

.subscription-checkbox.active, .subscription-checkbox-2.active {
    display: flex;
}

.donate-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.donate-checkbox label {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    box-shadow: inset 0px 0px 0px 1px rgba(0,110,205,1);
    cursor: pointer;
}

.donate-checkbox label:after {
    content: '';
    position: absolute;
    top: 63%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: url('../donate/images/donate-checked-blue.svg');
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.donate-checkbox input:checked + label:after {
    opacity: 1;
}

.donate-checkbox span {
    font-size: 16px;
    line-height: 1.1;
}

.donate-comission .donate-checkbox {
    color: #000;
    margin-top: 24px;
}

.donate-comission .donate-checkbox label {
    box-shadow: 0px 0px 0px 1px rgba(0,0,0,1);
}

.donate-comission .donate-checkbox label:after {
    content: '';
    position: absolute;
    top: 63%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: url('../donate/images/donate-checked-blue.svg');
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.donate-comission .donate-checkbox span {
    display: flex;
    align-items: center;
    gap: 10px;
}



.donate-step-submit {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

@media (max-width: 767px) {
    .donate-step-submit {
        margin-top: 35px;
    }
}

.donate-step-submit button, .cool-btn-crypto {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FDC300;
    border: none;
    cursor: pointer;
    padding: 20.5px 30px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.cool-btn-crypto {
    margin-top: 24px;
    gap: 16px;
    width: auto;
    text-transform: uppercase;
    display: none;
}

.cool-btn-crypto.active {
    display: flex;
}




#paypal-button-container {
    margin-top: 40px;   
}

button.stripe, button.paypal {
    display: none;
}

button.stripe.active, button.paypal.active {
    display: flex;
}


.donate-step-submit button span {
    text-align: left;
}
.continue-monthly-yellow, .continue-monthly-yellow-paypal {
    background: #FDC300;
    color: #000;
}

.continue-monthly-blue, .continue-blue-paypal, .continue-monthly-blue-paypal {
    background: #006ECD !important;
    color: #fff !important;
}

.continue-black-crypto {
    background: #000 !important;
    color: #fff !important;
}

.continue-one-time-outlined, .continue-one-time-outlined-paypal {
    background: none !important;
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
}

.donate-step-submit button:hover  img {
    animation: move-left-right 1s infinite;
}

.donate-warning {
    color: #D60000;
    font-size: 14px;
    text-align: center;
    display: none;
    position: absolute;
    top: 240px;
}

.donate-warning-subscription {
    color: #D60000;
    font-size: 14px;
    text-align: center;
    display: none;
    margin-top: 20px;
}


@keyframes move-left-right {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}


/* Step */

.donate-step-breadcrumb {
    padding-bottom: 40px;
    cursor: pointer;
}

.donate-step-breadcrumb:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #DFDFDF;
    position: absolute;
    left: 0;
    top: 96px;
}

.donate-step-breadcrumb span {
    font-size: 16px;
    font-weight: 400;
}

.donate-step-breadcrumb img {
    cursor: pointer;
}

.donate-back {
    transition: transform 0.3s ease;
}

.donate-step-breadcrumb:hover .donate-back {
    transform: translateX(3px);
}


/* Become a Regular Donor */

.donate-become-regular {
    padding-top: 32px;
}


/* Payment options */

.donate-payment-options {
    padding-top: 32px;
}

.donate-payment-options strong {
    font-size: 36px;
    font-weight: 500;
}

.donate-payment-options strong:nth-child(2) {
    margin-right: 10px;
}

.donate-payment-options span {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.donate-bill {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donate-transations-costs, .donate-total, .donate-convertation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donate-convertation {
    color: #006ecd;
    font-weight: 500;
}

.donate-pay-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.pay-btn {
    height: 50px;
    border-radius: 30px;
    box-shadow: inset 0px 0px 0px 2px rgba(0,110,205,1);
    width: calc(100%/2 - 8px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.pay-btn:hover {
    box-shadow: inset 0px 0px 0px 2px rgba(253,195,0,1);
}

#payment-form {
    margin: 40px 0 0 0;
}

#payment-form #submit {
    margin-top: 40px;
    background: #FDC300;
    border: none;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    padding: 20px 40px;
    cursor: pointer;
    color: #000;
}

.email-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 6px;
}

.email-field span {
    font-size: 0.93rem;
    color: #30313d;
}

.email-field input {
    padding: 12px;
    background-color: var(--colorBackground);
    border-radius: 5px;
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    border: 1px solid #e6e6e6;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
    font-size: 16px;
}

.email-field input:focus {
    outline: 0px;
    border-color: #0570de;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px hsla(210, 96%, 45%, 25%), 0 1px 1px 0 rgba(0, 0, 0, 0.08);
}


@media (max-width: 767px) {
    .rescue-donate-block {
        width: 95%;
        padding: 40px 20px 75px 20px;
    }
}



/*PAYMENT INTENT*/

#error-message {
    margin-top: 20px;
    color: #df1b41;
}


.email-warning {
    margin-top: 5px;
    color: #df1b41 !important;
    display: none;
}

.email-warning.active {
    display: block;
}
