﻿.donation-box-wrapper .error-message {
    transform: translateY(-20px);
    height: 0px;
}

.donation-box-wrapper .customprice input {
    width: 100%;
    height: 35px;
    padding: 5px 10px;
    color: black;
    border: 0 !important;
}

.donation-box-wrapper .currency {
    width: 10%;
    min-width: 50px;
    float: left;
    align-self: center;
}

.donation-box-wrapper .customprice {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}


.donation-box-wrapper {
    display: flex;
    background-color: var(--thm-background);
    flex-direction: column;
    padding: 40px;
    gap: 16px;
}

.donation-box-wrapper h2 {
    font-size: 20px;
}

.amounts {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: 5px;
}

.amount {
    background-color: #fff;
    margin-top: 4px;
    display: flex;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: 500;
}

.amount:last-of-type span {
    padding-left: 8px;
    padding-right: 8px;
}

.amount span {
    width: 100%;
    text-align: center;
    color: var(--thm-black);
    user-select: none;
    font-size: 1rem;
}

.amount span:hover {
    background: var(--thm-primary);
    transition: 200ms;
}

.amount span:active, .donation-box-wrapper .continue:active {
    transform: scale(0.97);
}

.donation-box-wrapper .continue {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.amount[data-active] {
    color: #fff;
    background-color: var(--thm-primary);
}


.custom-donation input:focus {
    outline: none;
}

.custom-donation input::-webkit-outer-spin-button,
.custom-donation input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.custom-donation input[type=number] {
    -moz-appearance: none;
}