.fds,
.fds * {
    box-sizing: border-box;
}

.fds {
    --fds-accent: #fba919;
    --fds-red: #ff1717;
    --fds-text: #282525;
    --fds-border: #d8d5d2;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
    color: var(--fds-text);
    background: transparent;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

.fds button,
.fds input {
    font: inherit;
}

.fds__intro h2 {
    margin: 0 0 14px;
    padding: 0;
    color: var(--fds-accent);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.fds__intro p {
    margin: 0 0 26px;
    color: inherit;
    font-size: 18px;
    line-height: 1.5;
}

.fds__modes,
.fds__amounts {
    display: grid;
    gap: 16px;
}

.fds__modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.fds__mode,
.fds__amount {
    min-height: 56px;
    border: 2px solid var(--fds-accent);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    color: var(--fds-text);
    cursor: pointer;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.fds__mode {
    color: #b97700;
    font-size: 18px;
}

.fds__mode span {
    margin-right: 7px;
    font-size: 23px;
    line-height: 0;
}

.fds__mode:hover,
.fds__amount:hover {
    transform: translateY(-1px);
}

.fds__mode.is-active,
.fds__amount.is-active {
    border-color: var(--fds-accent);
    background: var(--fds-accent);
    color: #fff;
}

.fds__amount-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fds__amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fds__amount {
    border-color: var(--fds-border);
    font-size: 20px;
}

.fds__custom {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    margin-top: 16px;
    border: 2px solid var(--fds-border);
    background: rgba(255, 255, 255, 0.96);
}

.fds__custom:focus-within {
    border-color: var(--fds-accent);
}

.fds__custom input {
    flex: 1;
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 18px;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    color: var(--fds-text);
    font-size: 18px;
    box-shadow: none !important;
}

.fds__custom span:last-child {
    padding: 0 18px;
    color: var(--fds-text);
    font-weight: 700;
}

.fds__error {
    min-height: 22px;
    margin: 5px 0 0;
    color: #b00020;
    font-size: 14px;
}

.fds__submit {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 12px 24px;
    border: 0;
    border-radius: 0;
    background: var(--fds-red);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    transition: background-color .18s ease, transform .18s ease;
}

.fds__submit:hover,
.fds__submit:focus-visible {
    background: #dc0000;
    transform: translateY(-1px);
}

.fds__payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 22px;
    margin-top: 24px;
    font-weight: 800;
}

.fds__payments span:nth-child(1) {
    color: #72ad1d;
}

.fds__payments span:nth-child(2) {
    padding: 1px 5px;
    background: #222;
    color: #fff;
    font-size: 14px;
}

.fds__payments span:nth-child(3) {
    color: #1a2e6d;
    font-style: italic;
}

.fds__payments span:nth-child(4) {
    color: #d64a25;
}

.fds__club-form {
    display: none !important;
}

.fds__step-one[hidden],
.fds__intro [hidden],
.fds__one-time-form[hidden] {
    display: none !important;
}

.fds__one-time-form {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.fds__one-time-form .donationForm-dna #Step1,
.fds__one-time-form .donationForm-dna .wstecz {
    display: none !important;
}

.fds__one-time-form .donationForm-dna #Step2 {
    margin-top: 0;
}

.fds__one-time-form .donationForm-dna {
    color: var(--fds-text);
}

.fds__one-time-form .donationForm-dna .formText-dna {
    margin: 0 0 18px;
    color: var(--fds-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.fds__one-time-form .donationForm-dna label,
.fds__one-time-form .donationForm-dna p,
.fds__one-time-form .donationForm-dna span,
.fds__one-time-form .donationForm-dna small,
.fds__one-time-form .donationForm-dna .required-info,
.fds__one-time-form .donationForm-dna .rodo-info,
.fds__one-time-form .donationForm-dna .admin-danych,
.fds__one-time-form .donationForm-dna .checkbox-label,
.fds__one-time-form .donationForm-dna .formFooter-dna,
.fds__one-time-form .donationForm-dna .formFooter-dna * {
    color: var(--fds-text);
}

.fds__one-time-form .donationForm-dna #stepfirst {
    width: 100%;
    min-height: 56px;
    margin: 10px 0 0;
    padding: 12px 24px !important;
    border: 0;
    border-radius: 0 !important;
    background: var(--fds-red);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 800;
    line-height: normal !important;
    letter-spacing: .01em;
    text-transform: uppercase;
    transition: background-color .18s ease, transform .18s ease;
}

.fds__one-time-form .donationForm-dna #stepfirst:hover,
.fds__one-time-form .donationForm-dna #stepfirst:focus-visible {
    margin-top: 10px;
    padding: 12px 24px !important;
    background: #dc0000;
    font-size: 20px;
    line-height: normal !important;
    transform: translateY(-1px);
}

.fds__admin-warning {
    padding: 12px;
    border: 1px solid #b00020;
    background: #fff;
    color: #b00020;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 640px) {
    .fds__intro h2 {
        font-size: 34px;
    }

    .fds__intro p {
        font-size: 16px;
    }

    .fds__modes {
        gap: 10px;
    }

    .fds__mode {
        min-height: 52px;
        padding: 8px;
        font-size: 15px;
    }

    .fds__amounts {
        gap: 10px;
    }

    .fds__amount {
        min-height: 52px;
        padding: 8px 4px;
        font-size: 17px;
    }
}
