/* Donation box ([donation_box]) — two-step "Дарете сега" widget. */

.donation-box {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 32px;
}

.donation-box__title {
    margin: 0 0 12px;
    font-family: "Cabin", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #111;
}

.donation-box__desc {
    margin: 0 0 20px;
    font-family: "Noto Sans", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
}

.donation-box__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 39px;
    padding: 12px 49px !important;
    border: 0;
    border-radius: 5px;
    background: #b71f39;
    color: #fff;
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.donation-box__btn:hover,
.donation-box__btn:focus-visible {
    background: #6e1414;
}

.donation-box__reveal {
    width: 241px;
    max-width: 100%;
}

/* State 2 — amount picker */
.donation-box__amounts {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.donation-box__presets {
    display: flex;
    gap: 16px;
}

.donation-box__presets .donation-box__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
}

.donation-box__custom {
    display: flex;
}

.donation-box__input {
    flex: 1 1 0;
    min-width: 0;
    height: 47px;
    padding: 0 16px !important;
    border: 1px solid rgba(158, 22, 27, 0.3) !important;
    border-right: 0;
    border-radius: 5px 0 0 5px !important;
    background: #fff;
    font-family: "Noto Sans", sans-serif;
    font-size: 18px;
    color: #000;
}

.donation-box__input::placeholder {
    color: rgba(0, 0, 0, 0.54);
}

.donation-box__submit {
display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 51px;
    width: 51px;
    height: 47px;
    border: 0;
    border-radius: 0 5px 5px 0 !important;
    background: #b71f39;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease !important;
}

.donation-box__submit:hover,
.donation-box__submit:focus-visible {
    background: #6e1414;
}

.donation-box__submit svg {
    width: 16px;
    height: 16px;
}

/* Toggle visibility for the two-step reveal (cta <-> amounts). */
.donation-box [hidden] {
    display: none !important;
}
