/* M-Pesa Donation Form Styles */
.donation-form {
    width: 100%;
    max-width: 440px;
    margin: 32px auto 0 auto;
    padding: 32px 28px 24px 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 32px 0 rgba(0,40,85,0.10);
    border: 1px solid #e3e8f0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
.donation-form-blur {
    filter: blur(2.5px) grayscale(0.2) brightness(0.97);
    pointer-events: none;
    user-select: none;
}
.mpesa-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 18px;
    transition: background 0.2s;
}
.mpesa-loader {
    border: 4px solid #e3e8f0;
    border-top: 4px solid #002855;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: mpesa-spin 1s linear infinite;
    margin-bottom: 24px;
}
@keyframes mpesa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.mpesa-overlay-message {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,40,85,0.1);
    border: 1.5px solid #b7ebc6;
    padding: 28px 32px 20px 32px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.mpesa-overlay-message.mpesa-error {
    border-color: #f5c6cb;
    background: #fff3f3;
}
.mpesa-overlay-message .mpesa-overlay-icon {
    margin-bottom: 8px;
}
.mpesa-overlay-message .mpesa-overlay-headline {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #002855;
}
.mpesa-overlay-message .mpesa-overlay-body {
    font-size: 1.08rem;
    color: #4a5568;
    text-align: center;
}
.mpesa-overlay-message .mpesa-overlay-subtext {
    font-size: 0.98em;
    color: #3c763d;
    opacity: 0.85;
    margin-top: 4px;
}
.mpesa-overlay-continue {
    margin-top: 18px;
    padding: 10px 32px;
    background: #002855;
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.mpesa-overlay-continue:hover {
    background: #0056b3;
}
.donation-form h2 {
    margin-bottom: 8px;
    text-align: center;
    color: #002855;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.donation-message {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.08rem;
    color: #4a5568;
    opacity: 0.92;
}
.donation-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #002855;
    font-size: 1rem;
}
.donation-form .input-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    border: 1.5px solid #b6c3d1;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fafc;
    transition: border 0.2s;
}
.donation-form .input-group:focus-within {
    border-color: #002855;
    box-shadow: 0 0 0 2px rgba(0, 40, 85, 0.2);
}
.donation-form .input-group .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 14px;
    background-color: #002855;
    color: #fff;
    border: none;
    height: 100%;
    font-size: 1.1rem;
}
.donation-form .input-group input.form-control {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.08rem;
    color: #002855;
}
.donation-form .predefined-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    justify-content: center;
}
.donation-form .predefined-amounts .amount-button {
    flex: 1 0 30%;
    min-width: 110px;
    padding: 10px 0;
    background: #f1f5fa;
    color: #002855;
    border: 1.5px solid #b6c3d1;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.donation-form .predefined-amounts .amount-button:hover,
.donation-form .predefined-amounts .amount-button.selected {
    background: #002855;
    color: #fff;
    border-color: #002855;
}
.donation-form .btn.btn-primary.my-4 {
    width: 100%;
    padding: 15px 0;
    background: linear-gradient(90deg, #002855 0%, #0056b3 100%);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.18rem;
    font-weight: 700;
    box-shadow: 0 4px 14px 0 rgba(0,40,85,0.13);
    letter-spacing: 1px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.donation-form .btn.btn-primary.my-4:hover {
    background: linear-gradient(90deg, #0056b3 0%, #002855 100%);
    box-shadow: 0 6px 20px 0 rgba(0,40,85,0.18);
    transform: translateY(-2px) scale(1.03);
    color: #fff !important;
}
@media (max-width: 600px) {
    .donation-form {
        padding: 24px 6vw;
        max-width: 98vw;
    }
    .donation-form h2 {
        font-size: 1.5rem;
    }
} 