/* Donation Page Styles */
body {
    font-family: 'Droid Serif',  sans-serif;
    /* line-height: 1.6;
    color: #333; */
}
.donation-page {
    background-color: #f5f7fa;
    padding: 0;
}

.donation-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Hero Section */
.donation-hero {
    background:linear-gradient(
170deg, #00BC7D, #009689);
    color: white;
    padding: 21px 40px;
    text-align: center;
}

.donation-hero h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 15px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.hero-description {
    font-size: 14px;
    opacity: 0.9;
}

/* Form Sections */
.donation-form {
    padding: 0;
}

.form-section {
    padding: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1f2937;
}

/* Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.amount-option {
    position: relative;
    cursor: pointer;
}

.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.amount-option label {
    display: block;
    padding: 20px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.amount-option label:hover {
    border-color: #10b981;
}

.amount-option.selected label,
.amount-option input[type="radio"]:checked + label {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.amount-option.selected label::after,
.amount-option input[type="radio"]:checked + label::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    background-color: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.amount-value {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.amount-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Custom Amount */
.custom-amount input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: #10b981;
}

.custom-amount input::placeholder {
    color: #9ca3af;
}

/* Frequency Options */
.frequency-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.frequency-option {
    position: relative;
}

.frequency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.frequency-option label {
    display: block;
    padding: 18px 12px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.frequency-option label:hover {
    border-color: #10b981;
}

.frequency-option.selected label,
.frequency-option input[type="radio"]:checked + label {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.frequency-option.selected label::after,
.frequency-option input[type="radio"]:checked + label::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background-color: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.frequency-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
}

.frequency-desc {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.3;
    display: block;
}

.frequency-note {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    margin-top: 8px;
}

/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Payment Info */
.payment-info {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    /* display: flex; */
    gap: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.info-content p {
    font-size: 13px;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.5;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.payment-note {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin: 16px 0;
    font-style: italic;
}

/* Donation Summary */
.donation-summary {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.donation-summary h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-row span:first-child {
    color: #6b7280;
    font-size: 14px;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

/* Donate Button */
.btn-donate {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-donate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

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

.terms-text {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 40px;
    /* background-color: #f9fafb; */
    /* border-top: 1px solid #e5e7eb; */
}

.badge-item {
    text-align: center;
}

.badge-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.badge-content strong {
    display: block;
    font-size: 13px;
    color: #1f2937;
    margin-bottom: 2px;
}

.badge-content span {
    display: block;
    font-size: 11px;
    color: #6b7280;
}

/* Clear Form */
.clear-form {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.clear-form a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.clear-form a:hover {
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-container {
        margin: 20px;
        border-radius: 8px;
    }

    .donation-hero {
        padding: 30px 24px;
    }

    .donation-hero h1 {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .form-section {
        padding: 24px;
    }

    .amount-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .frequency-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .frequency-option label {
        min-height: auto;
        padding: 14px 12px;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .donation-container {
        margin: 10px;
    }

    .donation-hero h1 {
        font-size: 20px;
    }

    .form-section {
        padding: 20px;
    }

    .form-section h2 {
        font-size: 16px;
    }

    .amount-value {
        font-size: 16px;
    }

    .frequency-label {
        font-size: 14px;
    }

    .trust-badges {
        padding: 20px;
    }
}
