/*
 * MHC Stripe Donations - Styles
 * Matches the existing contribute page design
 */

.mhc-donation-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.mhc-donation-amounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.mhc-donate-btn {
    min-width: 120px;
    min-height: 70px;
    padding: 16px 24px;
    background: #c7b49a;
    color: #111;
    border-radius: 26px;
    border: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.mhc-donate-btn:hover,
.mhc-donate-btn:focus {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.mhc-donate-btn:active {
    transform: translateY(0);
}

.mhc-donate-other-btn {
    text-transform: uppercase;
}

.mhc-donation-custom {
    margin-top: 24px;
    padding: 24px;
    background: rgba(199, 180, 154, 0.2);
    border-radius: 16px;
}

.mhc-custom-input-wrap {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid #c7b49a;
    border-radius: 12px;
    padding: 8px 16px;
    margin-bottom: 16px;
}

.mhc-currency {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}

#mhc-custom-amount {
    border: none;
    outline: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    width: 120px;
    padding: 4px;
}

#mhc-custom-amount::placeholder {
    color: #999;
    font-size: 0.9rem;
}

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

#mhc-custom-amount[type="number"] {
    -moz-appearance: textfield;
}

.mhc-donate-custom-submit {
    display: block;
    margin: 0 auto;
    min-width: 160px;
}

.mhc-donation-loading {
    padding: 40px;
}

.mhc-donation-loading p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.mhc-donation-error {
    margin-top: 16px;
    padding: 12px 20px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #b91c1c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9rem;
}

.mhc-thank-you {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.mhc-thank-you h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.mhc-thank-you p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.mhc-thank-you-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mhc-btn {
    display: inline-block;
    min-width: 200px;
    padding: 14px 32px;
    border-radius: 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mhc-btn-primary {
    background: #3a2f2a;
    color: #fff;
    border: 2px solid #3a2f2a;
}

.mhc-btn-primary:hover {
    background: #524d4b;
    border-color: #524d4b;
    color: #fff;
}

.mhc-btn-secondary {
    background: transparent;
    color: #3a2f2a;
    border: 2px solid #3a2f2a;
}

.mhc-btn-secondary:hover {
    background: #3a2f2a;
    color: #fff;
}

@media (max-width: 600px) {
    .mhc-donation-amounts {
        gap: 12px;
    }

    .mhc-donate-btn {
        min-width: 100px;
        min-height: 60px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}
