/* Agri-Influencer Leaderboard Styles */

/* Submission Form */
.ail-submission-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}
.ail-form-group {
    margin-bottom: 15px;
}
.ail-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.ail-form-group input,
.ail-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.ail-submit-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.ail-submit-btn:hover {
    background: #135e96;
}
.ail-success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Leaderboard */
.ail-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ail-tip-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ail-tip-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    min-width: 60px;
}
.ail-vote-btn {
    background: #f0f0f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
}
.ail-vote-btn:hover {
    background: #e0e0e0;
}
.ail-vote-btn.voted {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    cursor: default;
}
.ail-vote-count {
    font-weight: bold;
    font-size: 18px;
    margin-top: 2px;
}
.ail-tip-content {
    flex: 1;
}
.ail-tip-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}
.ail-tip-body {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.ail-tip-meta {
    font-size: 12px;
    color: #888;
}
