.rfc-donation-widget {
    color: #fff;
}

.rfc-donation-heading,
.rfc-gift-aid-title,
.rfc-checkout-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rfc-secure-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: .78rem;
    font-weight: 700;
}

.rfc-stripe-label,
.rfc-security-note {
    color: rgba(255,255,255,.72);
    font-size: .78rem;
}

.rfc-donation-eyebrow {
    margin: 30px 0 5px;
    color: #e8d2a8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rfc-donation-widget h2 {
    margin: 0 0 24px;
    color: #fff;
}

.rfc-donation-form fieldset {
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.rfc-donation-form legend,
.rfc-donor-fields label > span,
.rfc-gift-aid-details label > span,
.rfc-custom-amount > span:first-child {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.86);
    font-size: .86rem;
    font-weight: 700;
}

.rfc-frequency,
.rfc-amounts {
    display: grid;
    gap: 8px;
}

.rfc-frequency {
    grid-template-columns: repeat(2, 1fr);
}

.rfc-amounts {
    grid-template-columns: repeat(4, 1fr);
}

.rfc-frequency label,
.rfc-amounts label {
    position: relative;
}

.rfc-frequency input,
.rfc-amounts input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rfc-frequency span,
.rfc-amounts span {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.rfc-frequency input:checked + span,
.rfc-amounts input:checked + span {
    border-color: #df7038;
    background: #df7038;
}

.rfc-custom-amount {
    display: block;
    margin-top: 12px;
}

.rfc-money-input {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    background: #fff;
}

.rfc-money-input b {
    padding-left: 14px;
    color: #071a2e;
}

.rfc-donation-form input[type="text"],
.rfc-donation-form input[type="email"],
.rfc-donation-form input[type="number"],
.rfc-donation-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    background: #fff;
    color: #152338;
}

.rfc-money-input input[type="number"] {
    border: 0;
}

.rfc-donor-fields,
.rfc-gift-aid-details {
    display: grid;
    gap: 13px;
}

.rfc-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    color: rgba(255,255,255,.9);
    font-size: .88rem;
}

.rfc-check-row input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.rfc-check-row small {
    display: block;
    color: rgba(255,255,255,.66);
}

.rfc-gift-aid {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid rgba(232,210,168,.5);
    border-radius: 14px;
    background: rgba(232,210,168,.1);
}

.rfc-gift-aid-title strong {
    color: #fff8eb;
}

.rfc-gift-aid-example {
    flex: 0 0 auto;
    color: #e8d2a8;
    font-weight: 800;
}

.rfc-gift-aid p {
    color: rgba(255,255,255,.8);
    font-size: .84rem;
}

.rfc-gift-aid-details[hidden] {
    display: none !important;
}

.rfc-name-grid {
    display: grid;
    grid-template-columns: .55fr 1fr 1fr;
    gap: 10px;
}

.rfc-address-grid {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 10px;
}

.rfc-declaration {
    margin-bottom: 0;
    padding-top: 4px;
    font-size: .76rem !important;
}

.rfc-marketing {
    margin-top: 16px;
}

.rfc-checkout-button {
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    border: 0;
    border-radius: 10px;
    background: #df7038;
    color: #fff;
    font-weight: 800;
}

.rfc-checkout-button:hover,
.rfc-checkout-button:focus-visible {
    background: #b94f22;
}

.rfc-checkout-button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.rfc-checkout-button.is-loading {
    cursor: wait;
}

.rfc-total-label {
    color: #fff;
    font-size: .9rem;
}

.rfc-security-note {
    margin: 12px 0 0;
    text-align: center;
}

.rfc-form-error,
.rfc-admin-notice {
    margin: 0 0 16px;
    padding: 11px 13px;
    border-radius: 9px;
    background: #fff0ec;
    color: #8a2d13;
    font-size: .86rem;
}

.rfc-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
}

.rfc-thank-you {
    max-width: 760px;
    margin: 80px auto;
    padding: 56px;
    border: 1px solid #ddd3c3;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.rfc-thank-you-mark {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: #071a2e;
    color: #fff;
    font-size: 1.8rem;
}

@media (max-width: 720px) {
    .rfc-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    .rfc-name-grid,
    .rfc-address-grid {
        grid-template-columns: 1fr;
    }
    .rfc-thank-you {
        margin: 32px 16px;
        padding: 32px 20px;
    }
}

