/* Fundraising Challenge - Donation Form Styles */

.fundraising-donation-form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

/* Donation Amount Section */
.donation-amount-section {
    margin-bottom: 20px;
}

.donation-amount-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.suggested-amounts {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.suggested-amount-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.suggested-amount-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.suggested-amount-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.custom-amount {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

#donation-amount {
    width: 100%;
    padding: 12px 15px 12px 35px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.donation-limits {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0 0;
}

/* Participant Selection Section */
.participant-selection-section {
    margin-bottom: 20px;
}

.participant-selection-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

#participant-search {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

#participant-results {
    margin-top: 10px;
}

.participant-results-list {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.participant-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}

.participant-result:last-child {
    border-bottom: none;
}

.participant-result:hover {
    background: #f5f5f5;
}

.participant-result.selected {
    background: #e7f3ff;
    border-left: 3px solid #0073aa;
}

.participant-info {
    flex: 1;
}

.participant-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.participant-code {
    font-size: 13px;
    color: #666;
    font-family: monospace;
}

.participant-total {
    font-weight: bold;
    font-size: 16px;
    color: #0073aa;
}

.selected-participant-display {
    padding: 12px 15px;
    background: #e7f3ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
    margin-top: 10px;
}

.no-results,
.searching,
.error {
    padding: 15px;
    text-align: center;
    color: #666;
}

/* Donor Message Section */
.donor-message-section {
    margin-bottom: 20px;
}

.donor-message-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

#donor-message {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 2px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 600px) {
    .suggested-amounts {
        flex-direction: column;
    }
    
    .suggested-amount-btn {
        width: 100%;
    }
}
