/* ===== TASKS PAGE STYLES ===== */

.tasks-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Task Overview */
.task-overview {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.task-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.circle-num {
    font-size: 24px;
    font-weight: 700;
}

.circle-total {
    font-size: 14px;
    opacity: 0.7;
}

.task-overview-info {
    flex: 1;
}

.task-overview-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.task-overview-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.claim-all-btn {
    padding: 10px 16px;
    background: var(--warning-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.claim-all-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Task Section */
.task-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.task-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.task-card {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    gap: var(--spacing-md);
}

.task-card.completed {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(56, 239, 125, 0.3);
}

.task-card.weekly {
    flex-direction: column;
    align-items: stretch;
}

.task-status {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

.task-card.completed .task-status {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.task-details {
    flex: 1;
}

.task-details h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.task-details p {
    font-size: 11px;
    color: var(--text-muted);
}

.task-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.task-progress-bar .progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.task-reward-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 12px;
}

.task-reward-badge .claimed {
    color: var(--success);
    font-weight: 600;
}

.task-reward-badge .progress-text {
    color: var(--accent);
    font-weight: 600;
}

.task-card.weekly .task-reward-badge {
    flex-direction: row;
    justify-content: space-between;
    margin-top: var(--spacing-sm);
}