/* Donate Page Styles */
.donate-section {
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    padding: 2rem;
    background: #fff7ef;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.donate-section h1 {
    font-family: 'Playfair Display', serif;
    color: #B22222;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.donate-table-container {
    overflow-x: auto;
}
.donate-table {
    width: 100%;
    border-collapse: collapse;
}
.donate-table th {
    padding: 0.8rem;
    border: 1px solid #B22222;
    background: #B22222;
    color: #FFD700;
}
.donate-table td {
    padding: 0.7rem;
    border: 1px solid #B22222;
}
.donate-table .donation-amount-col {
    width: 150px;
    min-width: 90px;
    max-width: 150px;
    text-align: center;
}

.donate-table .date-col {
    width: 150px;
    min-width: 90px;
    max-width: 150px;
    text-align: center;
}

.donate-table .sl-no-col {
    width: 70px;
    min-width: 60px;
    max-width: 150px;
    text-align: center;
}

.donate-table .donate-col {
    width: 150px;
    min-width: 100px;
    max-width: 150px;
    text-align: center;
    padding: 0.5rem;
}

.donate-table .donate-col .razorpay-embed-btn {
    display: inline-block;
    margin: 0 auto;
}

.donate-custom-text {
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #B22222;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
}

/* Donation Image Section */
.donation-image-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.donation-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(178, 34, 34, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(178, 34, 34, 0.25);
}

@media (max-width: 900px) {
    .donate-form-qr-row {
        flex-direction: column-reverse;
        gap: 2rem;
        align-items: stretch;
    }
    .donate-qr-placeholder, .donate-form-iframe {
        min-width: 0;
        width: 100%;
        align-items: center;
    }
    .donate-qr-placeholder img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .donate-section {
        margin: 2rem auto 1rem auto;
        padding: 1.5rem;
    }

    .donate-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .donate-table {
        font-size: 0.8rem;
    }

    .donate-table th,
    .donate-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.8rem;
    }

    .donate-table .donate-col {
        min-width: 80px;
        max-width: 80px;
        padding: 0.3rem;
    }

    .donate-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .donate-custom-text {
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .donation-image-section {
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }

    .donation-image {
        max-width: 100%;
        border-radius: 8px;
    }

    .donate-qr-placeholder img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .donate-section {
        margin: 1rem auto;
        padding: 1rem;
    }

    .donate-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .donate-table {
        font-size: 0.7rem;
    }

    .donate-table th,
    .donate-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }

    .donate-table .donation-amount-col,
    .donate-table .date-col {
        min-width: 60px;
        max-width: 60px;
    }

    .donate-table .sl-no-col {
        min-width: 35px;
        max-width: 35px;
    }

    .donate-table .donate-col {
        min-width: 60px;
        max-width: 60px;
        padding: 0.2rem;
    }

    .donate-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 20px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .donate-custom-text {
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .donation-image-section {
        margin: 1rem auto;
        padding: 0 0.25rem;
    }

    .donation-image {
        max-width: 100%;
        border-radius: 6px;
    }

    .donate-qr-placeholder img {
        width: 150px;
        height: 150px;
    }

    .donate-form-iframe iframe {
        min-height: 400px;
    }
}

.donate-btn {
    display: inline-block;
    background-color: #B22222;
    color: #FFD700;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #B22222;
}

.donate-btn:hover {
    background-color: #FFD700;
    color: #B22222;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.donate-btn:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
    background-color: #FFD700;
    color: #B22222;
}

.donate-btn:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}
