/* Styles used by the donate page only. Kept separate from style.css so that
   changes are picked up without being masked by browser cache of style.css. */

.value-card {
    border-left: 4px solid #0d6efd;
    background: #f8f9fa;
}

.napkin-math {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    border-radius: 0 0.375rem 0.375rem 0;
}

.napkin-math table td:first-child {
    white-space: nowrap;
    padding-right: 1.5rem;
    color: #6c757d;
}

.napkin-math table td:last-child {
    font-weight: 500;
}

.donation-tier {
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.donation-tier:hover {
    border-color: #0d6efd;
}

.donation-tier .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
}

.donation-tier .label {
    font-size: 0.9rem;
    color: #6c757d;
}

.donate-box {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.donate-box h5 {
    color: #654982;
    margin-bottom: 1rem;
}

.donate-amounts {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.donate-amounts .amount-btn {
    flex: 1;
}

.amount-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.6rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.amount-btn:hover {
    border-color: #0d6efd;
}

.amount-btn.active {
    border-color: #0d6efd;
    background: #e7f1ff;
    color: #0d6efd;
}

.amount-btn .interval {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: 0.25rem;
}

.amount-btn.active .interval {
    color: #0d6efd;
}

.donate-submit-btn {
    margin-top: 0.5rem;
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.donate-submit-btn:hover,
.donate-submit-btn:focus {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}

.donate-processed-by {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.donate-payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
}

.payment-icon {
    width: 16px;
    height: 12px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.15rem;
    flex-shrink: 0;
}

.donate-small {
    font-size : 8pt;
    font-style: italic;
}