/* Donation Form Styles - Based on provided design */

.donation-form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.donation-form-wrapper {
    background: linear-gradient(135deg, #E8B563 0%, #D9A858 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.donation-form-title {
    text-align: center;
    color: #2C1810;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.donation-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: end;
    margin-bottom: 15px;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2C1810;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.required {
    color: #D32F2F;
    margin-left: 2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2C5530;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.donation-submit-btn {
    padding: 14px 48px;
    background: linear-gradient(135deg, #2C5530 0%, #1E3D22 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
    min-width: 200px;
}

.donation-submit-btn:hover {
    background: linear-gradient(135deg, #1E3D22 0%, #2C5530 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 85, 48, 0.4);
}

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

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-note {
    color: #2C1810;
    font-size: 13px;
    margin: 0;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.link-more {
    color: #1E3D22;
    text-decoration: underline;
    font-weight: 600;
}

.link-more:hover {
    color: #2C5530;
}

/* Message Styles */
.donation-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
}

.donation-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 2px solid #66BB6A;
}

.donation-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 2px solid #EF5350;
}

/* Responsive Design */
@media (max-width: 992px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .donation-form-wrapper {
        padding: 30px 20px;
    }

    .donation-form-title {
        font-size: 24px;
    }
}

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

    .donation-form-wrapper {
        padding: 20px 15px;
    }

    .donation-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .donation-submit-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Loading State */
.donation-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.donation-submit-btn.loading::after {
    content: "...";
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}
