:root {
    --primary-color: #00C795;
    --secondary-color: #0A2540;
    --accent-color: #F2F7F5;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
}

.donation-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    color: #555;
}

.donation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.donation-amount {
    flex: 1;
    min-width: 80px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.donation-amount:hover {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
}

.donation-amount.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.custom-amount {
    width: 100%;
    margin-top: 15px;
}

.custom-amount input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.donor-details {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
.custom-amount input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 199, 149, 0.2);
}

.donate-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #00A67D;
}

.processing {
    opacity: 0.7;
    cursor: not-allowed;
}

.success-message, .error-message {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: none;
}

.success-message {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.error-message {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .donation-options {
        flex-direction: column;
    }
    
    .donation-amount {
        width: 100%;
    }
}