@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.donation-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    border-top: 5px solid #ff4d4d;
    font-family: 'Inter', sans-serif;
    margin: 20px auto;
}

.donation-container h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.donation-container p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fixed-amounts, .custom-amount {
    text-align: left;
}

.amount-buttons {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.amount-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background-color: #e5e5e5;
    border-color: #ccc;
}

.amount-btn.active {
    background-color: #ff4d4d;
    color: #fff;
    border-color: #ff4d4d;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
    transform: translateY(-2px);
}

.or-divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e0e0e0;
}

.or-text {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #888;
    font-size: 14px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
}

.input-group {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.currency-symbol {
    padding: 12px 15px;
    background: #f0f0f0;
    color: #555;
    font-size: 18px;
    font-weight: bold;
}

.donation-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    color: #333;
    outline: none;
    background: transparent;
}

.donation-input:focus {
    background: #fff;
}

.donate-btn, .payment-btn, .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: #ff4d4d;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.donate-btn:hover, .payment-btn:hover, .submit-btn:hover {
    background-color: #e60000;
}

.donate-btn:disabled {
    background-color: #ff8c8c;
    cursor: not-allowed;
    opacity: 0.7;
}

.payment-btn {
    background-color: #3a8a86;
}

.payment-btn:hover {
    background-color: #2c6a67;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #666;
}

.modal-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.payment-options button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f0f0f0;
    color: #333;
    font-weight: 600;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

.payment-options button:hover {
    background: #e9e9e9;
}

.payment-details {
    display: none;
    text-align: left;
}

.payment-details p {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.payment-details label {
    font-size: 14px;
    color: #777;
}

.payment-details .input-group input {
    background: #fff;
}

.payment-details .input-group {
    margin-bottom: 15px;
}

.payment-details .account-info {
    background-color: #f7f7f7;
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}
