/* DONATION FORM FIELD */
/* ___________________ */

/* Общий контейнер */
.donation--wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}
.donation--wrapper * {
    box-sizing: border-box;
}

/* Плитки пресетов */
.donation--presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.donation--presets_item {
    height: 40px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    background-color: #F2F2F2;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-align: center;
    white-space: nowrap;
}
.donation--presets_item:hover {
    background-color: #E5E5E5;
}
.donation--presets_item.is_active {
    background-color: var(--c-surface-accent);
    color: #FFFFFF;
    border-color: var(--c-surface-accent);
}

/* Обертка поля суммы */
.donation--input_wrapper {
    position: relative;
    width: 100%;
}
.donation--input_wrapper:after {
    content: "₽";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666666;
    pointer-events: none;
}

/* Поле суммы */
.donation--input {
    width: 100%;
    height: 44px;
    padding: 10px 35px 10px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.donation--input:focus {
    border-color: var(--c-surface-accent);
    box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}
.donation--input::placeholder {
    color: #A9A9A9;
}
.donation--input::-webkit-outer-spin-button,
.donation--input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.donation--input[type=number] {
    -moz-appearance: textfield;
}
.donation--input.is_alert {
    border-color: #FF3333;
}

/* ___________________ */
/*/ DONATION FORM FIELD */