/* Gamification Dashboard Styles */
.sms-gamification-dashboard {
    max-width: 800px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* User Card */
.sms-level-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e1e4e8;
}

.sms-level-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sms-level-badge {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(167, 119, 227, 0.4);
}

.sms-level-badge .level-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.sms-level-badge .level-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sms-user-info h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #333;
}

.sms-xp-text {
    color: #666;
    font-size: 14px;
}

/* Progress Bar */
.sms-progress-container {
    background: #f0f2f5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.sms-progress-bar {
    background: #e1e4e8;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.sms-progress-fill {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.sms-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

/* Rewards Info */
.sms-rewards-info {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.reward-item .dashicons {
    color: #a777e3;
}

/* Daily Tasks */
.sms-daily-tasks {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e4e8;
    margin-bottom: 30px;
}

.sms-daily-tasks h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 18px;
}

.sms-task-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.sms-task-item:hover {
    border-color: #a777e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sms-task-item.claimed {
    opacity: 0.7;
    background: #f9f9f9;
}

.task-icon {
    background: #f0f2f5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #555;
    flex-shrink: 0;
}

.task-details {
    flex-grow: 1;
    margin-right: 20px;
}

.task-details h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.task-progress-bar {
    background: #e1e4e8;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
    width: 100%;
    max-width: 200px;
}

.task-progress-fill {
    background: #4caf50;
    height: 100%;
    border-radius: 3px;
}

.task-progress-text {
    font-size: 12px;
    color: #777;
}

.task-action .button {
    padding: 8px 16px;
    font-size: 14px;
}

.reward-badge {
    background: #fff8e1;
    color: #f39c12;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid #ffe082;
}