/* -- Wrapper ------------------------------------------------------------- */
#contributions-wrapper {
    max-width: 520px;
    margin: 2rem 0;
    font-family: inherit;
}

/* -- Preset amount buttons ----------------------------------------------- */
#contributions-presets {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.contributions-preset {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: transparent;
    color: #2a2a28;
    border: 1.5px solid #8a8680;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.contributions-preset:hover,
.contributions-preset.selected {
    background-color: #d4820a;
    color: #f0ede6;
    border-color: #d4820a;
}

/* -- Amount step layout -------------------------------------------------- */
#contributions-amount-step {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* -- Custom amount input ------------------------------------------------- */
#contributions-custom {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #2a2a28;
    background-color: transparent;
    border: 1.5px solid #8a8680;
    border-radius: 4px;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

#contributions-custom::-webkit-outer-spin-button,
#contributions-custom::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#contributions-custom::placeholder {
    color: #8a8680;
}

#contributions-custom:focus {
    outline: none;
    border-color: #d4820a;
}

/* -- Continue to payment button ------------------------------------------ */
#contributions-submit {
    align-self: flex-start;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #d4820a;
    color: #f0ede6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background-color 0.2s;
}

#contributions-submit:hover {
    background-color: #b86e08;
}

/* -- Error message ------------------------------------------------------- */
#contributions-error {
    font-size: 0.9rem;
    color: #b55a2a;
    margin-top: 0.25rem;
}

/* -- Amount confirmation line -------------------------------------------- */
#contributions-amount-display {
    font-size: 1rem;
    color: #8a8680;
    margin-bottom: 0.75rem;
}

/* -- Stripe form container ----------------------------------------------- */
#contributions-form-container {
    margin-top: 0.5rem;
}