/* KUNSTPATE CHARITY SUGGESTIONS CSS */
/* Version: 1.0 */

.kp-charity-suggestions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.kp-charity-suggestions-header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.kp-charity-suggestions-header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
}

.kp-suggestions-filter {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kp-suggestions-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.kp-suggestions-filter select:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 2px rgba(255, 154, 158, 0.2);
}

.kp-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kp-suggestion-item {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kp-suggestion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.kp-suggestion-item h4 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.kp-suggestion-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.kp-suggestion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.kp-suggestion-category {
    background: #ff9a9e;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.kp-suggestion-votes {
    color: #666;
    font-size: 0.9em;
    font-weight: 600;
}

.kp-suggestion-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.kp-vote-suggestion {
    background: #ff9a9e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.kp-vote-suggestion:hover {
    background: #ff8a8e;
}

.kp-vote-suggestion.voted {
    background: #28a745;
}

.kp-vote-suggestion.voted:hover {
    background: #218838;
}

.kp-load-more-suggestions {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
}

.kp-load-more-suggestions:hover {
    background: #5a6268;
}

.kp-submit-suggestion-form {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.kp-submit-suggestion-form h4 {
    margin-top: 0;
    color: #333;
    margin-bottom: 20px;
}

.kp-suggestion-form {
    display: grid;
    gap: 20px;
}

.kp-suggestion-form input,
.kp-suggestion-form textarea,
.kp-suggestion-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.kp-suggestion-form input:focus,
.kp-suggestion-form textarea:focus,
.kp-suggestion-form select:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 2px rgba(255, 154, 158, 0.2);
}

.kp-suggestion-form textarea {
    min-height: 100px;
    resize: vertical;
}

.kp-submit-suggestion {
    background: #ff9a9e;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    justify-self: start;
}

.kp-submit-suggestion:hover {
    background: #ff8a8e;
}

.kp-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.kp-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.kp-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

/* Category Colors */
.kp-suggestion-item[data-category="environment"] .kp-suggestion-category {
    background: #28a745;
}

.kp-suggestion-item[data-category="education"] .kp-suggestion-category {
    background: #007bff;
}

.kp-suggestion-item[data-category="health"] .kp-suggestion-category {
    background: #dc3545;
}

.kp-suggestion-item[data-category="social"] .kp-suggestion-category {
    background: #ffc107;
    color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kp-suggestions-grid {
        grid-template-columns: 1fr;
    }
    
    .kp-charity-suggestions-header h1 {
        font-size: 2em;
    }
    
    .kp-suggestion-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .kp-suggestion-actions {
        width: 100%;
        justify-content: flex-start;
    }
}




