* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #2c5530;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.donation-summary {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.amount-display {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.current-amount, .target-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background-color: #90ee90;
    border-radius: 6px;
    transition: width 0.3s ease;
    width: 60.9%;
}

.percentage {
    font-size: 1.2rem;
    font-weight: 600;
}

.description {
    padding: 25px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.description p {
    text-align: justify;
    color: #555;
    line-height: 1.7;
}

/* Donation Form */
.donation-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.donation-form h3 {
    color: #2c5530;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Quick Amount Buttons */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-amount {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #2c5530;
}

.quick-amount:hover {
    border-color: #4CAF50;
    background: #f8f9fa;
}

.quick-amount.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Payment Info */
.payment-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-info p {
    margin: 5px 0;
    color: #666;
}

/* Donate Button */
.btn-donate {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-donate:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.donations-list {
    padding: 25px;
}

.donations-list h3 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 2px solid #2c5530;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 15px;
}

.donations-container {
    max-height: 400px;
    overflow-y: auto;
}

.donation-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.donation-item:hover {
    background-color: #f8f9fa;
}

.donation-item:last-child {
    border-bottom: none;
}

.donation-date {
    color: #666;
    font-size: 0.9rem;
}

.donation-name {
    font-weight: 500;
}

.donation-amount {
    font-weight: 600;
    color: #2c5530;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .amount-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .table-header,
    .donation-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .table-header {
        display: none;
    }
    
    .donation-item {
        background: #f8f9fa;
        margin-bottom: 10px;
        border-radius: 8px;
        padding: 15px;
        border: none;
    }
}

/* Scrollbar Styling */
.donations-container::-webkit-scrollbar {
    width: 6px;
}

.donations-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.donations-container::-webkit-scrollbar-thumb {
    background: #2c5530;
    border-radius: 3px;
}

.donations-container::-webkit-scrollbar-thumb:hover {
    background: #1e3a21;
}